aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authornsayer <nsayer@FreeBSD.org>2001-05-24 11:02:43 +0800
committernsayer <nsayer@FreeBSD.org>2001-05-24 11:02:43 +0800
commitbbc2b740bf2719f8edf08fdb609e1e29b53a2d57 (patch)
tree8b170da5af12cd43cf9594f3e20508e5625a596d /net-mgmt
parent79f811af7f9bebed2e567ec83703e737d910556b (diff)
downloadfreebsd-ports-gnome-bbc2b740bf2719f8edf08fdb609e1e29b53a2d57.tar.gz
freebsd-ports-gnome-bbc2b740bf2719f8edf08fdb609e1e29b53a2d57.tar.zst
freebsd-ports-gnome-bbc2b740bf2719f8edf08fdb609e1e29b53a2d57.zip
1. Add the modem connect/hangup utility, since the author has provided a
version numbered distfile. 2. Fix the configurator class name in the script. 3. Use INSTALL_DATA rather than CP to install the docs. 4. bump PORTREVISION again.
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/airport/Makefile14
-rw-r--r--net-mgmt/airport/distinfo1
-rw-r--r--net-mgmt/airport/files/airport7
-rw-r--r--net-mgmt/airport/pkg-plist3
4 files changed, 19 insertions, 6 deletions
diff --git a/net-mgmt/airport/Makefile b/net-mgmt/airport/Makefile
index a2d95bb05364..4d82c6891e9c 100644
--- a/net-mgmt/airport/Makefile
+++ b/net-mgmt/airport/Makefile
@@ -7,12 +7,13 @@
PORTNAME= airport
PORTVERSION= 1.4
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= net java
MASTER_SITES= http://edge.mcs.drexel.edu/GICL/people/sevy/airport/
DISTFILES= configurator_${PORTVERSION:S/.//}${EXTRACT_SUFX} \
link_monitor_${LINKMONVERSION:S/.//}${EXTRACT_SUFX} \
- host_monitor_${HOSTMONVERSION:S/.//}${EXTRACT_SUFX}
+ host_monitor_${HOSTMONVERSION:S/.//}${EXTRACT_SUFX} \
+ airportmodemutility_${MODEMVERSION:S/.//}${EXTRACT_SUFX}
MAINTAINER= nsayer@freebsd.org
@@ -30,6 +31,7 @@ JDK_VERSION= 1.1.8
JFC_VERSION= 1.1.1
LINKMONVERSION= 1.1
HOSTMONVERSION= 1.0
+MODEMVERSION= 1.3
NO_BUILD= yes
@@ -40,9 +42,10 @@ do-install:
${MKDIR} ${PREFIX}/share/doc/airport/helpdocs; \
${MKDIR} ${PREFIX}/share/java; \
${INSTALL_DATA} ${WRKSRC}/*jar ${PREFIX}/share/java; \
- ${CP} ${WRKSRC}/AUTHORS ${PREFIX}/share/doc/airport; \
- ${CP} ${WRKSRC}/COPYING ${PREFIX}/share/doc/airport; \
- ${CP} -r ${WRKSRC}/helpdocs/* ${PREFIX}/share/doc/airport/helpdocs; \
+ ${INSTALL_DATA} ${WRKSRC}/AUTHORS ${PREFIX}/share/doc/airport; \
+ ${INSTALL_DATA} ${WRKSRC}/COPYING ${PREFIX}/share/doc/airport; \
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/airport; \
+ ${INSTALL_DATA} ${WRKSRC}/helpdocs/* ${PREFIX}/share/doc/airport/helpdocs; \
${SED} \
-e s,%%PREFIX%%,${PREFIX},g \
-e s/%%JFC_VERSION%%/${JFC_VERSION}/ \
@@ -51,5 +54,6 @@ do-install:
${CHMOD} a+x ${PREFIX}/bin/airport
${LN} ${PREFIX}/bin/airport ${PREFIX}/bin/hostmon
${LN} ${PREFIX}/bin/airport ${PREFIX}/bin/linkmon
+ ${LN} ${PREFIX}/bin/airport ${PREFIX}/bin/airmodem
.include <bsd.port.post.mk>
diff --git a/net-mgmt/airport/distinfo b/net-mgmt/airport/distinfo
index 7c701666edf2..43483fdf9ff2 100644
--- a/net-mgmt/airport/distinfo
+++ b/net-mgmt/airport/distinfo
@@ -1,3 +1,4 @@
MD5 (configurator_14.zip) = b9dbbf78e7a69e358a0237def72cad32
MD5 (link_monitor_11.zip) = e6837268e0edcdfd1566dec35b09deb7
MD5 (host_monitor_10.zip) = 8f413a9a283c28d3e7ba461b79da1b45
+MD5 (airportmodemutility_13.zip) = a8c7383a6d74f2fd4cb843dac8f0f727
diff --git a/net-mgmt/airport/files/airport b/net-mgmt/airport/files/airport
index 5d0084f0287b..d3cf5e51d995 100644
--- a/net-mgmt/airport/files/airport
+++ b/net-mgmt/airport/files/airport
@@ -3,7 +3,7 @@
case $0 in
*airport)
class=AirportBaseStationConfigurator
- file=AirportBaseStationConfigurator
+ file=AirportBaseStationConfig
;;
*hostmon)
class=HostMonitor
@@ -13,6 +13,11 @@ case $0 in
class=LinkMonitor
file=LinkMonitor
;;
+ *airmodem)
+ class=AirportBaseStationHangup
+ file=AirportModemUtility
+ ;;
+ *)
*)
echo "Unknown command"
exit 1
diff --git a/net-mgmt/airport/pkg-plist b/net-mgmt/airport/pkg-plist
index 4f76b119a17f..05d63c816afa 100644
--- a/net-mgmt/airport/pkg-plist
+++ b/net-mgmt/airport/pkg-plist
@@ -1,11 +1,14 @@
bin/airport
bin/hostmon
bin/linkmon
+bin/airmodem
share/java/AirportBaseStationConfig.jar
share/java/HostMonitor.jar
share/java/LinkMonitor.jar
+share/java/AirportModemUtility.jar
share/doc/airport/AUTHORS
share/doc/airport/COPYING
+share/doc/airport/README
share/doc/airport/helpdocs/ReadMe.txt
share/doc/airport/helpdocs/mainscreen.jpg
share/doc/airport/helpdocs/manual.html