aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-12-11 05:29:07 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-12-11 05:29:07 +0800
commita173c1021764f361753848e30016a5029457571a (patch)
tree5e27781eb421e87a13ac610fe336eafc0c2ae500 /databases
parentd277669fdf47514ce7553c7a38d29289a72f3525 (diff)
downloadfreebsd-ports-gnome-a173c1021764f361753848e30016a5029457571a.tar.gz
freebsd-ports-gnome-a173c1021764f361753848e30016a5029457571a.tar.zst
freebsd-ports-gnome-a173c1021764f361753848e30016a5029457571a.zip
- Add NO_ARCH
- Switch to options helpers - Unsilence installation
Diffstat (limited to 'databases')
-rw-r--r--databases/gadfly/Makefile21
1 files changed, 9 insertions, 12 deletions
diff --git a/databases/gadfly/Makefile b/databases/gadfly/Makefile
index 86f9b79a0a33..779e03be3ea9 100644
--- a/databases/gadfly/Makefile
+++ b/databases/gadfly/Makefile
@@ -14,23 +14,20 @@ RUN_DEPENDS= ${PYTHON_SITELIBDIR}/kjbuckets.so:${PORTSDIR}/devel/py-kjbuckets
USES= python:2
USE_PYTHON= distutils autoplist
+NO_ARCH= yes
OPTIONS_DEFINE= DOCS EXAMPLES
-.include <bsd.port.options.mk>
-
-post-install:
-.if ${PORT_OPTIONS:MDOCS}
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/COPYRIGHT.txt ${STAGEDIR}${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/CHANGES.txt ${STAGEDIR}${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${STAGEDIR}${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/doc/build_html.py ${STAGEDIR}${DOCSDIR}
-.endif
-.if ${PORT_OPTIONS:MEXAMPLES}
+ ${INSTALL_DATA} ${WRKSRC}/COPYRIGHT.txt ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/CHANGES.txt ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/build_html.py ${STAGEDIR}${DOCSDIR}
+
+post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/kjParsing
- @${INSTALL_DATA} ${WRKSRC}/doc/demo/kjParsing/*.py \
+ ${INSTALL_DATA} ${WRKSRC}/doc/demo/kjParsing/*.py \
${STAGEDIR}${EXAMPLESDIR}/kjParsing
-.endif
.include <bsd.port.mk>