diff options
author | Nick Sayer <nsayer@FreeBSD.org> | 2001-05-04 23:17:47 +0000 |
---|---|---|
committer | Nick Sayer <nsayer@FreeBSD.org> | 2001-05-04 23:17:47 +0000 |
commit | 33b31b6d5ec267822bbb7a0176b3521df8128819 (patch) | |
tree | 762c642b5f616a5f3a9cb887f4409242cef0c79c /net-mgmt/airport | |
parent | 45b50cfab01bbc44ae564155e1a2aaa00a57703e (diff) | |
download | ports-33b31b6d5ec267822bbb7a0176b3521df8128819.tar.gz ports-33b31b6d5ec267822bbb7a0176b3521df8128819.zip |
Notes
Diffstat (limited to 'net-mgmt/airport')
-rw-r--r-- | net-mgmt/airport/Makefile | 4 | ||||
-rw-r--r-- | net-mgmt/airport/files/airport | 6 |
2 files changed, 8 insertions, 2 deletions
diff --git a/net-mgmt/airport/Makefile b/net-mgmt/airport/Makefile index 637e77fc6eb0..c6f4f0040da1 100644 --- a/net-mgmt/airport/Makefile +++ b/net-mgmt/airport/Makefile @@ -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 diff --git a/net-mgmt/airport/files/airport b/net-mgmt/airport/files/airport index 4e1254dd28bf..5c8303d602b7 100644 --- a/net-mgmt/airport/files/airport +++ b/net-mgmt/airport/files/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 |