summaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorNick Sayer <nsayer@FreeBSD.org>2000-09-16 17:38:55 +0000
committerNick Sayer <nsayer@FreeBSD.org>2000-09-16 17:38:55 +0000
commitce3d454d876f019f8ee65ac0bc3c974bfef5bc3f (patch)
treeaa1981947321fa86c081370a1137b2313ad5f257 /net-mgmt
parentautozen is a GTK+ based program to adjust brain waves with sound. (diff)
Add port for java airport configurator
Notes
Notes: svn path=/head/; revision=32705
Diffstat (limited to 'net-mgmt')
-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