2000-09-16 17:38:55 +00:00
|
|
|
# New ports collection makefile for: airport
|
|
|
|
# Date created: 2000/09/16
|
|
|
|
# Whom: Nick Sayer
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= airport
|
2002-11-23 15:09:18 +00:00
|
|
|
PORTVERSION= 2.0.1
|
2004-02-23 04:42:13 +00:00
|
|
|
CATEGORIES= net-mgmt java
|
2005-10-12 16:53:59 +00:00
|
|
|
MASTER_SITES= http://edge.cs.drexel.edu/GICL/people/sevy/airport/
|
2002-11-23 15:09:18 +00:00
|
|
|
DISTFILES= configurator_${PORTVERSION:S/.0.1/01/g}${EXTRACT_SUFX} \
|
2002-05-26 16:36:05 +00:00
|
|
|
configurator_${OLDAPCVERSION:S/.//g}${EXTRACT_SUFX} \
|
2001-05-22 03:56:36 +00:00
|
|
|
link_monitor_${LINKMONVERSION:S/.//}${EXTRACT_SUFX} \
|
2001-05-24 03:02:43 +00:00
|
|
|
host_monitor_${HOSTMONVERSION:S/.//}${EXTRACT_SUFX} \
|
|
|
|
airportmodemutility_${MODEMVERSION:S/.//}${EXTRACT_SUFX}
|
2000-09-16 17:38:55 +00:00
|
|
|
|
2002-11-23 15:09:18 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 19:00:52 +00:00
|
|
|
COMMENT= Apple Airport / Lucent RG-1000 configuration program
|
2000-09-16 17:38:55 +00:00
|
|
|
|
2002-05-26 16:26:23 +00:00
|
|
|
RUN_DEPENDS= javavm:${PORTSDIR}/java/javavmwrapper
|
2000-09-16 17:38:55 +00:00
|
|
|
|
2001-05-22 03:56:36 +00:00
|
|
|
EXTRACT_BEFORE_ARGS= -q -o
|
|
|
|
|
2000-09-16 17:38:55 +00:00
|
|
|
USE_ZIP= YES
|
2002-05-26 16:26:23 +00:00
|
|
|
USE_JAVA= 1.2+
|
2000-09-16 17:38:55 +00:00
|
|
|
|
|
|
|
NO_WRKSUBDIR= YES
|
2002-05-26 16:26:23 +00:00
|
|
|
NO_BUILD= yes
|
2000-09-16 17:38:55 +00:00
|
|
|
|
2002-05-26 16:36:05 +00:00
|
|
|
OLDAPCVERSION= 1.5.2
|
2001-05-22 03:56:36 +00:00
|
|
|
LINKMONVERSION= 1.1
|
|
|
|
HOSTMONVERSION= 1.0
|
2002-05-26 16:26:23 +00:00
|
|
|
MODEMVERSION= 2.0
|
2000-09-16 17:38:55 +00:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
@cd ${WRKSRC}; \
|
2001-05-04 23:39:47 +00:00
|
|
|
${MKDIR} ${PREFIX}/share/doc/airport/helpdocs; \
|
|
|
|
${MKDIR} ${PREFIX}/share/java; \
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/*jar ${PREFIX}/share/java; \
|
2002-11-23 15:09:18 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/configurator_${PORTVERSION:S/.0.1/0/g}/*jar ${PREFIX}/share/java; \
|
2002-05-26 16:36:05 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/configurator_${OLDAPCVERSION:S/.//g}/*jar ${PREFIX}/share/java; \
|
2002-11-23 15:09:18 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/airportmodemutility_${PORTVERSION:S/.0.1/0/g}/*jar ${PREFIX}/share/java; \
|
2001-05-24 03:02:43 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/AUTHORS ${PREFIX}/share/doc/airport; \
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/COPYING ${PREFIX}/share/doc/airport; \
|
2002-11-23 15:09:18 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/configurator_${PORTVERSION:S/.0.1/0/g}/helpdocs/* ${PREFIX}/share/doc/airport/helpdocs; \
|
2001-05-04 23:17:47 +00:00
|
|
|
${SED} \
|
|
|
|
-e s,%%PREFIX%%,${PREFIX},g \
|
2000-09-17 00:35:42 +00:00
|
|
|
< ${FILESDIR}/airport > ${PREFIX}/bin/airport; \
|
2000-09-16 17:38:55 +00:00
|
|
|
${CHMOD} a+x ${PREFIX}/bin/airport
|
2002-05-26 16:36:05 +00:00
|
|
|
${LN} ${PREFIX}/bin/airport ${PREFIX}/bin/airport2
|
2001-05-22 03:56:36 +00:00
|
|
|
${LN} ${PREFIX}/bin/airport ${PREFIX}/bin/hostmon
|
|
|
|
${LN} ${PREFIX}/bin/airport ${PREFIX}/bin/linkmon
|
2001-05-24 03:02:43 +00:00
|
|
|
${LN} ${PREFIX}/bin/airport ${PREFIX}/bin/airmodem
|
2000-09-16 17:38:55 +00:00
|
|
|
|
2002-11-23 15:09:18 +00:00
|
|
|
.include <bsd.port.mk>
|