svn commit: r355966 - head/textproc/txt2man

Antoine Brodin antoine at FreeBSD.org
Sat May 31 12:26:06 UTC 2014


Author: antoine
Date: Sat May 31 12:26:06 2014
New Revision: 355966
URL: http://svnweb.freebsd.org/changeset/ports/355966
QAT: https://qat.redports.org/buildarchive/r355966/

Log:
  Stage support

Modified:
  head/textproc/txt2man/Makefile

Modified: head/textproc/txt2man/Makefile
==============================================================================
--- head/textproc/txt2man/Makefile	Sat May 31 12:09:59 2014	(r355965)
+++ head/textproc/txt2man/Makefile	Sat May 31 12:26:06 2014	(r355966)
@@ -13,13 +13,13 @@ BUILD_DEPENDS=	gawk:${PORTSDIR}/lang/gaw
 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>


More information about the svn-ports-all mailing list