aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/sgmlformat
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2002-01-16 08:44:36 +0800
committerkuriyama <kuriyama@FreeBSD.org>2002-01-16 08:44:36 +0800
commit5c163c94c895c08a3e257dcc35801371ed459429 (patch)
tree50af4425abd93c4a68c512d1ef85eb430a1c2f53 /textproc/sgmlformat
parent2b8816700c6b399f36cd9dcf7b5fb4e5ca30b382 (diff)
downloadfreebsd-ports-gnome-5c163c94c895c08a3e257dcc35801371ed459429.tar.gz
freebsd-ports-gnome-5c163c94c895c08a3e257dcc35801371ed459429.tar.zst
freebsd-ports-gnome-5c163c94c895c08a3e257dcc35801371ed459429.zip
Use onsgmls instead of nsgmls when $WITH_OPENJADE is defined.
These should be able to change at runtime with environment variables or so, but this workaround is useful until correct fix is applied. Submitted by: Udo Schweigert <udo.schweigert@siemens.com> Reported by: Christian Weisgerber <naddy@freebsd.org>
Diffstat (limited to 'textproc/sgmlformat')
-rw-r--r--textproc/sgmlformat/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/textproc/sgmlformat/Makefile b/textproc/sgmlformat/Makefile
index 5cd298c4e1be..62bffb4f83dd 100644
--- a/textproc/sgmlformat/Makefile
+++ b/textproc/sgmlformat/Makefile
@@ -7,7 +7,7 @@
PORTNAME= sgmlformat
PORTVERSION= 1.7
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= textproc print
MASTER_SITES= http://fallout.campusview.indiana.edu/ports/distfiles/
@@ -39,6 +39,12 @@ MAN1= instant.1 sgmlfmt.1
MAN5= transpec.5
MANCOMPRESSED= yes
+.if defined(WITH_OPENJADE)
+post-patch:
+ @${PERL} -pi -e 's,nsgmls,onsgmls,g' ${WRKSRC}/sgmlfmt/sgmlfmt.pl
+ @${PERL} -pi -e 's,nsgmls,onsgmls,g' ${WRKSRC}/instant/traninit.c
+.endif
+
post-install:
@${CAT} ${PKGMESSAGE}