summaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorNick Sayer <nsayer@FreeBSD.org>2000-09-17 00:35:42 +0000
committerNick Sayer <nsayer@FreeBSD.org>2000-09-17 00:35:42 +0000
commitf3d2de21de2510c6561702b6175671fa55d9ae5f (patch)
tree403363d9d98522019a9da7d3c04fc98565d55432 /net-mgmt
parentUpdate to 3.1.17. (diff)
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
Notes
Notes: svn path=/head/; revision=32734
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