Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Feb 2014 19:52:28 +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: r342826 - head/news/cleanfeed
Message-ID:  <201402051952.s15JqSgo013264@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: johans
Date: Wed Feb  5 19:52:28 2014
New Revision: 342826
URL: http://svnweb.freebsd.org/changeset/ports/342826
QAT: https://qat.redports.org/buildarchive/r342826/

Log:
  Enable stage support

Modified:
  head/news/cleanfeed/Makefile

Modified: head/news/cleanfeed/Makefile
==============================================================================
--- head/news/cleanfeed/Makefile	Wed Feb  5 19:45:25 2014	(r342825)
+++ head/news/cleanfeed/Makefile	Wed Feb  5 19:52:28 2014	(r342826)
@@ -21,21 +21,18 @@ INSTALL+=	-b
 PKGDEINSTALL=	${PKGINSTALL}
 WRKSRC=		${WRKDIR}/${PORTNAME}
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e "/debug_batch_directory/s:'.*':'/var/log/cleanfeed':" ${WRKSRC}/etc/cleanfeed.local
 
 do-install:
-	@${INSTALL} ${_SHROWNGRP} -d ${PREFIX}/news/cleanfeed/etc
+	@${INSTALL} ${_SHROWNGRP} -d ${STAGEDIR}${PREFIX}/news/cleanfeed/etc
 .for f in bad_adult_paths bad_body bad_cancel_paths bad_from bad_groups \
 		bad_hosts bad_paths bad_subject bad_url
-	@${INSTALL_DATA} ${WRKSRC}/etc/${f} ${PREFIX}/news/cleanfeed/etc
+	@${INSTALL_DATA} ${WRKSRC}/etc/${f} ${STAGEDIR}${PREFIX}/news/cleanfeed/etc
 .endfor
 	@${INSTALL_DATA} ${WRKSRC}/etc/cleanfeed.local \
-		${PREFIX}/news/cleanfeed/etc/cleanfeed.local.sample
-	@${INSTALL_DATA} ${WRKSRC}/cleanfeed ${PREFIX}/news/bin/filter
-
-post-install:
-	${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
+		${STAGEDIR}${PREFIX}/news/cleanfeed/etc/cleanfeed.local.sample
+	@${MKDIR} ${STAGEDIR}${PREFIX}/news/bin/filter
+	@${INSTALL_DATA} ${WRKSRC}/cleanfeed ${STAGEDIR}${PREFIX}/news/bin/filter
 
 .include <bsd.port.mk>



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