svn commit: r397391 - head/net/cvsync
Dmitry Marakasov
amdmi3 at FreeBSD.org
Sun Sep 20 19:24:36 UTC 2015
Author: amdmi3
Date: Sun Sep 20 19:24:35 2015
New Revision: 397391
URL: https://svnweb.freebsd.org/changeset/ports/397391
Log:
- Switch to options helpers
Approved by: portmgr blanket
Modified:
head/net/cvsync/Makefile
Modified: head/net/cvsync/Makefile
==============================================================================
--- head/net/cvsync/Makefile Sun Sep 20 19:23:55 2015 (r397390)
+++ head/net/cvsync/Makefile Sun Sep 20 19:24:35 2015 (r397391)
@@ -30,16 +30,12 @@ MAKE_FLAGS= OSVER="${OSVERSION}" HASH_TY
OPTIONS_DEFINE= DOCS EXAMPLES
-.include <bsd.port.options.mk>
-
-post-install:
-.if ${PORT_OPTIONS:MEXAMPLES}
+post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC}/samples && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
-.endif
-.if ${PORT_OPTIONS:MDOCS}
+
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/doc && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
-.endif
.include <bsd.port.mk>
More information about the svn-ports-head
mailing list