diff options
Diffstat (limited to 'lang/s9fes/Makefile')
-rw-r--r-- | lang/s9fes/Makefile | 9 |
1 files changed, 6 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> |