Make the default installation work. Add an alternative to the shell
script for those who've installed a Java 2 VM. Life will be exponentially better when we can count on 'javavm -jar foo.jar' just doing The Right Thing(tm). Submitted by: dozens of angry scientists
This commit is contained in:
parent
45b50cfab0
commit
33b31b6d5e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=42263
4 changed files with 16 additions and 4 deletions
|
@ -32,8 +32,10 @@ do-install:
|
|||
@cd ${WRKSRC}; \
|
||||
${MKDIR} ${PREFIX}/share/airport; \
|
||||
${CP} -r ${WRKSRC}/* ${PREFIX}/share/airport; \
|
||||
${SED} -e s,%%PREFIX%%,${PREFIX},g \
|
||||
${SED} \
|
||||
-e s,%%PREFIX%%,${PREFIX},g \
|
||||
-e s/%%JFC_VERSION%%/${JFC_VERSION}/ \
|
||||
-e s/%%JDK_VERSION%%/${JDK_VERSION}/ \
|
||||
< ${FILESDIR}/airport > ${PREFIX}/bin/airport; \
|
||||
${CHMOD} a+x ${PREFIX}/bin/airport
|
||||
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
#! /bin/sh
|
||||
|
||||
exec %%PREFIX%%/bin/javavm -cp "%%PREFIX%%/share/java/classes/jfc-%%JFC_VERSION%%/swingall.jar:%%PREFIX%%/share/airport/AirportBaseStationConfig.jar" AirportBaseStationConfigurator
|
||||
# Use this one for JDK 1.2 and beyond:
|
||||
# exec %%PREFIX%%/bin/javavm -jar %%PREFIX%%/share/airport/AirportBaseStationConfig.jar
|
||||
|
||||
# Use this one for the default installation -- JDK 1.1.x + JFC:
|
||||
exec %%PREFIX%%/bin/javavm -classpath "%%PREFIX%%/jdk%%JDK_VERSION%%/lib/classes.zip:%%PREFIX%%/share/java/classes/jfc-%%JFC_VERSION%%/swingall.jar:%%PREFIX%%/share/airport/AirportBaseStationConfig.jar" AirportBaseStationConfigurator
|
||||
|
||||
exit 1
|
||||
|
|
|
@ -32,8 +32,10 @@ do-install:
|
|||
@cd ${WRKSRC}; \
|
||||
${MKDIR} ${PREFIX}/share/airport; \
|
||||
${CP} -r ${WRKSRC}/* ${PREFIX}/share/airport; \
|
||||
${SED} -e s,%%PREFIX%%,${PREFIX},g \
|
||||
${SED} \
|
||||
-e s,%%PREFIX%%,${PREFIX},g \
|
||||
-e s/%%JFC_VERSION%%/${JFC_VERSION}/ \
|
||||
-e s/%%JDK_VERSION%%/${JDK_VERSION}/ \
|
||||
< ${FILESDIR}/airport > ${PREFIX}/bin/airport; \
|
||||
${CHMOD} a+x ${PREFIX}/bin/airport
|
||||
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
#! /bin/sh
|
||||
|
||||
exec %%PREFIX%%/bin/javavm -cp "%%PREFIX%%/share/java/classes/jfc-%%JFC_VERSION%%/swingall.jar:%%PREFIX%%/share/airport/AirportBaseStationConfig.jar" AirportBaseStationConfigurator
|
||||
# Use this one for JDK 1.2 and beyond:
|
||||
# exec %%PREFIX%%/bin/javavm -jar %%PREFIX%%/share/airport/AirportBaseStationConfig.jar
|
||||
|
||||
# Use this one for the default installation -- JDK 1.1.x + JFC:
|
||||
exec %%PREFIX%%/bin/javavm -classpath "%%PREFIX%%/jdk%%JDK_VERSION%%/lib/classes.zip:%%PREFIX%%/share/java/classes/jfc-%%JFC_VERSION%%/swingall.jar:%%PREFIX%%/share/airport/AirportBaseStationConfig.jar" AirportBaseStationConfigurator
|
||||
|
||||
exit 1
|
||||
|
|
Loading…
Reference in a new issue