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

Support STAGE.

This commit is contained in:
Boris Samorodov 2013-11-18 13:18:57 +00:00
parent 747257c740
commit 0baeefb31f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=334188

View File

@ -17,15 +17,10 @@ USE_RC_SUBR= lvwimax
PLIST_FILES= etc/devd/lvwimax.conf sbin/lvwimax
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/Makefile
post-install:
@${MKDIR} ${PREFIX}/etc/devd
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/devd
@${SED} -e "s|%%PREFIX%%|${PREFIX}|g" \
< ${FILESDIR}/lvwimax.conf.in > ${WRKDIR}/lvwimax.conf
${INSTALL_DATA} "${WRKDIR}/lvwimax.conf" ${PREFIX}/etc/devd
@${CAT} ${PKGMESSAGE}
${INSTALL_DATA} "${WRKDIR}/lvwimax.conf" ${STAGEDIR}${PREFIX}/etc/devd
.include <bsd.port.mk>