svn commit: r404065 - head/misc/boxes
Dmitry Marakasov
amdmi3 at FreeBSD.org
Sun Dec 20 16:59:50 UTC 2015
Author: amdmi3
Date: Sun Dec 20 16:59:49 2015
New Revision: 404065
URL: https://svnweb.freebsd.org/changeset/ports/404065
Log:
- Switch to options helpers
Modified:
head/misc/boxes/Makefile
Modified: head/misc/boxes/Makefile
==============================================================================
--- head/misc/boxes/Makefile Sun Dec 20 16:59:26 2015 (r404064)
+++ head/misc/boxes/Makefile Sun Dec 20 16:59:49 2015 (r404065)
@@ -29,6 +29,8 @@ PLIST_FILES= bin/${PORTNAME} \
PORTDOCS= README
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${RM} ${WRKSRC}/src/${PORTNAME}.h ${WRKSRC}/doc/${PORTNAME}.1
@@ -39,6 +41,7 @@ do-install:
${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 \
${STAGEDIR}${MAN1PREFIX}/man/man1/
+do-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
More information about the svn-ports-head
mailing list