svn commit: r339378 - head/news/trn4

Johan van Selst johans at FreeBSD.org
Fri Jan 10 18:40:47 UTC 2014


Author: johans
Date: Fri Jan 10 18:40:47 2014
New Revision: 339378
URL: http://svnweb.freebsd.org/changeset/ports/339378

Log:
  Enable stage support

Modified:
  head/news/trn4/Makefile

Modified: head/news/trn4/Makefile
==============================================================================
--- head/news/trn4/Makefile	Fri Jan 10 18:05:29 2014	(r339377)
+++ head/news/trn4/Makefile	Fri Jan 10 18:40:47 2014	(r339378)
@@ -13,13 +13,13 @@ COMMENT=	Version 4.0 of the threaded rea
 
 CONFLICTS_INSTALL=trn-3.[0-9]* cnews-* s-news-[0-9]*
 
-MAN1=		trn.1 Pnews.1 Rnmail.1
-
-NO_STAGE=	yes
 .include <bsd.port.pre.mk>
 
 post-patch:
-	@${REINPLACE_CMD} -e 's/pipe[12]/z&/g' ${WRKSRC}/filter.c
+	${REINPLACE_CMD} -e 's/pipe[12]/z&/g' ${WRKSRC}/filter.c
+	${REINPLACE_CMD} -e 's|^dir=|&$${DESTDIR}|' ${WRKSRC}/myinstall.SH
+	${REINPLACE_CMD} -e 's|./makedir |&$${DESTDIR}|' \
+		-e 's|dest=|&$${DESTDIR}|' ${WRKSRC}/Makefile.SH
 
 pre-configure:
 	@${ECHO_MSG} "===>  Running pre-configure target for ${DISTNAME}"


More information about the svn-ports-all mailing list