aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-05-31 20:26:06 +0800
committerantoine <antoine@FreeBSD.org>2014-05-31 20:26:06 +0800
commit1cc0f90877f11372466aef72aa4f3ec1b96f6438 (patch)
tree87173c8363040728f77aec832f0954113fb4ed66 /textproc
parentfa68c6284f8bce042472d0d784ef00dfd0db496b (diff)
downloadfreebsd-ports-gnome-1cc0f90877f11372466aef72aa4f3ec1b96f6438.tar.gz
freebsd-ports-gnome-1cc0f90877f11372466aef72aa4f3ec1b96f6438.tar.zst
freebsd-ports-gnome-1cc0f90877f11372466aef72aa4f3ec1b96f6438.zip
Stage support
Diffstat (limited to 'textproc')
-rw-r--r--textproc/txt2man/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/textproc/txt2man/Makefile b/textproc/txt2man/Makefile
index e50893d78d25..16144587f847 100644
--- a/textproc/txt2man/Makefile
+++ b/textproc/txt2man/Makefile
@@ -13,13 +13,13 @@ BUILD_DEPENDS= gawk:${PORTSDIR}/lang/gawk
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= gmake
-INSTALL_TARGET= install prefix=${PREFIX}
+MAKE_ENV= prefix=${STAGEDIR}${PREFIX}
-MAN1= bookman.1 src2man.1 txt2man.1
-PLIST_FILES= bin/bookman bin/src2man bin/txt2man
+PLIST_FILES= bin/bookman bin/src2man bin/txt2man \
+ man/man1/bookman.1.gz man/man1/src2man.1.gz man/man1/txt2man.1.gz
-NO_STAGE= yes
post-patch:
- @${REINPLACE_CMD} -e "s,awk,gawk," ${WRKSRC}/bookman ${WRKSRC}/src2man
+ @${REINPLACE_CMD} 's,awk,gawk,' ${WRKSRC}/bookman ${WRKSRC}/src2man
+ @${REINPLACE_CMD} '/exec ksh/d' ${WRKSRC}/txt2man
.include <bsd.port.mk>