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

Stage support

This commit is contained in:
Antoine Brodin 2014-01-18 15:46:32 +00:00
parent 72bec17006
commit f8f07cc507
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=340191

View File

@ -15,15 +15,14 @@ NO_WRKSUBDIR= yes
PLIST_FILES= bin/fhourstones lib/fhourstones/SearchGame lib/fhourstones/inputs
PLIST_DIRS= lib/fhourstones
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/fhourstones
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/fhourstones
do-install:
${MKDIR} ${PREFIX}/lib/fhourstones
${INSTALL_SCRIPT} ${WRKDIR}/fhourstones ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKDIR}/SearchGame ${PREFIX}/lib/fhourstones/
${INSTALL_DATA} ${WRKDIR}/inputs ${PREFIX}/lib/fhourstones
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/fhourstones
${INSTALL_SCRIPT} ${WRKDIR}/fhourstones ${STAGEDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKDIR}/SearchGame ${STAGEDIR}${PREFIX}/lib/fhourstones
${INSTALL_DATA} ${WRKDIR}/inputs ${STAGEDIR}${PREFIX}/lib/fhourstones
.include <bsd.port.mk>