Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Oct 2014 15:43:47 +0000 (UTC)
From:      Danilo Egea Gondolfo <danilo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r370725 - head/dns/dnsjava
Message-ID:  <201410121543.s9CFhlJf019351@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danilo
Date: Sun Oct 12 15:43:46 2014
New Revision: 370725
URL: https://svnweb.freebsd.org/changeset/ports/370725
QAT: https://qat.redports.org/buildarchive/r370725/

Log:
  - Use options helpers

Modified:
  head/dns/dnsjava/Makefile

Modified: head/dns/dnsjava/Makefile
==============================================================================
--- head/dns/dnsjava/Makefile	Sun Oct 12 15:35:19 2014	(r370724)
+++ head/dns/dnsjava/Makefile	Sun Oct 12 15:43:46 2014	(r370725)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410121543.s9CFhlJf019351>