summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2003-06-05 12:31:35 +0000
committermarkd <markd@pkgsrc.org>2003-06-05 12:31:35 +0000
commit3a22199735aed0a1dac0cff79cc219c09ec21bf9 (patch)
tree65fbe7e8074fa825eb141b3011c33ac6bc6e766e
parent2d4086d16a1a798654563f2da9d559e3ce8930d0 (diff)
downloadpkgsrc-3a22199735aed0a1dac0cff79cc219c09ec21bf9.tar.gz
Import of Airport Base Station Configuration program version 2.0.1.
Imported as a separate package as this version works with the newer "snow" Base Station and with the Airport Extreme but *not* with the original Base Station.
-rw-r--r--net/airport2basestationconfig/DESCR9
-rw-r--r--net/airport2basestationconfig/Makefile52
-rw-r--r--net/airport2basestationconfig/PLIST10
-rw-r--r--net/airport2basestationconfig/distinfo4
4 files changed, 75 insertions, 0 deletions
diff --git a/net/airport2basestationconfig/DESCR b/net/airport2basestationconfig/DESCR
new file mode 100644
index 00000000000..e2ff7fc1d19
--- /dev/null
+++ b/net/airport2basestationconfig/DESCR
@@ -0,0 +1,9 @@
+The Airport Base Station Configurator is a Java application which is used
+to inspect and change the configuration of Apple's Airport Base Station.
+Apple itself offers software to provide this functionality; however, it
+requires a Macintosh running Mac OS 8.6 or greater to run. This application,
+being written entirely in Java, will run on any host which has a Java Runtime
+Environment installed, including Windows-based machines and most Unix variants.
+
+This configuration software is intended for use with the new "snow"
+Airport Base Station with *two* ethernet ports and for the "Extreme".
diff --git a/net/airport2basestationconfig/Makefile b/net/airport2basestationconfig/Makefile
new file mode 100644
index 00000000000..7302c57855c
--- /dev/null
+++ b/net/airport2basestationconfig/Makefile
@@ -0,0 +1,52 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/06/05 12:31:35 markd Exp $
+
+DISTNAME= configurator_201
+PKGNAME= ${BINNAME}-2.0.1
+CATEGORIES= net
+MASTER_SITES= ${HOMEPAGE}
+EXTRACT_SUFX= .zip
+
+MAINTAINER= markd@netbsd.org
+HOMEPAGE= http://edge.mcs.drexel.edu/GICL/people/sevy/airport/
+COMMENT= Configuration program for Apple's Airport Base Station
+
+PLIST_SUBST+= BINNAME=${BINNAME} JARNAME=${JARNAME}
+
+ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-powerpc Darwin-*-*
+
+WRKSRC= ${WRKDIR}/configurator_20
+BINNAME= airport2basestationconfig
+DOCDIR= ${PREFIX}/share/doc/${BINNAME}
+JARNAME= Airport2BaseStationConfig.jar
+LIBDIR= ${PREFIX}/lib/${BINNAME}
+
+.include "../../mk/bsd.prefs.mk"
+
+USE_BUILDLINK2= # defined
+USE_JAVA= run
+PKG_JVMS_ACCEPTED= sun-jdk13 sun-jdk14 blackdown-jdk13
+
+post-extract:
+ ${CHMOD} -R g-w,o-w ${WRKSRC}/*
+
+do-build:
+ ${ECHO} "#!/bin/sh" >${WRKSRC}/${BINNAME}
+ ${ECHO} "PATH=${PKG_JAVA_HOME}/bin:\$${PATH}; export PATH" >>${WRKSRC}/${BINNAME}
+.if defined(CLASSPATH)
+ ${ECHO} "CLASSPATH=${CLASSPATH}:\$${CLASSPATH}; export CLASSPATH" >>${WRKSRC}/${BINNAME}
+.endif
+ ${ECHO} "exec java -jar ${LIBDIR}/${JARNAME}" >>${WRKSRC}/${BINNAME}
+
+do-install:
+ ${INSTALL_DATA_DIR} ${DOCDIR} ${LIBDIR}
+ cd ${WRKSRC} && \
+ ${INSTALL_SCRIPT} ${BINNAME} ${PREFIX}/bin && \
+ ${INSTALL_DATA} ${JARNAME} ${LIBDIR} && \
+ ${INSTALL_DATA} AUTHORS ${DOCDIR} && \
+ ${INSTALL_DATA} COPYING ${DOCDIR} && \
+ cd helpdocs && \
+ ${INSTALL_DATA} ReadMe.txt ${DOCDIR}/README && \
+ ${INSTALL_DATA} mainscreen.jpg manual.html ${DOCDIR}
+
+.include "../../mk/java-vm.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/airport2basestationconfig/PLIST b/net/airport2basestationconfig/PLIST
new file mode 100644
index 00000000000..8066a591fb6
--- /dev/null
+++ b/net/airport2basestationconfig/PLIST
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/06/05 12:31:35 markd Exp $
+bin/${BINNAME}
+lib/${BINNAME}/${JARNAME}
+share/doc/${BINNAME}/AUTHORS
+share/doc/${BINNAME}/COPYING
+share/doc/${BINNAME}/README
+share/doc/${BINNAME}/mainscreen.jpg
+share/doc/${BINNAME}/manual.html
+@dirrm share/doc/${BINNAME}
+@dirrm lib/${BINNAME}
diff --git a/net/airport2basestationconfig/distinfo b/net/airport2basestationconfig/distinfo
new file mode 100644
index 00000000000..f2acd5e9214
--- /dev/null
+++ b/net/airport2basestationconfig/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/06/05 12:31:35 markd Exp $
+
+SHA1 (configurator_201.zip) = e918c26cb75ae8bb4d848279c048de4987074fa5
+Size (configurator_201.zip) = 155307 bytes