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-16 18:29:36 +00:00
parent 3de866c1aa
commit 35c8e2c083
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=339956

View File

@ -20,7 +20,6 @@ RUN_DEPENDS= timidity:${PORTSDIR}/audio/timidity++
NO_CDROM= Some of the patches are marked no-commercial-use
NO_BUILD= yes
NO_STAGE= yes
WRKSRC= ${WRKDIR}/timidity
PLIST_SUB= TIMIDITY_DATADIR=${TIMIDITY_DATADIR}
@ -28,10 +27,10 @@ PLIST_SUB= TIMIDITY_DATADIR=${TIMIDITY_DATADIR}
TIMIDITY_DATADIR= share/timidity
do-install:
@${MKDIR} ${DATADIR}
@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${DATADIR}
@${MKDIR} ${PREFIX}/${TIMIDITY_DATADIR}
cd ${WRKSRC} && ${INSTALL_DATA} timidity.cfg \
${PREFIX}/${TIMIDITY_DATADIR}/timidity.cfg-guspat
@${MKDIR} ${STAGEDIR}${DATADIR}
cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
@${MKDIR} ${STAGEDIR}${PREFIX}/${TIMIDITY_DATADIR}
${INSTALL_DATA} ${WRKSRC}/timidity.cfg \
${STAGEDIR}${PREFIX}/${TIMIDITY_DATADIR}/timidity.cfg-guspat
.include <bsd.port.mk>