aboutsummaryrefslogtreecommitdiffstats
path: root/dns
diff options
context:
space:
mode:
authordanilo <danilo@FreeBSD.org>2014-10-12 23:43:46 +0800
committerdanilo <danilo@FreeBSD.org>2014-10-12 23:43:46 +0800
commitffeadbdbe876e9ecae2c981a5a1563b2f3ef784f (patch)
tree42f0c9dac148db08fd5e80607ed7a5e1edb0b8ba /dns
parentb70c14b5ac6ee56c071fb3dba67dfff8d3531ff3 (diff)
downloadfreebsd-ports-gnome-ffeadbdbe876e9ecae2c981a5a1563b2f3ef784f.tar.gz
freebsd-ports-gnome-ffeadbdbe876e9ecae2c981a5a1563b2f3ef784f.tar.zst
freebsd-ports-gnome-ffeadbdbe876e9ecae2c981a5a1563b2f3ef784f.zip
- Use options helpers
Diffstat (limited to 'dns')
-rw-r--r--dns/dnsjava/Makefile11
1 files changed, 3 insertions, 8 deletions
diff --git a/dns/dnsjava/Makefile b/dns/dnsjava/Makefile
index 7ddfd21006ad..e169f074f304 100644
--- a/dns/dnsjava/Makefile
+++ b/dns/dnsjava/Makefile
@@ -18,12 +18,7 @@ OPTIONS_DEFINE= DOCS EXAMPLES
SAMPLE_FILES= examples.html USAGE dig.java jnamed.java lookup.java update.java
OTHERDOCS= README Changelog
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MDOCS}
-ALL_TARGET+= docs
-.endif
+DOCS_ALL_TARGET= docs
.include <bsd.port.pre.mk>
@@ -38,6 +33,8 @@ PLIST_SUB+= JDK8=""
PLIST_SUB+= JDK8="@comment "
.endif
+.include <bsd.port.options.mk>
+
do-install:
@${MKDIR} ${STAGEDIR}${JAVAJARDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-${PORTVERSION}.jar ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar
@@ -46,9 +43,7 @@ do-install:
${TAR} -C ${WRKSRC}/doc -cf - . | ${TAR} -C ${STAGEDIR}${DOCSDIR} -xf -
${INSTALL_DATA} ${OTHERDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/
.endif
-.if ${PORT_OPTIONS:MEXAMPLES}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${SAMPLE_FILES:S,^,${WRKSRC}/,} ${STAGEDIR}${EXAMPLESDIR}/
-.endif
.include <bsd.port.post.mk>