From owner-svn-ports-all@FreeBSD.ORG Wed Sep 25 18:17:58 2013 Return-Path: Delivered-To: svn-ports-all@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 ESMTP id 09DC480C; Wed, 25 Sep 2013 18:17:58 +0000 (UTC) (envelope-from eadler@FreeBSD.org) 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 EB6AD28C0; Wed, 25 Sep 2013 18:17:57 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r8PIHvOa043990; Wed, 25 Sep 2013 18:17:57 GMT (envelope-from eadler@svn.freebsd.org) Received: (from eadler@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r8PIHvG0043989; Wed, 25 Sep 2013 18:17:57 GMT (envelope-from eadler@svn.freebsd.org) Message-Id: <201309251817.r8PIHvG0043989@svn.freebsd.org> From: Eitan Adler Date: Wed, 25 Sep 2013 18:17:57 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r328304 - head/misc/pastebinit X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Sep 2013 18:17:58 -0000 Author: eadler Date: Wed Sep 25 18:17:57 2013 New Revision: 328304 URL: http://svnweb.freebsd.org/changeset/ports/328304 Log: Convert pastebinit to have STAGEDIR support. Tested with poudriere Modified: head/misc/pastebinit/Makefile Modified: head/misc/pastebinit/Makefile ============================================================================== --- head/misc/pastebinit/Makefile Wed Sep 25 18:08:38 2013 (r328303) +++ head/misc/pastebinit/Makefile Wed Sep 25 18:17:57 2013 (r328304) @@ -22,7 +22,6 @@ OPTIONS_DEFINE= PASTEBINS PASTEBINS_DESC= Install default pastebins OPTIONS_DEFAULT= PASTEBINS -NO_STAGE= yes .include .if ${PORT_OPTIONS:MPASTEBINS} @@ -33,9 +32,9 @@ post-patch: ${REINPLACE_CMD} -e 's|/usr/share/pastebin.d|${DATADIR}/pastebin.d|' \ ${WRKSRC}/pastebinit do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/${PORTNAME} + ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .if ${PORT_OPTIONS:MPASTEBINS} - (cd ${WRKSRC} && ${COPYTREE_SHARE} pastebin.d ${DATADIR}) + (cd ${WRKSRC} && ${COPYTREE_SHARE} pastebin.d ${STAGEDIR}${DATADIR}) .endif .include