mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
- Switch to options helpers
- Simplify installation
This commit is contained in:
parent
5ad8f6ef6f
commit
69a23d605d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=419736
@ -15,20 +15,24 @@ LICENSE= GPLv2+
|
||||
|
||||
USES= perl5 shebangfix tar:tgz
|
||||
SHEBANG_FILES= htmlpp
|
||||
|
||||
NO_WRKSUBDIR= yes
|
||||
NO_BUILD= yes
|
||||
NO_ARCH= yes
|
||||
|
||||
PORTDOCS= *
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/htmlpp ${STAGEDIR}${PREFIX}/bin/htmlpp
|
||||
${INSTALL_DATA} ${WRKSRC}/htmlpp.d ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/htmlpp.d
|
||||
(cd ${WRKSRC}; for FILE in *.pl; do ${INSTALL_DATA} $${FILE} ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/$${FILE}; done)
|
||||
(cd ${WRKSRC}; for FILE in *.def; do ${INSTALL_DATA} $${FILE} ${STAGEDIR}${PREFIX}/bin/$${FILE}; done)
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/htmlpp ${STAGEDIR}${PREFIX}/bin/
|
||||
${INSTALL_DATA} ${WRKSRC}/*.def ${STAGEDIR}${PREFIX}/bin/
|
||||
${INSTALL_DATA} ${WRKSRC}/*.pl ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/
|
||||
${INSTALL_DATA} ${WRKSRC}/htmlpp.d ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/
|
||||
${INSTALL_DATA} ${WRKSRC}/guru_opt.fmt ${STAGEDIR}${PREFIX}/bin/guru.fmt
|
||||
(cd ${WRKSRC}; ${MKDIR} ${STAGEDIR}${DOCSDIR}; for FILE in *.htm; do ${INSTALL_DATA} $${FILE} ${STAGEDIR}${DOCSDIR}/$${FILE}; done)
|
||||
(cd ${WRKSRC}; for FILE in *.gif; do ${INSTALL_DATA} $${FILE} ${STAGEDIR}${DOCSDIR}/$${FILE}; done)
|
||||
(cd ${WRKSRC}; for FILE in *.txt; do ${INSTALL_DATA} $${FILE} ${STAGEDIR}${DOCSDIR}/$${FILE}; done)
|
||||
|
||||
do-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
cd ${WRKSRC} && ${INSTALL_DATA} *.htm *.gif *.txt ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -11,14 +11,3 @@ bin/guru.fmt
|
||||
%%SITE_PERL%%/sfldate.pl
|
||||
%%SITE_PERL%%/shellwd.pl
|
||||
%%SITE_PERL%%/textdb.pl
|
||||
share/doc/htmlpp/index.htm
|
||||
share/doc/htmlpp/index1.htm
|
||||
share/doc/htmlpp/index2.htm
|
||||
share/doc/htmlpp/index3.htm
|
||||
share/doc/htmlpp/index4.htm
|
||||
share/doc/htmlpp/index5.htm
|
||||
share/doc/htmlpp/htmlpp1.gif
|
||||
share/doc/htmlpp/im0096c.gif
|
||||
share/doc/htmlpp/newstone.gif
|
||||
share/doc/htmlpp/gurutst.txt
|
||||
share/doc/htmlpp/htmlpp.txt
|
||||
|
Loading…
Reference in New Issue
Block a user