mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-31 21:57:12 +00:00
0b04168c9b
2. Don't cd in the script, use the full path to the jar instead. 3. Remove obsolete swing library md5 entry
41 lines
949 B
Makefile
41 lines
949 B
Makefile
# New ports collection makefile for: airport
|
|
# Date created: 2000/09/16
|
|
# Whom: Nick Sayer
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= airport
|
|
PORTVERSION= 1.2.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>
|