diff options
author | jlam <jlam> | 2002-10-18 21:24:55 +0000 |
---|---|---|
committer | jlam <jlam> | 2002-10-18 21:24:55 +0000 |
commit | a67ab513c39a4db7d79b8843c6c5924f4b621637 (patch) | |
tree | caf52a7b9a55cea7dfc90a3e6f68cbe1407e07a3 /net/airportbasestationconfig | |
parent | e12bfa5f05193dff4fbfb604ef15e70410130861 (diff) | |
download | pkgsrc-a67ab513c39a4db7d79b8843c6c5924f4b621637.tar.gz |
Trivially use buildlink2 and use java.mk.
Diffstat (limited to 'net/airportbasestationconfig')
-rw-r--r-- | net/airportbasestationconfig/Makefile | 28 |
1 files changed, 11 insertions, 17 deletions
diff --git a/net/airportbasestationconfig/Makefile b/net/airportbasestationconfig/Makefile index ff1043a2613..35a70dfc986 100644 --- a/net/airportbasestationconfig/Makefile +++ b/net/airportbasestationconfig/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2002/10/10 01:01:11 jlam Exp $ +# $NetBSD: Makefile,v 1.18 2002/10/18 21:24:55 jlam Exp $ DISTNAME= configurator_152-128 PKGNAME= ${BINNAME}-1.5.2 @@ -11,8 +11,6 @@ MAINTAINER= tron@netbsd.org HOMEPAGE= http://edge.mcs.drexel.edu/GICL/people/sevy/airport/ COMMENT= Configuration program for Apple's Airport Base Station -USE_JAVA= run - PLIST_SUBST+= BINNAME=${BINNAME} JARNAME=${JARNAME} ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-powerpc Darwin-*-* @@ -24,20 +22,9 @@ LIBDIR= ${PREFIX}/lib/${BINNAME} .include "../../mk/bsd.prefs.mk" -# "jdk" and "kaffe" packages don't work. -.if ${MACHINE_ARCH} == i386 || ${OPSYS} == "Darwin" -PKG_JVM= sun-jdk -.elif ${MACHINE_ARCH} == powerpc -PKG_JVM= blackdown-jdk13 -.else -PKG_JVM= none -.endif - -.if ${PKG_JVM} == blackdown-jdk13 -JVM_OPTS+= -green -jar -.else -JVM_OPTS= -jar -.endif +USE_BUILDLINK2= # defined +USE_JAVA= run +PKG_JVMS_ACCEPTED= sun-jdk13 sun-jdk14 blackdown-jdk13 post-extract: ${CHMOD} -R g-w,o-w ${WRKSRC}/* @@ -61,4 +48,11 @@ do-install: ${INSTALL_DATA} ReadMe.txt ${DOCDIR}/README && \ ${INSTALL_DATA} mainscreen.jpg manual.html ${DOCDIR} +.include "../../mk/java.mk" .include "../../mk/bsd.pkg.mk" + +.if ${PKG_JVM} == "blackdown-jdk13" +JVM_OPTS+= -green -jar +.else +JVM_OPTS+= -jar +.endif |