diff options
-rw-r--r-- | textproc/sgmlformat/Makefile | 8 |
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} |