aboutsummaryrefslogtreecommitdiffstats
path: root/math/pspp
diff options
context:
space:
mode:
authorcpm <cpm@FreeBSD.org>2016-04-04 08:55:33 +0800
committercpm <cpm@FreeBSD.org>2016-04-04 08:55:33 +0800
commit976d6ba8afe66abe6d7c7a865e4f5560d3d19376 (patch)
tree92aebe76a50eaebcb55cd88a54ab2c78300884ef /math/pspp
parentb254b70684b7cc8ea5b093abd588bb931e2e4b22 (diff)
downloadfreebsd-ports-gnome-976d6ba8afe66abe6d7c7a865e4f5560d3d19376.tar.gz
freebsd-ports-gnome-976d6ba8afe66abe6d7c7a865e4f5560d3d19376.tar.zst
freebsd-ports-gnome-976d6ba8afe66abe6d7c7a865e4f5560d3d19376.zip
- Use post-install-DOCS-on target
- Use post-install-EXAMPLES-on target Approved by: junovitch (mentor)
Diffstat (limited to 'math/pspp')
-rw-r--r--math/pspp/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/math/pspp/Makefile b/math/pspp/Makefile
index 0660ab254cd8..2e803b58b98d 100644
--- a/math/pspp/Makefile
+++ b/math/pspp/Makefile
@@ -63,14 +63,13 @@ post-install:
.if ${PORT_OPTIONS:MGUI}
${RM} -r ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/mimetypes
.endif
-.if ${PORT_OPTIONS:MDOCS}
+
+post-install-DOCS-on:
(cd ${WRKSRC} && ${COPYTREE_SHARE} \
"${PORTDOCS}" ${STAGEDIR}${DOCSDIR})
-.endif
-.if ${PORT_OPTIONS:MEXAMPLES}
+post-install-EXAMPLES-on:
(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \
"${PORTEXAMPLES}" ${STAGEDIR}${EXAMPLESDIR})
-.endif
.include <bsd.port.mk>