mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
Stagify.
Approved by: portmgr@ (blanket)
This commit is contained in:
parent
fb934bdb2f
commit
1dc5f0c755
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=360932
@ -19,7 +19,6 @@ PLIST_FILES= share/${PORTNAME}/${DISTNAME}${EXTRACT_SUFX} \
|
||||
bin/FoldingAtHome
|
||||
PLIST_DIRS= share/${PORTNAME}
|
||||
|
||||
NO_STAGE= yes
|
||||
do-extract:
|
||||
${MKDIR} ${WRKSRC}
|
||||
${CP} ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ${WRKSRC}
|
||||
@ -29,12 +28,12 @@ do-build:
|
||||
${CHMOD} 755 ${WRKSRC}/${DISTNAME}${EXTRACT_SUFX}
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${PREFIX}/bin
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/bin
|
||||
${REINPLACE_CMD} -e "s|DATADIR|${DATADIR}|" ${SCRIPTDIR}/FoldingAtHome \
|
||||
| ${REINPLACE_CMD} -e "s|BINNAME|${DISTNAME}${EXTRACT_SUFX}|" \
|
||||
> ${PREFIX}/bin/FoldingAtHome
|
||||
${CHMOD} 755 ${PREFIX}/bin/FoldingAtHome
|
||||
${MKDIR} ${DATADIR}
|
||||
${CP} ${WRKSRC}/${DISTNAME}${EXTRACT_SUFX} ${DATADIR}/
|
||||
> ${STAGEDIR}${PREFIX}/bin/FoldingAtHome
|
||||
${CHMOD} 755 ${STAGEDIR}${PREFIX}/bin/FoldingAtHome
|
||||
${MKDIR} ${STAGEDIR}${DATADIR}
|
||||
${CP} ${WRKSRC}/${DISTNAME}${EXTRACT_SUFX} ${STAGEDIR}${DATADIR}/
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user