1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Stageify.

Approved by:	portmgr@
This commit is contained in:
Vanilla I. Shu 2014-05-23 02:26:56 +00:00
parent 1ff4553a18
commit 22e43ce7d2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=354905

View File

@ -22,7 +22,6 @@ DATADIR= ${PREFIX}/lib/pyla
USE_PYTHON= yes
PLIST= ${WRKDIR}/pkg-plist
NO_STAGE= yes
.include <bsd.port.pre.mk>
do-build:
@ -43,9 +42,9 @@ pre-install:
${SED} -e "s:^${WRKSRC}:@dirrm lib/pyla:g" >> ${PLIST}
do-install:
@${MKDIR} ${DATADIR}
${INSTALL} -m755 ${WRKDIR}/pyla.sh ${PREFIX}/bin/pyla
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL} -m755 ${WRKDIR}/pyla.sh ${STAGEDIR}${PREFIX}/bin/pyla
${TAR} -C ${WRKSRC} --exclude CVS -cf - . | \
${TAR} -C ${DATADIR} --unlink -xf -
${TAR} -C ${STAGEDIR}${DATADIR} --unlink -xf -
.include <bsd.port.post.mk>