aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2014-12-28 14:40:19 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2014-12-28 14:40:19 +0000
commitdf2025b4b21e0e6cdf70fb5307b4c636593f6f46 (patch)
tree3507b6a6692f9cf5acbb46fa5c8ab49011c5f596
parent3934f056e65313f0092e005ecc60a7914d598460 (diff)
downloadports-df2025b4b21e0e6cdf70fb5307b4c636593f6f46.tar.gz
ports-df2025b4b21e0e6cdf70fb5307b4c636593f6f46.zip
- fix shebang line reliably.
PR: ports/196043 Submitted by: mandree
Notes
Notes: svn path=/head/; revision=375725
-rw-r--r--textproc/sgmlformat/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/textproc/sgmlformat/Makefile b/textproc/sgmlformat/Makefile
index b5fc94ad3634..b419a0aca6d1 100644
--- a/textproc/sgmlformat/Makefile
+++ b/textproc/sgmlformat/Makefile
@@ -3,7 +3,7 @@
PORTNAME= sgmlformat
PORTVERSION= 1.7
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= textproc print
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= kuriyama
@@ -40,6 +40,9 @@ post-patch:
@${REINPLACE_CMD} -e 's,nsgmls,onsgmls,g' ${WRKSRC}/instant/traninit.c
.endif
+post-build:
+ ${REINPLACE_CMD} -E 's#(/usr|${PREFIX})/bin/perl#${PERL}#' ${WRKSRC}/sgmlfmt/sgmlfmt
+
pre-install:
${MKDIR} ${STAGEDIR}${PREFIX}/share/sgml/transpec