1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Remove more PORTDOCS, and another DOCS->EXAMPLES.

This commit is contained in:
Adam Weinberger 2014-07-03 21:57:31 +00:00
parent 01da1d3d6c
commit 8610a3f574
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=360465
5 changed files with 12 additions and 15 deletions

View File

@ -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} ""

View File

@ -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>

View File

@ -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>

View File

@ -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

View File

@ -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>