From 70bc129b56b7f38b7bfe7fca120d72bea71fd439 Mon Sep 17 00:00:00 2001 From: Ying-Chieh Liao Date: Sat, 18 Aug 2001 09:07:51 +0000 Subject: add cthumb cthumb - a themable web picture album generator PR: 29333 Submitted by: Dominic Mitchell --- graphics/Makefile | 1 + graphics/cthumb/Makefile | 69 +++++++++++++++++++++ graphics/cthumb/distinfo | 1 + graphics/cthumb/pkg-comment | 1 + graphics/cthumb/pkg-descr | 15 +++++ graphics/cthumb/pkg-plist | 143 ++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 230 insertions(+) create mode 100644 graphics/cthumb/Makefile create mode 100644 graphics/cthumb/distinfo create mode 100644 graphics/cthumb/pkg-comment create mode 100644 graphics/cthumb/pkg-descr create mode 100644 graphics/cthumb/pkg-plist (limited to 'graphics') diff --git a/graphics/Makefile b/graphics/Makefile index b0ccd49c0407..98b464d5ec81 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -20,6 +20,7 @@ SUBDIR += camserv SUBDIR += chbg SUBDIR += cqcam + SUBDIR += cthumb SUBDIR += dc20ctrl SUBDIR += dc20pack SUBDIR += dc3play diff --git a/graphics/cthumb/Makefile b/graphics/cthumb/Makefile new file mode 100644 index 000000000000..538dd1168c85 --- /dev/null +++ b/graphics/cthumb/Makefile @@ -0,0 +1,69 @@ +# New ports collection makefile for: cthumb +# Date created: 30 July 2001 +# Whom: dom@happygiraffe.net +# +# $FreeBSD$ +# + +PORTNAME= cthumb +PORTVERSION= 3.4 +CATEGORIES= graphics www +MASTER_SITES= http://puchol.com/cpg/software/cthumb/ + +MAINTAINER= dom@happygiraffe.net + +RUN_DEPENDS= ${LOCALBASE}/bin/pnmscale:${PORTSDIR}/graphics/netpbm \ + ${LOCALBASE}/bin/djpeg:${PORTSDIR}/graphics/jpeg \ + ${SITE_PERL_ARCH}/HTML/Entities.pm:${PORTSDIR}/www/p5-HTML-Parser \ + ${SITE_PERL}/URI/Escape.pm:${PORTSDIR}/net/p5-URI + +SITE_PERL= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER} +SITE_PERL_ARCH= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH} + +GNU_CONFIGURE= yes + +MAN1= cthumb.1 + +THEMES= blue-steel.theme \ + classic-clips.theme \ + classic.theme \ + crosshair.theme \ + film.theme \ + float-medium.theme \ + float-more.theme \ + float-thick.theme \ + float.theme \ + neat-round.theme \ + neat-square.theme \ + postcard.theme \ + shiny-tube.theme \ + simpleframe.theme \ + slides-big.theme \ + slides-clean.theme \ + slides-huge.theme \ + slides-small.theme \ + tv-large.theme \ + tv.theme + +post-configure: + @${PERL} -pi \ + -e 's|${PREFIX}/share/images/cthumb|${DATADIR}|g;' \ + -e 's|cp -a|cp -R|g;' \ + ${WRKSRC}/cthumb + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/cthumb ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/cthumb.1 ${PREFIX}/man/man1 + ${MKDIR} ${DATADIR} +.for theme in ${THEMES} + ${MKDIR} ${DATADIR}/${theme} + ${INSTALL_DATA} ${WRKSRC}/themes/${theme}/* ${DATADIR}/${theme} +.endfor +.if !defined(NOPRTDOCS) + ${MKDIR} ${DOCSDIR} +.for doc in ChangeLog INSTALL README TO-DO VERSION cthumbrc.sample + ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR} +.endfor +.endif + +.include diff --git a/graphics/cthumb/distinfo b/graphics/cthumb/distinfo new file mode 100644 index 000000000000..3024bb222839 --- /dev/null +++ b/graphics/cthumb/distinfo @@ -0,0 +1 @@ +MD5 (cthumb-3.4.tar.gz) = eb4399d9f28a58dfda3009cfacc8bb40 diff --git a/graphics/cthumb/pkg-comment b/graphics/cthumb/pkg-comment new file mode 100644 index 000000000000..c7f0a3f41ba7 --- /dev/null +++ b/graphics/cthumb/pkg-comment @@ -0,0 +1 @@ +cthumb - a themable web picture album generator diff --git a/graphics/cthumb/pkg-descr b/graphics/cthumb/pkg-descr new file mode 100644 index 000000000000..0136c6025aba --- /dev/null +++ b/graphics/cthumb/pkg-descr @@ -0,0 +1,15 @@ +cthumb - a themable web picture album generator + +cthumb is a command-line program that allows you to create an web +picture album, with an index and several pages, each with thumbnails of +your pictures. It optionally generates otherwise identical pages but in +several languages, simultaneously. It automatically generates thumbnails +of the pictures. It attempts to be nice in the look of the pages it +generates. + +It is geared towards people that have ton of digital images that need to +be labeled, grouped, captioned and sorted out. All you need is the +pictures and a text editor to put all the captions for the picture in a +simple "album" textfile. + +WWW: http://puchol.com/cpg/software/cthumb diff --git a/graphics/cthumb/pkg-plist b/graphics/cthumb/pkg-plist new file mode 100644 index 000000000000..c2b809da234a --- /dev/null +++ b/graphics/cthumb/pkg-plist @@ -0,0 +1,143 @@ +bin/cthumb +share/cthumb/blue-steel.theme/theme.conf +share/cthumb/blue-steel.theme/top.png +share/cthumb/blue-steel.theme/bot.png +share/cthumb/blue-steel.theme/left.png +share/cthumb/blue-steel.theme/right.png +share/cthumb/classic-clips.theme/theme.conf +share/cthumb/classic-clips.theme/top.png +share/cthumb/classic-clips.theme/bot.png +share/cthumb/classic-clips.theme/left.png +share/cthumb/classic-clips.theme/right.png +share/cthumb/classic.theme/theme.conf +share/cthumb/classic.theme/top.png +share/cthumb/classic.theme/bot.png +share/cthumb/classic.theme/left.png +share/cthumb/classic.theme/right.png +share/cthumb/crosshair.theme/theme.conf +share/cthumb/crosshair.theme/top.png +share/cthumb/crosshair.theme/bot.png +share/cthumb/crosshair.theme/left.png +share/cthumb/crosshair.theme/right.png +share/cthumb/film.theme/top-1.png +share/cthumb/film.theme/top-2.png +share/cthumb/film.theme/top-3.png +share/cthumb/film.theme/top-4.png +share/cthumb/film.theme/top-5.png +share/cthumb/film.theme/top-6.png +share/cthumb/film.theme/top-7.png +share/cthumb/film.theme/top-8.png +share/cthumb/film.theme/top-9.png +share/cthumb/film.theme/bot-1.png +share/cthumb/film.theme/bot-2.png +share/cthumb/film.theme/bot-3.png +share/cthumb/film.theme/bot-4.png +share/cthumb/film.theme/bot-5.png +share/cthumb/film.theme/bot-6.png +share/cthumb/film.theme/bot-7.png +share/cthumb/film.theme/bot-8.png +share/cthumb/film.theme/bot-9.png +share/cthumb/film.theme/theme.conf +share/cthumb/float-medium.theme/theme.conf +share/cthumb/float-medium.theme/top.png +share/cthumb/float-medium.theme/bot.png +share/cthumb/float-medium.theme/left.png +share/cthumb/float-medium.theme/right.png +share/cthumb/float-more.theme/top.png +share/cthumb/float-more.theme/bot.png +share/cthumb/float-more.theme/left.png +share/cthumb/float-more.theme/right.png +share/cthumb/float-more.theme/theme.conf +share/cthumb/float-thick.theme/top.png +share/cthumb/float-thick.theme/bot.png +share/cthumb/float-thick.theme/left.png +share/cthumb/float-thick.theme/right.png +share/cthumb/float-thick.theme/theme.conf +share/cthumb/float.theme/top.png +share/cthumb/float.theme/bot.png +share/cthumb/float.theme/left.png +share/cthumb/float.theme/right.png +share/cthumb/float.theme/theme.conf +share/cthumb/neat-round.theme/bot.png +share/cthumb/neat-round.theme/left.png +share/cthumb/neat-round.theme/right.png +share/cthumb/neat-round.theme/theme.conf +share/cthumb/neat-round.theme/top.png +share/cthumb/neat-square.theme/bot.png +share/cthumb/neat-square.theme/left.png +share/cthumb/neat-square.theme/right.png +share/cthumb/neat-square.theme/theme.conf +share/cthumb/neat-square.theme/top.png +share/cthumb/postcard.theme/theme.conf +share/cthumb/postcard.theme/top.png +share/cthumb/postcard.theme/bot.png +share/cthumb/postcard.theme/left.png +share/cthumb/postcard.theme/right.png +share/cthumb/shiny-tube.theme/top.png +share/cthumb/shiny-tube.theme/bot.png +share/cthumb/shiny-tube.theme/left.png +share/cthumb/shiny-tube.theme/right.png +share/cthumb/shiny-tube.theme/theme.conf +share/cthumb/simpleframe.theme/theme.conf +share/cthumb/simpleframe.theme/top.png +share/cthumb/simpleframe.theme/bot.png +share/cthumb/simpleframe.theme/left.png +share/cthumb/simpleframe.theme/right.png +share/cthumb/slides-big.theme/bot.png +share/cthumb/slides-big.theme/left.png +share/cthumb/slides-big.theme/right.png +share/cthumb/slides-big.theme/theme.conf +share/cthumb/slides-big.theme/top.png +share/cthumb/slides-clean.theme/bot.png +share/cthumb/slides-clean.theme/left.png +share/cthumb/slides-clean.theme/right.png +share/cthumb/slides-clean.theme/theme.conf +share/cthumb/slides-clean.theme/top.png +share/cthumb/slides-huge.theme/top.png +share/cthumb/slides-huge.theme/bot.png +share/cthumb/slides-huge.theme/left.png +share/cthumb/slides-huge.theme/right.png +share/cthumb/slides-huge.theme/theme.conf +share/cthumb/slides-small.theme/top.png +share/cthumb/slides-small.theme/bot.png +share/cthumb/slides-small.theme/left.png +share/cthumb/slides-small.theme/right.png +share/cthumb/slides-small.theme/theme.conf +share/cthumb/tv-large.theme/theme.conf +share/cthumb/tv-large.theme/top.png +share/cthumb/tv-large.theme/bot.png +share/cthumb/tv-large.theme/left.png +share/cthumb/tv-large.theme/right.png +share/cthumb/tv.theme/theme.conf +share/cthumb/tv.theme/top.png +share/cthumb/tv.theme/bot.png +share/cthumb/tv.theme/left.png +share/cthumb/tv.theme/right.png +share/doc/cthumb/ChangeLog +share/doc/cthumb/INSTALL +share/doc/cthumb/README +share/doc/cthumb/TO-DO +share/doc/cthumb/VERSION +share/doc/cthumb/cthumbrc.sample +@dirrm share/cthumb/blue-steel.theme +@dirrm share/cthumb/classic-clips.theme +@dirrm share/cthumb/classic.theme +@dirrm share/cthumb/crosshair.theme +@dirrm share/cthumb/film.theme +@dirrm share/cthumb/float-medium.theme +@dirrm share/cthumb/float-more.theme +@dirrm share/cthumb/float-thick.theme +@dirrm share/cthumb/float.theme +@dirrm share/cthumb/neat-round.theme +@dirrm share/cthumb/neat-square.theme +@dirrm share/cthumb/postcard.theme +@dirrm share/cthumb/shiny-tube.theme +@dirrm share/cthumb/simpleframe.theme +@dirrm share/cthumb/slides-big.theme +@dirrm share/cthumb/slides-clean.theme +@dirrm share/cthumb/slides-huge.theme +@dirrm share/cthumb/slides-small.theme +@dirrm share/cthumb/tv-large.theme +@dirrm share/cthumb/tv.theme +@dirrm share/cthumb +@dirrm share/doc/cthumb -- cgit v1.2.3