1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Support stage

This commit is contained in:
Baptiste Daroussin 2014-04-22 15:37:24 +00:00
parent 738b1d4ef6
commit 5bb94a9c00
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=351849

View File

@ -30,7 +30,6 @@ ZIP_CMD= zip
SUB_FILES= freemind.sh
NO_STAGE= yes
do-build:
(cd ${WRKSRC}; \
${UNZIP_CMD} lib/freemind.jar freemind.properties; \
@ -39,8 +38,8 @@ do-build:
do-install:
cd ${WRKSRC} \
&& ${FIND} ${DATAFILES} -type d -exec ${MKDIR} ${DATADIR}/{} \; \
&& ${FIND} ${DATAFILES} -type f -exec ${INSTALL_DATA} {} ${DATADIR}/{} \;
${INSTALL_SCRIPT} ${WRKDIR}/freemind.sh ${PREFIX}/bin/freemind
&& ${FIND} ${DATAFILES} -type d -exec ${MKDIR} ${STAGEDIR}${DATADIR}/{} \; \
&& ${FIND} ${DATAFILES} -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${DATADIR}/{} \;
${INSTALL_SCRIPT} ${WRKDIR}/freemind.sh ${STAGEDIR}${PREFIX}/bin/freemind
.include <bsd.port.mk>