Date: Sun, 26 Jan 2014 23:53:59 +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: r341313 - head/devel/re2c Message-ID: <201401262353.s0QNrxil001864@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Sun Jan 26 23:53:59 2014 New Revision: 341313 URL: http://svnweb.freebsd.org/changeset/ports/341313 QAT: https://qat.redports.org/buildarchive/r341313/ Log: Support stage Add DOCS and EXAMPLES option Modified: head/devel/re2c/Makefile Modified: head/devel/re2c/Makefile ============================================================================== --- head/devel/re2c/Makefile Sun Jan 26 23:53:01 2014 (r341312) +++ head/devel/re2c/Makefile Sun Jan 26 23:53:59 2014 (r341313) @@ -13,21 +13,15 @@ OPTIONS_DEFINE= DOCS EXAMPLES GNU_CONFIGURE= yes -MAN1= re2c.1 -PLIST_FILES= bin/re2c +PLIST_FILES= bin/re2c \ + man/man1/re2c.1.gz PORTDOCS= * PORTEXAMPLES= * -NO_STAGE= yes -.include <bsd.port.options.mk> - post-install: -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR}/ - cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} . ${DOCSDIR}/ -.endif -.if ${PORT_OPTIONS:MEXAMPLES} - ${MKDIR} ${EXAMPLESDIR}/ - cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${EXAMPLESDIR}/ -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR}/ + cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/ + @${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?201401262353.s0QNrxil001864>