aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2017-08-20 00:53:30 +0800
committersunpoet <sunpoet@FreeBSD.org>2017-08-20 00:53:30 +0800
commit68e0513528e13dec90c42fb318bfd5a63ed286d4 (patch)
treec9482e0a5cb85ed594a5c0d390adbb5007aa1d05 /www
parent17f66d8afccbaf58d10ba079be978d2631e3c687 (diff)
downloadfreebsd-ports-gnome-68e0513528e13dec90c42fb318bfd5a63ed286d4.tar.gz
freebsd-ports-gnome-68e0513528e13dec90c42fb318bfd5a63ed286d4.tar.zst
freebsd-ports-gnome-68e0513528e13dec90c42fb318bfd5a63ed286d4.zip
Convert to options target helper
Approved by: portmgr (blanket)
Diffstat (limited to 'www')
-rw-r--r--www/py-nevow/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/www/py-nevow/Makefile b/www/py-nevow/Makefile
index 0d4318b9dc81..5877a149ab30 100644
--- a/www/py-nevow/Makefile
+++ b/www/py-nevow/Makefile
@@ -26,9 +26,11 @@ EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
OPTIONS_DEFINE= DOCS EXAMPLES
-post-install:
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
+
+post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
@cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}