1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/net-mgmt/airport/Makefile
Nick Sayer f3d2de21de 1. Depend on the jdk, not the jre.
2. Depend on the jfc port rather than providing our own swing lib.

3. It's really v1.2, not 1.0
2000-09-17 00:35:42 +00:00

41 lines
947 B
Makefile

# New ports collection makefile for: airport
# Date created: 2000/09/16
# Whom: Nick Sayer
#
# $FreeBSD$
#
PORTNAME= airport
PORTVERSION= 1.2
CATEGORIES= net java
MASTER_SITES= http://edge.mcs.drexel.edu/GICL/people/sevy/airport/
DISTFILES= configurator${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
USE_ZIP= YES
NO_WRKSUBDIR= YES
JDK_VERSION= 1.1.8
JFC_VERSION= 1.1.1
NO_BUILD= yes
.include <bsd.port.pre.mk>
do-install:
@cd ${WRKSRC}; \
${MKDIR} ${PREFIX}/share/airport; \
${CP} -r ${WRKSRC}/* ${PREFIX}/share/airport; \
${SED} -e s,%%PREFIX%%,${PREFIX},g \
-e s/%%JDK_VERSION%%/${JDK_VERSION}/ \
-e s/%%JFC_VERSION%%/${JFC_VERSION}/ \
< ${FILESDIR}/airport > ${PREFIX}/bin/airport; \
${CHMOD} a+x ${PREFIX}/bin/airport
.include <bsd.port.post.mk>