1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/net-mgmt/airport/Makefile
2001-06-01 13:35:18 +00:00

59 lines
1.7 KiB
Makefile

# New ports collection makefile for: airport
# Date created: 2000/09/16
# Whom: Nick Sayer
#
# $FreeBSD$
#
PORTNAME= airport
PORTVERSION= 1.5
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} \
airportmodemutility_${MODEMVERSION:S/.//}${EXTRACT_SUFX}
MAINTAINER= nsayer@freebsd.org
RUN_DEPENDS= ${LOCALBASE}/jdk${JDK_VERSION}/bin/java:${PORTSDIR}/java/jdk \
${LOCALBASE}/share/java/classes/jfc-${JFC_VERSION}/swingall.jar:${PORTSDIR}/java/jfc \
${LOCALBASE}/bin/javavm:${PORTSDIR}/java/javavmwrapper
EXTRACT_BEFORE_ARGS= -q -o
USE_ZIP= YES
NO_WRKSUBDIR= YES
JDK_VERSION= 1.1.8
JFC_VERSION= 1.1.1
LINKMONVERSION= 1.1
HOSTMONVERSION= 1.0
MODEMVERSION= 1.3
NO_BUILD= yes
.include <bsd.port.pre.mk>
do-install:
@cd ${WRKSRC}; \
${MKDIR} ${PREFIX}/share/doc/airport/helpdocs; \
${MKDIR} ${PREFIX}/share/java; \
${INSTALL_DATA} ${WRKSRC}/*jar ${PREFIX}/share/java; \
${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}/ \
-e s/%%JDK_VERSION%%/${JDK_VERSION}/ \
< ${FILESDIR}/airport > ${PREFIX}/bin/airport; \
${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>