Date: Sat, 25 Jan 2014 21:34:36 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r341113 - head/graphics/imc Message-ID: <201401252134.s0PLYaNj086669@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Sat Jan 25 21:34:35 2014 New Revision: 341113 URL: http://svnweb.freebsd.org/changeset/ports/341113 QAT: https://qat.redports.org/buildarchive/r341113/ Log: Support stage Add DOCS and EXAMPLES options USE_GMAKE -> USES=gmake Modified: head/graphics/imc/Makefile Modified: head/graphics/imc/Makefile ============================================================================== --- head/graphics/imc/Makefile Sat Jan 25 21:26:25 2014 (r341112) +++ head/graphics/imc/Makefile Sat Jan 25 21:34:35 2014 (r341113) @@ -10,18 +10,19 @@ MASTER_SITES= http://www.peterverthez.ne MAINTAINER= ports@FreeBSD.org COMMENT= Image Compiler +OPTIONS_DEFINE= DOCS EXAMPLES + LICENSE= GPLv2 BUILD_DEPENDS= p5-GD>=0:${PORTSDIR}/graphics/p5-GD \ p5-CGI.pm>=0:${PORTSDIR}/www/p5-CGI.pm RUN_DEPENDS:= ${BUILD_DEPENDS} -USES= perl5 +USES= gmake perl5 GNU_CONFIGURE= yes -USE_GMAKE= yes -PLIST_FILES= bin/${PORTNAME} -MAN1= ${PORTNAME}.1 +PLIST_FILES= bin/${PORTNAME} \ + man/man1/${PORTNAME}.1.gz PORTDOCS= * @@ -34,19 +35,12 @@ DOC_FILES2= *.html *.ref *.txt PORTEXAMPLES= * -NO_STAGE= yes -.include <bsd.port.options.mk> - post-install: -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${DOCSDIR} - ${MKDIR} ${DOCSDIR2} - ${INSTALL_DATA} ${DOC_FILES2:S|^|${DOCSRCDIR2}/|} ${DOCSDIR2} -.endif -.if ${PORT_OPTIONS:MEXAMPLES} - @${MKDIR} ${EXAMPLESDIR} - @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${EXAMPLESDIR}) -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${STAGEDIR}${DOCSDIR} + ${MKDIR} ${STAGEDIR}${DOCSDIR2} + ${INSTALL_DATA} ${DOC_FILES2:S|^|${DOCSRCDIR2}/|} ${STAGEDIR}${DOCSDIR2} + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401252134.s0PLYaNj086669>