blob: faba0be36f02bc4ebf83b54e2c3542127b2aa998 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
# New ports collection makefile for: airport
# Date created: 2000/09/16
# Whom: Nick Sayer
#
# $FreeBSD$
#
PORTNAME= airport
PORTVERSION= 2.0.1
PORTREVISION= 1
CATEGORIES= net-mgmt java
MASTER_SITES= http://gicl.cs.drexel.edu/people/sevy/airport/
DISTFILES= configurator_${PORTVERSION:S/.0.1/01/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}
MAINTAINER= ports@FreeBSD.org
COMMENT= Apple Airport / Lucent RG-1000 configuration program
RUN_DEPENDS= java:${PORTSDIR}/java/javavmwrapper
EXTRACT_BEFORE_ARGS= -q -o
USE_ZIP= YES
USE_JAVA= yes
JAVA_VERSION= 1.2+
NO_WRKSUBDIR= YES
NO_BUILD= yes
OLDAPCVERSION= 1.5.2
LINKMONVERSION= 1.1
HOSTMONVERSION= 1.0
MODEMVERSION= 2.0
SUB_FILES= airport.sh
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
do-install:
${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/*jar ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/configurator_${PORTVERSION:S/.0.1/0/g}/*jar ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/configurator_${OLDAPCVERSION:S/.//g}/*jar ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/airportmodemutility_${PORTVERSION:S/.0.1/0/g}/*jar ${DATADIR}
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}/helpdocs
${INSTALL_DATA} ${WRKSRC}/AUTHORS ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/COPYING ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/configurator_${PORTVERSION:S/.0.1/0/g}/helpdocs/* ${DOCSDIR}/helpdocs
.endif
${INSTALL_SCRIPT} ${WRKDIR}/airport.sh ${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
.include <bsd.port.mk>
|