diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2004-02-28 21:36:42 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2004-02-28 21:36:42 +0000 |
commit | a64c5416956865fdbb0454841804e3ed97d09e91 (patch) | |
tree | c7f246893ba0d02345520a81a56f21d607463331 /graphics/cthumb/Makefile | |
parent | 74350bd44408298c91f6f2592b17cf9310316a04 (diff) |
Notes
Diffstat (limited to 'graphics/cthumb/Makefile')
-rw-r--r-- | graphics/cthumb/Makefile | 24 |
1 files changed, 10 insertions, 14 deletions
diff --git a/graphics/cthumb/Makefile b/graphics/cthumb/Makefile index 20e158db42ae..20e1d39af646 100644 --- a/graphics/cthumb/Makefile +++ b/graphics/cthumb/Makefile @@ -6,25 +6,26 @@ # PORTNAME= cthumb -PORTVERSION= 4.1 +PORTVERSION= 4.2 CATEGORIES= graphics www -MASTER_SITES= http://puchol.com/cpg/software/cthumb/ +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= cthumb MAINTAINER= dom@happygiraffe.net -COMMENT= cthumb - a themable web picture album generator +COMMENT= A themable web picture album generator 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}/${PERL_ARCH}/HTML/Entities.pm:${PORTSDIR}/www/p5-HTML-Parser \ ${SITE_PERL}/URI/Escape.pm:${PORTSDIR}/net/p5-URI -SITE_PERL_ARCH= ${SITE_PERL}/${PERL_ARCH} - GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-themedir=${PREFIX}/share/${PORTNAME} +CONFIGURE_ARGS= --with-themedir=${DATADIR} MAN1= cthumb.1 +PORTDOCS= ChangeLog INSTALL README TO-DO VERSION cthumbrc.sample + THEMES= blue-steel.theme \ classic-clips.theme \ classic.theme \ @@ -50,11 +51,6 @@ THEMES= blue-steel.theme \ tv-large.theme \ tv.theme -post-configure: - @${PERL} -pi \ - -e 's|cp -r|cp -Rf|g;' \ - ${WRKSRC}/cthumb - do-install: ${INSTALL_SCRIPT} ${WRKSRC}/cthumb ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/cthumb.1 ${PREFIX}/man/man1 @@ -63,9 +59,9 @@ do-install: ${MKDIR} ${DATADIR}/${theme} ${INSTALL_DATA} ${WRKSRC}/themes/${theme}/* ${DATADIR}/${theme} .endfor -.if !defined(NOPRTDOCS) +.if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} -.for doc in ChangeLog INSTALL README TO-DO VERSION cthumbrc.sample +.for doc in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR} .endfor .endif |