aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-09-21 03:22:12 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-09-21 03:22:12 +0800
commit93b5f2186717f2e4bb5933ff9f0569c621c2a9ae (patch)
treefab6b5c237d634a0a53423385d450052e423c525 /net
parente9c9a12d9a89ef50228854666111c431dc1fd7e3 (diff)
downloadfreebsd-ports-gnome-93b5f2186717f2e4bb5933ff9f0569c621c2a9ae.tar.gz
freebsd-ports-gnome-93b5f2186717f2e4bb5933ff9f0569c621c2a9ae.tar.zst
freebsd-ports-gnome-93b5f2186717f2e4bb5933ff9f0569c621c2a9ae.zip
- Switch to options helpers
Approved by: portmgr blanket
Diffstat (limited to 'net')
-rw-r--r--net/py-pcs/Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/net/py-pcs/Makefile b/net/py-pcs/Makefile
index 4de89b398f9d..4b6c3bf4c76e 100644
--- a/net/py-pcs/Makefile
+++ b/net/py-pcs/Makefile
@@ -22,17 +22,12 @@ USE_PYTHON= distutils pythonprefix
OPTIONS_DEFINE= DOCS EXAMPLES
-.include <bsd.port.options.mk>
-
-post-install:
-.if ${PORT_OPTIONS:MDOCS}
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/docs/Web && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
-.endif
-.if ${PORT_OPTIONS:MEXAMPLES}
+post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC}/scripts && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
-.endif
.include <bsd.port.mk>