svn commit: r342354 - head/graphics/cthumb
Antoine Brodin
antoine at FreeBSD.org
Sun Feb 2 18:40:00 UTC 2014
Author: antoine
Date: Sun Feb 2 18:39:59 2014
New Revision: 342354
URL: http://svnweb.freebsd.org/changeset/ports/342354
QAT: https://qat.redports.org/buildarchive/r342354/
Log:
Stage support
Modified:
head/graphics/cthumb/Makefile
head/graphics/cthumb/pkg-plist
Modified: head/graphics/cthumb/Makefile
==============================================================================
--- head/graphics/cthumb/Makefile Sun Feb 2 18:24:01 2014 (r342353)
+++ head/graphics/cthumb/Makefile Sun Feb 2 18:39:59 2014 (r342354)
@@ -19,8 +19,7 @@ RUN_DEPENDS= ${LOCALBASE}/bin/pnmscale:$
USES= perl5
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-themedir=${DATADIR}
-
-MAN1= cthumb.1
+CONFIGURE_ENV= perl_path=${PERL}
PORTDOCS= ChangeLog INSTALL README TO-DO VERSION cthumbrc.sample
@@ -49,20 +48,19 @@ THEMES= blue-steel.theme \
tv-large.theme \
tv.theme
-NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/cthumb ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/cthumb.1 ${PREFIX}/man/man1
- ${MKDIR} ${DATADIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/cthumb ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/cthumb.1 ${STAGEDIR}${PREFIX}/man/man1
+ @${MKDIR} ${STAGEDIR}${DATADIR}
.for theme in ${THEMES}
- ${MKDIR} ${DATADIR}/${theme}
- ${INSTALL_DATA} ${WRKSRC}/themes/${theme}/* ${DATADIR}/${theme}
+ @${MKDIR} ${STAGEDIR}${DATADIR}/${theme}
+ ${INSTALL_DATA} ${WRKSRC}/themes/${theme}/* ${STAGEDIR}${DATADIR}/${theme}
.endfor
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for doc in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
.endfor
-.endif
.include <bsd.port.mk>
Modified: head/graphics/cthumb/pkg-plist
==============================================================================
--- head/graphics/cthumb/pkg-plist Sun Feb 2 18:24:01 2014 (r342353)
+++ head/graphics/cthumb/pkg-plist Sun Feb 2 18:39:59 2014 (r342354)
@@ -1,4 +1,5 @@
bin/cthumb
+man/man1/cthumb.1.gz
%%DATADIR%%/blue-steel.theme/1.gif
%%DATADIR%%/blue-steel.theme/back.png
%%DATADIR%%/blue-steel.theme/bot.png
More information about the svn-ports-all
mailing list