aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2004-02-16 09:15:00 +0800
committerijliao <ijliao@FreeBSD.org>2004-02-16 09:15:00 +0800
commit4b49266d8550a34872d6a5c720bcfaff79310245 (patch)
tree7b2534b6da2defa829823fca769121dd7f5c2812 /textproc
parent1019175f81169fb1372530b193004d2491c323cd (diff)
downloadfreebsd-ports-gnome-4b49266d8550a34872d6a5c720bcfaff79310245.tar.gz
freebsd-ports-gnome-4b49266d8550a34872d6a5c720bcfaff79310245.tar.zst
freebsd-ports-gnome-4b49266d8550a34872d6a5c720bcfaff79310245.zip
fix build with perl5.8 by creating ${SITE_PERL} dir
Noticed by: kris
Diffstat (limited to 'textproc')
-rw-r--r--textproc/bib2html/Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/textproc/bib2html/Makefile b/textproc/bib2html/Makefile
index 4e9cc5b5de11..82e770238719 100644
--- a/textproc/bib2html/Makefile
+++ b/textproc/bib2html/Makefile
@@ -22,21 +22,16 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
PLIST_FILES= bin/bib2html
-.include <bsd.port.pre.mk>
-
-.if ${PERL_LEVEL} >= 500800
-BROKEN= "Does not install"
-.endif
-
post-patch:
@${REINPLACE_CMD} -e "s|%%SITE_PERL%%|${SITE_PERL}|" ${WRKSRC}/bib2html.pl
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/bib2html.pl ${PREFIX}/bin/bib2html
+ @${MKDIR} ${SITE_PERL}
${CP} -R ${WRKSRC}/Bib2HTML ${SITE_PERL}
@${FIND} ${SITE_PERL}/Bib2HTML -type f | \
${SED} "s,^${PREFIX}/,," >> ${TMPPLIST}
@${FIND} ${SITE_PERL}/Bib2HTML -type d | ${SORT} -r | \
${SED} "s,^${PREFIX}/,@dirrm ," >> ${TMPPLIST}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>