From owner-svn-ports-head@FreeBSD.ORG Wed Feb 5 19:52:28 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B901E3F5; Wed, 5 Feb 2014 19:52:28 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A155411C8; Wed, 5 Feb 2014 19:52:28 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s15JqSUO013265; Wed, 5 Feb 2014 19:52:28 GMT (envelope-from johans@svn.freebsd.org) Received: (from johans@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s15JqSgo013264; Wed, 5 Feb 2014 19:52:28 GMT (envelope-from johans@svn.freebsd.org) Message-Id: <201402051952.s15JqSgo013264@svn.freebsd.org> From: Johan van Selst Date: Wed, 5 Feb 2014 19:52:28 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r342826 - head/news/cleanfeed X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Feb 2014 19:52:28 -0000 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