1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
Approved by:	portmgr@
This commit is contained in:
Vanilla I. Shu 2014-06-16 06:50:33 +00:00
parent 4a225cc8bd
commit d6108a8082
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=357949

View File

@ -21,14 +21,13 @@ NO_BUILD= YES
PLIST_FILES= %%JAVASHAREDIR%%/${PORTNAME}/${PORTNAME}.jar bin/${PORTNAME}
PLIST_DIRS= %%JAVASHAREDIR%%/${PORTNAME}
NO_STAGE= yes
pre-install:
${ECHO} "#!/bin/sh" > ${WRKDIR}/${PORTNAME}.sh
${ECHO} "${PREFIX}/bin/java -jar ${JAVASHAREDIR}/${PORTNAME}/${PORTNAME}.jar \$$*" >> ${WRKDIR}/${PORTNAME}.sh
do-install:
${MKDIR} ${JAVASHAREDIR}/${PORTNAME}
${INSTALL_DATA} ${WRKDIR}/${PORTNAME}${DISTVERSION}.jar ${JAVASHAREDIR}/${PORTNAME}/${PORTNAME}.jar
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${PREFIX}/bin/${PORTNAME}
${MKDIR} ${STAGEDIR}${JAVASHAREDIR}/${PORTNAME}
${INSTALL_DATA} ${WRKDIR}/${PORTNAME}${DISTVERSION}.jar ${STAGEDIR}${JAVASHAREDIR}/${PORTNAME}/${PORTNAME}.jar
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
.include <bsd.port.mk>