diff options
author | kuriyama <kuriyama@FreeBSD.org> | 2014-12-28 22:40:19 +0800 |
---|---|---|
committer | kuriyama <kuriyama@FreeBSD.org> | 2014-12-28 22:40:19 +0800 |
commit | 5fcfc72c0fa0eb840eba6a0d394bab70a3f65251 (patch) | |
tree | 3507b6a6692f9cf5acbb46fa5c8ab49011c5f596 /textproc | |
parent | 911ea62e3f327c9d44807442327f5cd1884b165c (diff) | |
download | freebsd-ports-gnome-5fcfc72c0fa0eb840eba6a0d394bab70a3f65251.tar.gz freebsd-ports-gnome-5fcfc72c0fa0eb840eba6a0d394bab70a3f65251.tar.zst freebsd-ports-gnome-5fcfc72c0fa0eb840eba6a0d394bab70a3f65251.zip |
- fix shebang line reliably.
PR: ports/196043
Submitted by: mandree
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/sgmlformat/Makefile | 5 |
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 |