2000-09-16 19:38:55 +02:00
|
|
|
# New ports collection makefile for: airport
|
|
|
|
# Date created: 2000/09/16
|
|
|
|
# Whom: Nick Sayer
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= airport
|
2002-11-23 16:09:18 +01:00
|
|
|
PORTVERSION= 2.0.1
|
2008-06-06 16:17:21 +02:00
|
|
|
PORTREVISION= 3
|
2004-02-23 05:42:13 +01:00
|
|
|
CATEGORIES= net-mgmt java
|
2006-11-05 08:53:59 +01:00
|
|
|
MASTER_SITES= http://gicl.cs.drexel.edu/people/sevy/airport/
|
2002-11-23 16:09:18 +01:00
|
|
|
DISTFILES= configurator_${PORTVERSION:S/.0.1/01/g}${EXTRACT_SUFX} \
|
2002-05-26 18:36:05 +02:00
|
|
|
configurator_${OLDAPCVERSION:S/.//g}${EXTRACT_SUFX} \
|
2001-05-22 05:56:36 +02:00
|
|
|
link_monitor_${LINKMONVERSION:S/.//}${EXTRACT_SUFX} \
|
2001-05-24 05:02:43 +02:00
|
|
|
host_monitor_${HOSTMONVERSION:S/.//}${EXTRACT_SUFX} \
|
|
|
|
airportmodemutility_${MODEMVERSION:S/.//}${EXTRACT_SUFX}
|
2000-09-16 19:38:55 +02:00
|
|
|
|
2002-11-23 16:09:18 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 20:00:52 +01:00
|
|
|
COMMENT= Apple Airport / Lucent RG-1000 configuration program
|
2000-09-16 19:38:55 +02:00
|
|
|
|
2006-05-24 01:43:24 +02:00
|
|
|
RUN_DEPENDS= java:${PORTSDIR}/java/javavmwrapper
|
2000-09-16 19:38:55 +02:00
|
|
|
|
2001-05-22 05:56:36 +02:00
|
|
|
EXTRACT_BEFORE_ARGS= -q -o
|
|
|
|
|
2000-09-16 19:38:55 +02:00
|
|
|
USE_ZIP= YES
|
2006-05-24 01:43:24 +02:00
|
|
|
USE_JAVA= yes
|
|
|
|
JAVA_VERSION= 1.2+
|
2000-09-16 19:38:55 +02:00
|
|
|
|
|
|
|
NO_WRKSUBDIR= YES
|
2002-05-26 18:26:23 +02:00
|
|
|
NO_BUILD= yes
|
2000-09-16 19:38:55 +02:00
|
|
|
|
2002-05-26 18:36:05 +02:00
|
|
|
OLDAPCVERSION= 1.5.2
|
2001-05-22 05:56:36 +02:00
|
|
|
LINKMONVERSION= 1.1
|
|
|
|
HOSTMONVERSION= 1.0
|
2002-05-26 18:26:23 +02:00
|
|
|
MODEMVERSION= 2.0
|
2000-09-16 19:38:55 +02:00
|
|
|
|
2006-05-24 01:43:24 +02:00
|
|
|
SUB_FILES= airport.sh
|
|
|
|
|
|
|
|
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
|
|
|
|
|
2000-09-16 19:38:55 +02:00
|
|
|
do-install:
|
2006-05-24 01:43:24 +02:00
|
|
|
${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
|
2000-09-16 19:38:55 +02:00
|
|
|
|
2002-11-23 16:09:18 +01:00
|
|
|
.include <bsd.port.mk>
|