aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authornsayer <nsayer@FreeBSD.org>2000-09-17 08:35:42 +0800
committernsayer <nsayer@FreeBSD.org>2000-09-17 08:35:42 +0800
commitfbce194e54fe826aa71d03b29876ab88ab601c47 (patch)
treeb2d5980a69363ab7763aea33a163935c16b7f0a6 /net-mgmt
parentff647b31f9e5f5581f4a678e419ea34f0dc860c1 (diff)
downloadfreebsd-ports-gnome-fbce194e54fe826aa71d03b29876ab88ab601c47.tar.gz
freebsd-ports-gnome-fbce194e54fe826aa71d03b29876ab88ab601c47.tar.zst
freebsd-ports-gnome-fbce194e54fe826aa71d03b29876ab88ab601c47.zip
1. Depend on the jdk, not the jre.
2. Depend on the jfc port rather than providing our own swing lib. 3. It's really v1.2, not 1.0
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/airport/Makefile13
-rw-r--r--net-mgmt/airport/files/airport2
-rw-r--r--net-mgmt/airport/pkg-plist1
3 files changed, 10 insertions, 6 deletions
diff --git a/net-mgmt/airport/Makefile b/net-mgmt/airport/Makefile
index 7c0173003bb0..cae4c39b1513 100644
--- a/net-mgmt/airport/Makefile
+++ b/net-mgmt/airport/Makefile
@@ -6,20 +6,22 @@
#
PORTNAME= airport
-PORTVERSION= 1.0
+PORTVERSION= 1.2
CATEGORIES= net java
MASTER_SITES= http://edge.mcs.drexel.edu/GICL/people/sevy/airport/
-DISTFILES= configurator${EXTRACT_SUFX} swing${EXTRACT_SUFX}
+DISTFILES= configurator${EXTRACT_SUFX}
MAINTAINER= nsayer@freebsd.org
-RUN_DEPENDS= ${LOCALBASE}/jre${JDK_VERSION}/bin/jre:${PORTSDIR}/java/jre
+RUN_DEPENDS= ${LOCALBASE}/jdk${JDK_VERSION}/bin/java:${PORTSDIR}/java/jdk \
+ ${LOCALBASE}/share/java/classes/jfc-${JFC_VERSION}/swingall.jar:${PORTSDIR}/java/jfc
USE_ZIP= YES
NO_WRKSUBDIR= YES
JDK_VERSION= 1.1.8
+JFC_VERSION= 1.1.1
NO_BUILD= yes
@@ -29,7 +31,10 @@ do-install:
@cd ${WRKSRC}; \
${MKDIR} ${PREFIX}/share/airport; \
${CP} -r ${WRKSRC}/* ${PREFIX}/share/airport; \
- ${SED} -e s,%%PREFIX%%,${PREFIX}, -e s/%%JDK_VERSION%%/${JDK_VERSION}/ < ${FILESDIR}/airport > ${PREFIX}/bin/airport; \
+ ${SED} -e s,%%PREFIX%%,${PREFIX},g \
+ -e s/%%JDK_VERSION%%/${JDK_VERSION}/ \
+ -e s/%%JFC_VERSION%%/${JFC_VERSION}/ \
+ < ${FILESDIR}/airport > ${PREFIX}/bin/airport; \
${CHMOD} a+x ${PREFIX}/bin/airport
.include <bsd.port.post.mk>
diff --git a/net-mgmt/airport/files/airport b/net-mgmt/airport/files/airport
index 42a555f74305..e95361cfca46 100644
--- a/net-mgmt/airport/files/airport
+++ b/net-mgmt/airport/files/airport
@@ -2,6 +2,6 @@
cd %%PREFIX%%/share/airport
-exec %%PREFIX%%/jre%%JDK_VERSION%%/bin/jre -cp "AirportBaseStationConfig.jar:swingall.jar" AirportBaseStationConfigurator
+exec %%PREFIX%%/jdk%%JDK_VERSION%%/bin/jre -cp "%%PREFIX%%/share/java/classes/jfc-%%JFC_VERSION%%/swingall.jar:AirportBaseStationConfig.jar" AirportBaseStationConfigurator
exit 1
diff --git a/net-mgmt/airport/pkg-plist b/net-mgmt/airport/pkg-plist
index fc2bbcb4a20e..68fe8b4f540f 100644
--- a/net-mgmt/airport/pkg-plist
+++ b/net-mgmt/airport/pkg-plist
@@ -1,7 +1,6 @@
bin/airport
share/airport/AUTHORS
share/airport/COPYING
-share/airport/swingall.jar
share/airport/AirportBaseStationConfig.jar
share/airport/helpdocs/ReadMe.txt
share/airport/helpdocs/mainscreen.jpg