1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/net-mgmt/airport/Makefile
Mark Linimon 06e6677793 Now that the Java 1.3 and Java 1.4 ports are deprecated and will expire soon,
remove support for them from bsd.java.mk.  As Jikes is not available in Java 1.5
or higher, remove it from bsd.java.mk too (suggested by hq@) and from the ports
which used it (only occurences were USE_JIKES=no).  Support for the Blackdown VM
is also removed, as it is not available in Java 1.5 and higher.

Also remove the mapping from Java 1.1-1.4 to Java 1.5+ in bsd.java.mk to detect
old, broken ports; therefore bump the minimal value of JAVA_VERSION to 1.5.
While here, replace static values of JAVA_VERSION in files/*.in by
%%JAVA_VERSION%% .

PR:		ports/158969
Submitted by:	rene
Tested on:	pointyhat-west -exp
2011-07-21 05:03:02 +00:00

61 lines
1.8 KiB
Makefile

# New ports collection makefile for: airport
# Date created: 2000/09/16
# Whom: Nick Sayer
#
# $FreeBSD$
#
PORTNAME= airport
PORTVERSION= 2.0.1
PORTREVISION= 3
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.5+
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>