svn commit: r341313 - head/devel/re2c
Baptiste Daroussin
bapt at FreeBSD.org
Sun Jan 26 23:54:00 UTC 2014
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>
More information about the svn-ports-all
mailing list