This commit is contained in:
Vanilla I. Shu 2014-06-09 07:41:52 +00:00
parent 4bd6f30e1f
commit eb5d756dba
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=357110
2 changed files with 10 additions and 10 deletions

View File

@ -16,23 +16,20 @@ LICENSE_FILE= ${WRKSRC}/COPYING
USES= perl5
USE_PERL5= configure
MAN1= netspoc.1 print-group.1
MAN3= Netspoc.3
PORTDOCS= *
PORTEXAMPLES= *
NO_STAGE= yes
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/index.shtml ${DOCSDIR}
@${MKDIR} ${DOCSDIR}/doc
@(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${DOCSDIR}/doc)
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/ChangeLog ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/index.shtml ${STAGEDIR}${DOCSDIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}/doc
@(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/doc)
.endif
.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
@(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${EXAMPLESDIR})
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
@(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
.endif
.include <bsd.port.mk>

View File

@ -1,6 +1,9 @@
bin/cut-netspoc
bin/netspoc
bin/print-group
%%PERL5_MAN3%%/Netspoc.3.gz
%%SITE_PERL%%/Netspoc.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Netspoc/.packlist
man/man1/netspoc.1.gz
man/man1/print-group.1.gz
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Netspoc