diff options
author | danilo <danilo@FreeBSD.org> | 2014-10-12 15:43:46 +0000 |
---|---|---|
committer | danilo <danilo@FreeBSD.org> | 2014-10-12 15:43:46 +0000 |
commit | ffeadbdbe876e9ecae2c981a5a1563b2f3ef784f (patch) | |
tree | 42f0c9dac148db08fd5e80607ed7a5e1edb0b8ba | |
parent | b70c14b5ac6ee56c071fb3dba67dfff8d3531ff3 (diff) | |
download | FreeBSD-ports-ffeadbdbe876e9ecae2c981a5a1563b2f3ef784f.zip FreeBSD-ports-ffeadbdbe876e9ecae2c981a5a1563b2f3ef784f.tar.gz |
- Use options helpers
-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 7ddfd21..e169f07 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> |