Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jan 2014 18:40:47 +0000 (UTC)
From:      Johan van Selst <johans@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r339378 - head/news/trn4
Message-ID:  <201401101840.s0AIelaR035195@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401101840.s0AIelaR035195>