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