mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Stagify.
Approved by: portmgr@
This commit is contained in:
parent
4a225cc8bd
commit
d6108a8082
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=357949
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user