aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/bib2html
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2014-01-26 08:03:51 +0800
committermat <mat@FreeBSD.org>2014-01-26 08:03:51 +0800
commitc15ce4262cd4b5a1f84cf34d34bee82dd872eae4 (patch)
tree4b7f7b88d3de8b518ba048a5eff4bfd091c74416 /textproc/bib2html
parent3e67e632e095160ccd61b2e543305005bae7571b (diff)
downloadfreebsd-ports-gnome-c15ce4262cd4b5a1f84cf34d34bee82dd872eae4.tar.gz
freebsd-ports-gnome-c15ce4262cd4b5a1f84cf34d34bee82dd872eae4.tar.zst
freebsd-ports-gnome-c15ce4262cd4b5a1f84cf34d34bee82dd872eae4.zip
- Convert to staging
- pet portlint - add license - convert patches to makepatch naming Sponsored by: Absolight
Diffstat (limited to 'textproc/bib2html')
-rw-r--r--textproc/bib2html/Makefile27
1 files changed, 10 insertions, 17 deletions
diff --git a/textproc/bib2html/Makefile b/textproc/bib2html/Makefile
index 1fb4f46bf87e..4e95e539677f 100644
--- a/textproc/bib2html/Makefile
+++ b/textproc/bib2html/Makefile
@@ -17,29 +17,22 @@ USES= perl5
USE_PERL5= run
NO_BUILD= yes
-NO_STAGE= yes
post-patch:
@${SED} -e \
- 's:= "$$0";:= "${PREFIX}/${SITE_PERL_REL}/Bib2HTML";:g' \
+ 's:= "$$0";:= "${SITE_PERL}/Bib2HTML";:g' \
< ${WRKSRC}/bib2html.pl > ${WRKSRC}/bib2html
@${SED} -e \
- 's:= "$$0";:= "${PREFIX}/${SITE_PERL_REL}/Bib2HTML";:g' \
+ 's:= "$$0";:= "${SITE_PERL}/Bib2HTML";:g' \
< ${WRKSRC}/bib2xml.pl > ${WRKSRC}/bib2xml
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/bib2html ${PREFIX}/bin
- ${INSTALL_SCRIPT} ${WRKSRC}/bib2xml ${PREFIX}/bin
- @${MKDIR} ${PREFIX}/${SITE_PERL_REL}/Bib2HTML
- @cd ${WRKSRC}/Bib2HTML && ${FIND} . | \
- ${CPIO} -pdm -L -R ${LIBOWN}:${LIBGRP} \
- ${PREFIX}/${SITE_PERL_REL}/Bib2HTML
- ${FIND} ${PREFIX}/${SITE_PERL_REL}/Bib2HTML -type f | \
- ${XARGS} ${CHMOD} ${LIBMODE}
- ${FIND} ${PREFIX}/${SITE_PERL_REL}/Bib2HTML -type d | \
- ${XARGS} ${CHMOD} a+rx
- @${FIND} ${PREFIX}/${SITE_PERL_REL}/Bib2HTML -type f | \
- ${SED} "s,^${PREFIX}/,," >> ${TMPPLIST}
- @${FIND} ${PREFIX}/${SITE_PERL_REL}/Bib2HTML -type d | ${SORT} -r | \
- ${SED} "s,^${PREFIX}/,@dirrm ," >> ${TMPPLIST}
+ ${INSTALL_SCRIPT} ${WRKSRC}/bib2html ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/bib2xml ${STAGEDIR}${PREFIX}/bin
+ @${MKDIR} ${STAGEDIR}${SITE_PERL}/Bib2HTML
+ cd ${WRKSRC}/Bib2HTML && ${COPYTREE_SHARE} . ${STAGEDIR}${SITE_PERL}/Bib2HTML
+ ${FIND} ${STAGEDIR}${SITE_PERL}/Bib2HTML -type f | \
+ ${SED} "s,^${STAGEDIR}${PREFIX}/,," >> ${TMPPLIST}
+ ${FIND} ${STAGEDIR}${SITE_PERL}/Bib2HTML -type d | ${SORT} -r | \
+ ${SED} "s,^${STAGEDIR}${PREFIX}/,@dirrm ," >> ${TMPPLIST}
.include <bsd.port.mk>