diff options
author | adamw <adamw@FreeBSD.org> | 2014-07-04 05:57:31 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2014-07-04 05:57:31 +0800 |
commit | 563975c1b3ff6f794c5f734e1e4a41ca7c8c2efb (patch) | |
tree | 7704c92be4b39fd275f09238ba417439652da645 /dns | |
parent | 0e01bb75ed151d66335bab983694650ff66c1379 (diff) | |
download | freebsd-ports-gnome-563975c1b3ff6f794c5f734e1e4a41ca7c8c2efb.tar.gz freebsd-ports-gnome-563975c1b3ff6f794c5f734e1e4a41ca7c8c2efb.tar.zst freebsd-ports-gnome-563975c1b3ff6f794c5f734e1e4a41ca7c8c2efb.zip |
Remove more PORTDOCS, and another DOCS->EXAMPLES.
Diffstat (limited to 'dns')
-rw-r--r-- | dns/bindgraph/Makefile | 6 | ||||
-rw-r--r-- | dns/dnsmax-perl/Makefile | 4 | ||||
-rw-r--r-- | dns/p5-DNS-EasyDNS/Makefile | 4 | ||||
-rw-r--r-- | dns/p5-DNS-EasyDNS/pkg-plist | 8 | ||||
-rw-r--r-- | dns/radns/Makefile | 5 |
5 files changed, 12 insertions, 15 deletions
diff --git a/dns/bindgraph/Makefile b/dns/bindgraph/Makefile index 2e9b18c3a185..6052a54dfcef 100644 --- a/dns/bindgraph/Makefile +++ b/dns/bindgraph/Makefile @@ -28,9 +28,9 @@ SUB_LIST+= BINDGRAPH_USER=${BINDGRAPH_USER} BINDGRAPH_GROUP=${BINDGRAPH_GROUP} 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} "" diff --git a/dns/dnsmax-perl/Makefile b/dns/dnsmax-perl/Makefile index 421af3bfb746..fd50bbb9faa1 100644 --- a/dns/dnsmax-perl/Makefile +++ b/dns/dnsmax-perl/Makefile @@ -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> diff --git a/dns/p5-DNS-EasyDNS/Makefile b/dns/p5-DNS-EasyDNS/Makefile index 57bfaf437fca..deb59256378a 100644 --- a/dns/p5-DNS-EasyDNS/Makefile +++ b/dns/p5-DNS-EasyDNS/Makefile @@ -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> diff --git a/dns/p5-DNS-EasyDNS/pkg-plist b/dns/p5-DNS-EasyDNS/pkg-plist index b1959ba0f5f4..64554d05abb3 100644 --- a/dns/p5-DNS-EasyDNS/pkg-plist +++ b/dns/p5-DNS-EasyDNS/pkg-plist @@ -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 diff --git a/dns/radns/Makefile b/dns/radns/Makefile index ba7e54309530..d628034a993a 100644 --- a/dns/radns/Makefile +++ b/dns/radns/Makefile @@ -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> |