diff options
author | tron <tron> | 2003-03-22 14:45:47 +0000 |
---|---|---|
committer | tron <tron> | 2003-03-22 14:45:47 +0000 |
commit | e509b51c4da9df226b6beaf2f50d5dd2eea5db9e (patch) | |
tree | e7aae1cf62b89fa7c72ad22c97073ae10841d9fd | |
parent | bcadceb81cdd8c7b7416b60ad3651463435ffd0f (diff) | |
download | pkgsrc-e509b51c4da9df226b6beaf2f50d5dd2eea5db9e.tar.gz |
Import new "airportmodemutility" package:
Modem (dis)connection utility for Apple's Airport Base Station
This packages was contributed by Christopher Richards in PR pkg/19375.
-rw-r--r-- | net/airportmodemutility/DESCR | 6 | ||||
-rw-r--r-- | net/airportmodemutility/Makefile | 55 | ||||
-rw-r--r-- | net/airportmodemutility/PLIST | 8 | ||||
-rw-r--r-- | net/airportmodemutility/distinfo | 4 |
4 files changed, 73 insertions, 0 deletions
diff --git a/net/airportmodemutility/DESCR b/net/airportmodemutility/DESCR new file mode 100644 index 00000000000..3924413d871 --- /dev/null +++ b/net/airportmodemutility/DESCR @@ -0,0 +1,6 @@ +This is a small Java-based utility that monitors the connection state +of the modem of an Apple AirPort Base Station, sends signals to +connect or disconnect the modem on demand, and displays the +(approximate) length of time the modem has been connected. Version 2.0 +also displays the modem connection speed when used with the new +("snow") version base stations. diff --git a/net/airportmodemutility/Makefile b/net/airportmodemutility/Makefile new file mode 100644 index 00000000000..c67b44e9890 --- /dev/null +++ b/net/airportmodemutility/Makefile @@ -0,0 +1,55 @@ +# $NetBSD: Makefile,v 1.1.1.1 2003/03/22 14:45:47 tron Exp $ + +DISTNAME= ${BINNAME}_20 +PKGNAME= ${BINNAME}-2.0 +CATEGORIES= net +MASTER_SITES= ${HOMEPAGE} +EXTRACT_SUFX= .zip + +MAINTAINER= packages@netbsd.org +HOMEPAGE= http://edge.mcs.drexel.edu/GICL/people/sevy/airport/ +COMMENT= Modem (dis)connection utility for Apple's Airport Base Station + +PLIST_SUBST+= BINNAME=${BINNAME} JARNAME=${JARNAME} + +ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-powerpc Darwin-*-* + +BINNAME= airportmodemutility +DOCDIR= ${PREFIX}/share/doc/${BINNAME} +JARNAME= AirportModemUtility.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 ${JVM_OPTS} ${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} && \ + ${INSTALL_DATA} README ${DOCDIR} + +.include "../../mk/java-vm.mk" +.include "../../mk/bsd.pkg.mk" + +.if ${PKG_JVM} == "blackdown-jdk13" +JVM_OPTS+= -green -jar +.else +JVM_OPTS+= -jar +.endif diff --git a/net/airportmodemutility/PLIST b/net/airportmodemutility/PLIST new file mode 100644 index 00000000000..570feb51348 --- /dev/null +++ b/net/airportmodemutility/PLIST @@ -0,0 +1,8 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2003/03/22 14:45:47 tron Exp $ +bin/airportmodemutility +lib/airportmodemutility/AirportModemUtility.jar +share/doc/airportmodemutility/AUTHORS +share/doc/airportmodemutility/COPYING +share/doc/airportmodemutility/README +@dirrm share/doc/airportmodemutility +@dirrm lib/airportmodemutility diff --git a/net/airportmodemutility/distinfo b/net/airportmodemutility/distinfo new file mode 100644 index 00000000000..45c721db5ad --- /dev/null +++ b/net/airportmodemutility/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1 2003/03/22 14:45:47 tron Exp $ + +SHA1 (airportmodemutility_20.zip) = badceefaea37499159c0284a8bb986d111fcbf40 +Size (airportmodemutility_20.zip) = 16316 bytes |