aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/airport
diff options
context:
space:
mode:
authornsayer <nsayer@FreeBSD.org>2000-09-17 01:38:55 +0800
committernsayer <nsayer@FreeBSD.org>2000-09-17 01:38:55 +0800
commit4f9a4aaa3cb0e25fcdbd02b2b39f3fc4f5dcdf21 (patch)
tree14b7b4781d337d987ad83790bb6abf6ef6cc8990 /net-mgmt/airport
parent5b2b3d6f08f9d6eaac545cd11253f29d435ddcef (diff)
downloadfreebsd-ports-gnome-4f9a4aaa3cb0e25fcdbd02b2b39f3fc4f5dcdf21.tar.gz
freebsd-ports-gnome-4f9a4aaa3cb0e25fcdbd02b2b39f3fc4f5dcdf21.tar.zst
freebsd-ports-gnome-4f9a4aaa3cb0e25fcdbd02b2b39f3fc4f5dcdf21.zip
Add port for java airport configurator
Diffstat (limited to 'net-mgmt/airport')
-rw-r--r--net-mgmt/airport/Makefile35
-rw-r--r--net-mgmt/airport/distinfo2
-rw-r--r--net-mgmt/airport/files/airport7
-rw-r--r--net-mgmt/airport/pkg-comment1
-rw-r--r--net-mgmt/airport/pkg-descr8
-rw-r--r--net-mgmt/airport/pkg-plist10
6 files changed, 63 insertions, 0 deletions
diff --git a/net-mgmt/airport/Makefile b/net-mgmt/airport/Makefile
new file mode 100644
index 000000000000..7c0173003bb0
--- /dev/null
+++ b/net-mgmt/airport/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: airport
+# Date created: 2000/09/16
+# Whom: Nick Sayer
+#
+# $FreeBSD$
+#
+
+PORTNAME= airport
+PORTVERSION= 1.0
+CATEGORIES= net java
+MASTER_SITES= http://edge.mcs.drexel.edu/GICL/people/sevy/airport/
+DISTFILES= configurator${EXTRACT_SUFX} swing${EXTRACT_SUFX}
+
+MAINTAINER= nsayer@freebsd.org
+
+RUN_DEPENDS= ${LOCALBASE}/jre${JDK_VERSION}/bin/jre:${PORTSDIR}/java/jre
+
+USE_ZIP= YES
+
+NO_WRKSUBDIR= YES
+
+JDK_VERSION= 1.1.8
+
+NO_BUILD= yes
+
+.include <bsd.port.pre.mk>
+
+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; \
+ ${CHMOD} a+x ${PREFIX}/bin/airport
+
+.include <bsd.port.post.mk>
diff --git a/net-mgmt/airport/distinfo b/net-mgmt/airport/distinfo
new file mode 100644
index 000000000000..a71ba800a4cb
--- /dev/null
+++ b/net-mgmt/airport/distinfo
@@ -0,0 +1,2 @@
+MD5 (configurator.zip) = b743eca03f70624fc987a9c9204547f4
+MD5 (swing.zip) = 0592b0d019baffd19af7408c3f26cfa1
diff --git a/net-mgmt/airport/files/airport b/net-mgmt/airport/files/airport
new file mode 100644
index 000000000000..42a555f74305
--- /dev/null
+++ b/net-mgmt/airport/files/airport
@@ -0,0 +1,7 @@
+#! /bin/sh
+
+cd %%PREFIX%%/share/airport
+
+exec %%PREFIX%%/jre%%JDK_VERSION%%/bin/jre -cp "AirportBaseStationConfig.jar:swingall.jar" AirportBaseStationConfigurator
+
+exit 1
diff --git a/net-mgmt/airport/pkg-comment b/net-mgmt/airport/pkg-comment
new file mode 100644
index 000000000000..212ba7638bcc
--- /dev/null
+++ b/net-mgmt/airport/pkg-comment
@@ -0,0 +1 @@
+Apple Airport / Lucent RG-1000 configuration program
diff --git a/net-mgmt/airport/pkg-descr b/net-mgmt/airport/pkg-descr
new file mode 100644
index 000000000000..42cc9b7a5ba3
--- /dev/null
+++ b/net-mgmt/airport/pkg-descr
@@ -0,0 +1,8 @@
+This is a configuration program for the Apple Airport and Lucent RG-1000
+in Java.
+
+The Airport and Lucent RG-1000 are the same, except for one detail:
+On the RG-1000 the net name cannot be changed and is overridden by
+the hex number on the label on the bottom.
+
+WWW: http://edge.mcs.drexel.edu/GICL/people/sevy/airport/index.html
diff --git a/net-mgmt/airport/pkg-plist b/net-mgmt/airport/pkg-plist
new file mode 100644
index 000000000000..fc2bbcb4a20e
--- /dev/null
+++ b/net-mgmt/airport/pkg-plist
@@ -0,0 +1,10 @@
+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
+share/airport/helpdocs/manual.html
+@dirrm share/airport/helpdocs
+@dirrm share/airport