mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Support staging
This commit is contained in:
parent
90bc0b1940
commit
584ff4d320
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=348073
@ -14,12 +14,13 @@ ALL_TARGET= ${PORTNAME}
|
||||
MAKE_ARGS= CC=${CC}
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTVERSION}
|
||||
|
||||
NO_STAGE= yes
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}.bin ${PREFIX}/bin/${PORTNAME}
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}.bin \
|
||||
${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
||||
@${FIND} ${WRKSRC} -type d -name .svn -print0 | ${XARGS} -0 ${RM} -r
|
||||
@${RM} -f "${WRKSRC}/example-configs/PLACE YOUR QTV.BIN HERE"
|
||||
cd ${WRKSRC}/example-configs && ${COPYTREE_SHARE} . ${DATADIR}
|
||||
cd ${WRKSRC} && ${COPYTREE_SHARE} metaqtv ${DATADIR}
|
||||
cd ${WRKSRC}/example-configs && ${COPYTREE_SHARE} . \
|
||||
${STAGEDIR}${DATADIR}
|
||||
cd ${WRKSRC} && ${COPYTREE_SHARE} metaqtv ${STAGEDIR}${DATADIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user