aboutsummaryrefslogtreecommitdiffstats
path: root/devel/edb
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-09-02 00:20:47 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-09-02 00:20:47 +0800
commit5c458795d4b6715d3f8c294294994064e024a0fd (patch)
tree48fdd1f0d0902abb3a399e525fb6d85182e9d9ab /devel/edb
parent252b575fc1cba42e27e6b67c644ea9e61fa2565e (diff)
downloadfreebsd-ports-gnome-5c458795d4b6715d3f8c294294994064e024a0fd.tar.gz
freebsd-ports-gnome-5c458795d4b6715d3f8c294294994064e024a0fd.tar.zst
freebsd-ports-gnome-5c458795d4b6715d3f8c294294994064e024a0fd.zip
- Switch to options helpers
- While here, add some NO_ARCHes Approved by: portmgr blanket
Diffstat (limited to 'devel/edb')
-rw-r--r--devel/edb/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/devel/edb/Makefile b/devel/edb/Makefile
index 9613694af5a0..6fb6e03f5f7f 100644
--- a/devel/edb/Makefile
+++ b/devel/edb/Makefile
@@ -28,16 +28,14 @@ STRIP_FILES= bin/${PORTNAME} libexec/${PORTNAME}/*.so
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
post-install:
-.if ${PORT_OPTIONS:MDOCS}
- (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
-.endif
${INSTALL_DATA} ${WRKSRC}/edb.desktop ${STAGEDIR}${PREFIX}/share/applications
${INSTALL_DATA} ${WRKSRC}/src/images/edb48-logo.png ${STAGEDIR}${PREFIX}/share/pixmaps/edb.png
${INSTALL_MAN} ${WRKSRC}/edb.1 ${STAGEDIR}${MANPREFIX}/man/man1/edb.1
(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
${STRIP_CMD} ${STRIP_FILES:S,^,${STAGEDIR}${PREFIX}/,}
+post-install-DOCS-on:
+ (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
+
.include <bsd.port.mk>