mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
- Update to bsd.java.mk 2.0
- Enforce a specific version (1.4+) in the launcher shell script - Use SUB_FILES to patch the launche shell script
This commit is contained in:
parent
6436bcf7c2
commit
38d38bf8c0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=127939
@ -16,17 +16,19 @@ DISTNAME= ${PORTNAME}${PORTVERSION:S/.b/beta/}
|
|||||||
MAINTAINER= ports@FreeBSD.org
|
MAINTAINER= ports@FreeBSD.org
|
||||||
COMMENT= A spline based 3D modeling tool
|
COMMENT= A spline based 3D modeling tool
|
||||||
|
|
||||||
USE_JAVA= 1.4+
|
RUN_DEPENDS= java:${PORTSDIR}/java/javavmwrapper
|
||||||
|
|
||||||
|
USE_JAVA= yes
|
||||||
|
JAVA_VERSION= 1.4+
|
||||||
NO_BUILD= yes
|
NO_BUILD= yes
|
||||||
|
|
||||||
PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar \
|
PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar \
|
||||||
bin/jpatch
|
bin/jpatch
|
||||||
|
|
||||||
post-patch:
|
SUB_FILES= jpatch.sh
|
||||||
@${SED} 's,%%JAVAJARDIR%%,${JAVAJARDIR},' ${FILESDIR}/jpatch > ${WRKSRC}/jpatch
|
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
${INSTALL_DATA} ${WRKSRC}/jpatch.jar ${JAVAJARDIR}
|
${INSTALL_DATA} ${WRKSRC}/jpatch.jar ${JAVAJARDIR}
|
||||||
${INSTALL_SCRIPT} ${WRKSRC}/jpatch ${PREFIX}/bin
|
${INSTALL_SCRIPT} ${WRKDIR}/jpatch.sh ${PREFIX}/bin/jpatch
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
java -jar %%JAVAJARDIR%%/jpatch.jar
|
|
5
graphics/jpatch/files/jpatch.sh.in
Normal file
5
graphics/jpatch/files/jpatch.sh.in
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# $FreeBSD$
|
||||||
|
|
||||||
|
JAVA_VERSION="1.4+" "%%LOCALBASE%%/bin/java" -jar "%%JAVAJARDIR%%/jpatch.jar" "$@"
|
Loading…
Reference in New Issue
Block a user