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

- add stage support

This commit is contained in:
Olli Hauer 2014-06-01 14:46:12 +00:00
parent d876dea414
commit 07139bedfd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=356129

View File

@ -24,15 +24,14 @@ PLIST_DIRS= %%DATADIR%%
DESKTOP_ENTRIES="Logisim" "${COMMENT}" "" "${PORTNAME}" "" false DESKTOP_ENTRIES="Logisim" "${COMMENT}" "" "${PORTNAME}" "" false
NO_STAGE= yes
do-extract: do-extract:
${MKDIR} ${WRKSRC} ${MKDIR} ${WRKSRC}
${CP} ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ${WRKSRC} ${CP} ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ${WRKSRC}
${ECHO_CMD} -e "#!/bin/sh\nexec ${JAVA} -jar ${DATADIR}/${DISTNAME}${EXTRACT_SUFX}" > ${WRKSRC}/${PORTNAME} ${ECHO_CMD} -e "#!/bin/sh\nexec ${JAVA} -jar ${DATADIR}/${DISTNAME}${EXTRACT_SUFX}" > ${WRKSRC}/${PORTNAME}
do-install: do-install:
${MKDIR} ${DATADIR} ${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/${DISTNAME}${EXTRACT_SUFX} ${DATADIR} ${INSTALL_DATA} ${WRKSRC}/${DISTNAME}${EXTRACT_SUFX} ${STAGEDIR}${DATADIR}
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/ ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk> .include <bsd.port.mk>