summaryrefslogtreecommitdiffstats
path: root/net-mgmt/airport
diff options
context:
space:
mode:
authornsayer <nsayer@FreeBSD.org>2000-09-17 00:35:42 +0000
committernsayer <nsayer@FreeBSD.org>2000-09-17 00:35:42 +0000
commitfbce194e54fe826aa71d03b29876ab88ab601c47 (patch)
treeb2d5980a69363ab7763aea33a163935c16b7f0a6 /net-mgmt/airport
parentff647b31f9e5f5581f4a678e419ea34f0dc860c1 (diff)
downloadFreeBSD-ports-fbce194e54fe826aa71d03b29876ab88ab601c47.zip
FreeBSD-ports-fbce194e54fe826aa71d03b29876ab88ab601c47.tar.gz
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/airport')
-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 7c01730..cae4c39 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 42a555f..e95361c 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 fc2bbcb..68fe8b4 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
OpenPOWER on IntegriCloud