Date: Wed, 25 Sep 2013 18:17:57 +0000 (UTC) From: Eitan Adler <eadler@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r328304 - head/misc/pastebinit Message-ID: <201309251817.r8PIHvG0043989@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.options.mk> .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 <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309251817.r8PIHvG0043989>