1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Support staging.

PR:		ports/190077
Submitted by:	freebsd@nagilum.org
Approved by:	"Patrick M. Hausen" <pmh@hausen.com> (maintainer)
This commit is contained in:
Raphael Kubo da Costa 2014-05-24 17:12:13 +00:00
parent 16e52e4f53
commit 20e1d4339f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=355054

View File

@ -26,7 +26,6 @@ OPTIONS_DEFINE= STATIC
OPTIONS_DEFAULT= STATIC
STATIC_DESC= Build a statically linked executable
NO_STAGE= yes
.include <bsd.port.options.mk>
post-patch:
@ -39,8 +38,8 @@ post-extract:
${FILESDIR}/env4801.sh > ${WRKSRC}/env4801.sh
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/env4801 ${PREFIX}/sbin
${INSTALL_SCRIPT} ${WRKSRC}/env4801.sh ${PREFIX}/etc/rc.d
${INSTALL_PROGRAM} ${WRKSRC}/env4801 ${STAGEDIR}${PREFIX}/sbin
${INSTALL_SCRIPT} ${WRKSRC}/env4801.sh ${STAGEDIR}${PREFIX}/etc/rc.d
post-install:
@${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} ${PKGMESSAGE}