summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lang/s9fes/Makefile9
-rw-r--r--lang/s9fes/pkg-plist1
2 files changed, 7 insertions, 3 deletions
diff --git a/lang/s9fes/Makefile b/lang/s9fes/Makefile
index f68fd5c86647..d828800ab1ff 100644
--- a/lang/s9fes/Makefile
+++ b/lang/s9fes/Makefile
@@ -18,8 +18,11 @@ LIBDIR= ${DATADIR}
MAKE_ARGS= ${MAKE_ENV}
WRKSRC= ${WRKDIR}/s9
-MAN1= s9.1
-MANCOMPRESSED= yes
+post-patch:
+ ${REINPLACE_CMD} -E \
+ -e 's|\$$\(BINDIR\)|$$(DESTDIR)$$(BINDIR)|g' \
+ -e '/-DDEF|>s9.1.gz/!s|\$$\(LIBDIR\)|$$(DESTDIR)$$(LIBDIR)|g' \
+ -e 's|\$$\(MANDIR\)|$$(DESTDIR)$$(MANDIR)|g' \
+ ${WRKSRC}/Makefile
-NO_STAGE= yes
.include <bsd.port.mk>
diff --git a/lang/s9fes/pkg-plist b/lang/s9fes/pkg-plist
index 23a44a5496a4..6892a7810e44 100644
--- a/lang/s9fes/pkg-plist
+++ b/lang/s9fes/pkg-plist
@@ -3,6 +3,7 @@ bin/s9help
bin/s9resolve
bin/scm2html
bin/scmpp
+man/man1/s9.1.gz
%%DATADIR%%/S9Book
%%DATADIR%%/S9Book-bw
%%DATADIR%%/_template