diff options
author | danilo <danilo@FreeBSD.org> | 2014-10-12 23:43:46 +0800 |
---|---|---|
committer | danilo <danilo@FreeBSD.org> | 2014-10-12 23:43:46 +0800 |
commit | ffeadbdbe876e9ecae2c981a5a1563b2f3ef784f (patch) | |
tree | 42f0c9dac148db08fd5e80607ed7a5e1edb0b8ba /dns | |
parent | b70c14b5ac6ee56c071fb3dba67dfff8d3531ff3 (diff) | |
download | freebsd-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/Makefile | 11 |
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> |