mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Add staging support
This commit is contained in:
parent
f7dd71b1f4
commit
da20bcea82
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=350716
@ -15,13 +15,12 @@ BUILD_DEPENDS= dynagen:${PORTSDIR}/emulators/dynagen
|
||||
|
||||
USE_PYTHON= yes
|
||||
USE_PYDISTUTILS= yes
|
||||
IMGDIR= ${PREFIX}/share/${PORTNAME}/img
|
||||
IMGDIR= ${STAGEDIR}${PREFIX}/share/${PORTNAME}/img
|
||||
|
||||
NO_STAGE= yes
|
||||
post-install:
|
||||
${MKDIR} ${IMGDIR}
|
||||
@${MKDIR} ${IMGDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/img/* ${IMGDIR}
|
||||
${CHMOD} 755 ${PYTHON_SITELIBDIR}/dynagui.py
|
||||
${LN} -sf ${PYTHON_SITELIBDIR}/dynagui.py ${PREFIX}/bin/dynagui.py
|
||||
${CHMOD} 755 ${STAGEDIR}${PYTHON_SITELIBDIR}/dynagui.py
|
||||
${LN} -sf ${PYTHON_SITELIBDIR}/dynagui.py ${STAGEDIR}${PREFIX}/bin/dynagui.py
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user