aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authornsayer <nsayer@FreeBSD.org>2002-05-27 00:36:05 +0800
committernsayer <nsayer@FreeBSD.org>2002-05-27 00:36:05 +0800
commit7f5c45885fa4e6578cfd4b67087543c228ef092b (patch)
treedc5d01efda4950fa3cfe061d6c52e3e6652d335a /net-mgmt
parentddd9844666bb5e4fd80532b66c4a9d01348b0e2a (diff)
downloadfreebsd-ports-gnome-7f5c45885fa4e6578cfd4b67087543c228ef092b.tar.gz
freebsd-ports-gnome-7f5c45885fa4e6578cfd4b67087543c228ef092b.tar.zst
freebsd-ports-gnome-7f5c45885fa4e6578cfd4b67087543c228ef092b.zip
Oops. You need to install *both* kinds of configurator. Which you use
depends on which version of the airport ("graphite" or "snow") you own.
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/airport/Makefile4
-rw-r--r--net-mgmt/airport/distinfo1
-rw-r--r--net-mgmt/airport/files/airport3
-rw-r--r--net-mgmt/airport/pkg-plist1
4 files changed, 9 insertions, 0 deletions
diff --git a/net-mgmt/airport/Makefile b/net-mgmt/airport/Makefile
index b040dd7e2d58..e4f2a6e98447 100644
--- a/net-mgmt/airport/Makefile
+++ b/net-mgmt/airport/Makefile
@@ -10,6 +10,7 @@ PORTVERSION= 2.0
CATEGORIES= net java
MASTER_SITES= http://edge.mcs.drexel.edu/GICL/people/sevy/airport/
DISTFILES= configurator_${PORTVERSION:S/.//g}${EXTRACT_SUFX} \
+ configurator_${OLDAPCVERSION:S/.//g}${EXTRACT_SUFX} \
link_monitor_${LINKMONVERSION:S/.//}${EXTRACT_SUFX} \
host_monitor_${HOSTMONVERSION:S/.//}${EXTRACT_SUFX} \
airportmodemutility_${MODEMVERSION:S/.//}${EXTRACT_SUFX}
@@ -26,6 +27,7 @@ USE_JAVA= 1.2+
NO_WRKSUBDIR= YES
NO_BUILD= yes
+OLDAPCVERSION= 1.5.2
LINKMONVERSION= 1.1
HOSTMONVERSION= 1.0
MODEMVERSION= 2.0
@@ -38,6 +40,7 @@ do-install:
${MKDIR} ${PREFIX}/share/java; \
${INSTALL_DATA} ${WRKSRC}/*jar ${PREFIX}/share/java; \
${INSTALL_DATA} ${WRKSRC}/configurator_${PORTVERSION:S/.//g}/*jar ${PREFIX}/share/java; \
+ ${INSTALL_DATA} ${WRKSRC}/configurator_${OLDAPCVERSION:S/.//g}/*jar ${PREFIX}/share/java; \
${INSTALL_DATA} ${WRKSRC}/airportmodemutility_${PORTVERSION:S/.//g}/*jar ${PREFIX}/share/java; \
${INSTALL_DATA} ${WRKSRC}/AUTHORS ${PREFIX}/share/doc/airport; \
${INSTALL_DATA} ${WRKSRC}/COPYING ${PREFIX}/share/doc/airport; \
@@ -46,6 +49,7 @@ do-install:
-e s,%%PREFIX%%,${PREFIX},g \
< ${FILESDIR}/airport > ${PREFIX}/bin/airport; \
${CHMOD} a+x ${PREFIX}/bin/airport
+ ${LN} ${PREFIX}/bin/airport ${PREFIX}/bin/airport2
${LN} ${PREFIX}/bin/airport ${PREFIX}/bin/hostmon
${LN} ${PREFIX}/bin/airport ${PREFIX}/bin/linkmon
${LN} ${PREFIX}/bin/airport ${PREFIX}/bin/airmodem
diff --git a/net-mgmt/airport/distinfo b/net-mgmt/airport/distinfo
index 40edbf990b38..4c46d23d6379 100644
--- a/net-mgmt/airport/distinfo
+++ b/net-mgmt/airport/distinfo
@@ -1,4 +1,5 @@
MD5 (configurator_20.zip) = 656bf8a262ae6efe9ddfc9297537d24d
+MD5 (configurator_152.zip) = 1abe6dc50d85dfbca51101dd689e6fea
MD5 (link_monitor_11.zip) = e6837268e0edcdfd1566dec35b09deb7
MD5 (host_monitor_10.zip) = 8f413a9a283c28d3e7ba461b79da1b45
MD5 (airportmodemutility_20.zip) = 502cb25bddd0ba95c2d5c746a6b47844
diff --git a/net-mgmt/airport/files/airport b/net-mgmt/airport/files/airport
index db90951dd305..b5cd960bcc44 100644
--- a/net-mgmt/airport/files/airport
+++ b/net-mgmt/airport/files/airport
@@ -2,6 +2,9 @@
case $0 in
*airport)
+ file=AirportBaseStationConfig
+ ;;
+ *airport2)
file=Airport2BaseStationConfig
;;
*hostmon)
diff --git a/net-mgmt/airport/pkg-plist b/net-mgmt/airport/pkg-plist
index a7488f6f5d9d..109e5ed71fc2 100644
--- a/net-mgmt/airport/pkg-plist
+++ b/net-mgmt/airport/pkg-plist
@@ -3,6 +3,7 @@ bin/hostmon
bin/linkmon
bin/airmodem
share/java/Airport2BaseStationConfig.jar
+share/java/AirportBaseStationConfig.jar
share/java/HostMonitor.jar
share/java/LinkMonitor.jar
share/java/AirportModemUtility.jar