mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-20 20:09:11 +00:00
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>
This commit is contained in:
parent
254edc3554
commit
51075272af
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=53141
@ -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}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user