aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-09-24 21:19:28 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-09-24 21:19:28 +0000
commitc8bc06545fc381196c3e4997641edfb23409682a (patch)
treee4e80a5f8b127dee50d40fbf3a870ea60742f288
parentbadcf22cddfacf3df091cf223d5e158927e8f7ae (diff)
downloadports-c8bc06545fc381196c3e4997641edfb23409682a.tar.gz
ports-c8bc06545fc381196c3e4997641edfb23409682a.zip
Notes
-rw-r--r--net/packetdrill/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/net/packetdrill/Makefile b/net/packetdrill/Makefile
index 0a64826b6de6..7a77221bfaf3 100644
--- a/net/packetdrill/Makefile
+++ b/net/packetdrill/Makefile
@@ -17,9 +17,6 @@ PORTDOCS= README
PORTEXAMPLES= tests
OPTIONS_DEFINE= DOCS EXAMPLES
-OPTIONS_DEFAULT=DOCS EXAMPLES
-
-.include <bsd.port.options.mk>
do-configure:
${PRINTF} "%s\n" "#include <stdio.h>" "int main(void) {" \
@@ -43,14 +40,14 @@ post-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
cd ${WRKSRC}/contrib && ${INSTALL_DATA} ${PORTDATA} \
${STAGEDIR}${DATADIR}
-.if ${PORT_OPTIONS:MEXAMPLES}
+
+post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC} && ${COPYTREE_SHARE} ${PORTEXAMPLES} \
${STAGEDIR}${EXAMPLESDIR}
-.endif
-.if ${PORT_OPTIONS:MDOCS}
+
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
-.endif
.include <bsd.port.mk>