svn commit: r360465 - in head/dns: bindgraph dnsmax-perl p5-DNS-EasyDNS radns
Adam Weinberger
adamw at FreeBSD.org
Thu Jul 3 21:57:32 UTC 2014
Author: adamw
Date: Thu Jul 3 21:57:31 2014
New Revision: 360465
URL: http://svnweb.freebsd.org/changeset/ports/360465
QAT: https://qat.redports.org/buildarchive/r360465/
Log:
Remove more PORTDOCS, and another DOCS->EXAMPLES.
Modified:
head/dns/bindgraph/Makefile
head/dns/dnsmax-perl/Makefile
head/dns/p5-DNS-EasyDNS/Makefile
head/dns/p5-DNS-EasyDNS/pkg-plist
head/dns/radns/Makefile
Modified: head/dns/bindgraph/Makefile
==============================================================================
--- head/dns/bindgraph/Makefile Thu Jul 3 21:54:14 2014 (r360464)
+++ head/dns/bindgraph/Makefile Thu Jul 3 21:57:31 2014 (r360465)
@@ -28,9 +28,9 @@ SUB_LIST+= BINDGRAPH_USER=${BINDGRAPH_US
PLIST_SUB= CGIDIR=${CGIDIR:S,${PREFIX}/,,}
DOCS= README ChangeLog
-.if !defined(NOPORTDOCS)
PORTDOCS= ${DOCS}
-.endif
+
+OPTIONS_DEFINE= DOCS
pre-everything::
@${ECHO_MSG} ""
@@ -50,12 +50,10 @@ do-install:
@${CHOWN} -R ${BINDGRAPH_USER}:${BINDGRAPH_GROUP} ${STAGEDIR}${DATADIR}/
@${INSTALL_SCRIPT} ${WRKSRC}/bindgraph.pl ${STAGEDIR}${PREFIX}/sbin/
@${INSTALL_SCRIPT} ${WRKSRC}/bindgraph.cgi ${STAGEDIR}${CGIDIR}/
-.if !defined(NOPORTDOCS)
${MKDIR} ${STAGEDIR}${DOCSDIR}
for f in ${DOCS}; do \
${INSTALL_DATA} ${WRKSRC}/$$f ${STAGEDIR}${DOCSDIR}/; \
done
-.endif
post-install:
@${ECHO_MSG} ""
Modified: head/dns/dnsmax-perl/Makefile
==============================================================================
--- head/dns/dnsmax-perl/Makefile Thu Jul 3 21:54:14 2014 (r360464)
+++ head/dns/dnsmax-perl/Makefile Thu Jul 3 21:57:31 2014 (r360465)
@@ -21,11 +21,11 @@ SHEBANG_FILES= dnsmax.pl
PLIST_FILES= bin/dnsmax-perl
PORTDOCS= LICENSE INSTALL README
+OPTIONS_DEFINE= DOCS
+
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/${DISTNAME}/dnsmax.pl ${STAGEDIR}${PREFIX}/bin/dnsmax-perl
-.if !defined(NOPORTDOCS)
${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKDIR}/${DISTNAME} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
-.endif
.include <bsd.port.mk>
Modified: head/dns/p5-DNS-EasyDNS/Makefile
==============================================================================
--- head/dns/p5-DNS-EasyDNS/Makefile Thu Jul 3 21:54:14 2014 (r360464)
+++ head/dns/p5-DNS-EasyDNS/Makefile Thu Jul 3 21:57:31 2014 (r360465)
@@ -16,10 +16,10 @@ RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
USE_PERL5= configure
+OPTIONS_DEFINE= EXAMPLES
+
post-install:
-.if !defined(NOPORTDOCS)
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
-.endif
.include <bsd.port.mk>
Modified: head/dns/p5-DNS-EasyDNS/pkg-plist
==============================================================================
--- head/dns/p5-DNS-EasyDNS/pkg-plist Thu Jul 3 21:54:14 2014 (r360464)
+++ head/dns/p5-DNS-EasyDNS/pkg-plist Thu Jul 3 21:57:31 2014 (r360465)
@@ -1,10 +1,10 @@
%%PERL5_MAN3%%/DNS::EasyDNS.3.gz
%%SITE_PERL%%/DNS/EasyDNS.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/DNS/EasyDNS/.packlist
-%%PORTDOCS%%%%EXAMPLESDIR%%/easydns-by-interface
-%%PORTDOCS%%%%EXAMPLESDIR%%/easydns-from-router
-%%PORTDOCS%%%%EXAMPLESDIR%%/easydns-simple
-%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/easydns-by-interface
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/easydns-from-router
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/easydns-simple
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/DNS/EasyDNS
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/DNS
@dirrmtry %%SITE_PERL%%/DNS
Modified: head/dns/radns/Makefile
==============================================================================
--- head/dns/radns/Makefile Thu Jul 3 21:54:14 2014 (r360464)
+++ head/dns/radns/Makefile Thu Jul 3 21:57:31 2014 (r360465)
@@ -22,13 +22,12 @@ SUB_FILES= pkg-message
PORTDOCS= LICENSE README README.FreeBSD NEWS
+OPTIONS_DEFINE= DOCS
+
post-install:
-.if !defined(NOPORTDOCS)
- @${ECHO_MSG} "Installing additional documentation to ${DOCSDIR}"
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${PORTDOCS}
@${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
-.endif
.include <bsd.port.mk>
More information about the svn-ports-head
mailing list