diff options
author | tron <tron@pkgsrc.org> | 2001-07-13 11:30:08 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2001-07-13 11:30:08 +0000 |
commit | 5aa17221bec89c81ee09bf0e7d2e75da3b59af4a (patch) | |
tree | 574c2477dc677122e1a95324c5cc4a51065fa6d6 /net/airportbasestationconfig | |
parent | cd704ea25bbf3dc319dab28e3343eefd1eff85a5 (diff) | |
download | pkgsrc-5aa17221bec89c81ee09bf0e7d2e75da3b59af4a.tar.gz |
Set "PKG_JVM" to "sun-jdk" to enforce use of the required Java VM.
Diffstat (limited to 'net/airportbasestationconfig')
-rw-r--r-- | net/airportbasestationconfig/Makefile | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/net/airportbasestationconfig/Makefile b/net/airportbasestationconfig/Makefile index 93862518369..814d0771724 100644 --- a/net/airportbasestationconfig/Makefile +++ b/net/airportbasestationconfig/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2001/02/25 04:18:03 hubertf Exp $ +# $NetBSD: Makefile,v 1.5 2001/07/13 11:30:08 tron Exp $ DISTNAME= configurator PKGNAME= ${BINNAME}-1.2.2 @@ -11,25 +11,27 @@ HOMEPAGE= http://edge.mcs.drexel.edu/GICL/people/sevy/airport/ COMMENT= Configuration program for Apple's Airport Base Station # "jdk" and "kaffe" packages don't work. -DEPENDS+= sun-jdk>=1.3.0:../../lang/sun-jdk13 +PKG_JVM= sun-jdk +USE_JAVA= YES -BINNAME= airportbasestationconfig -DOCDIR= ${PREFIX}/share/doc/${BINNAME} DIST_SUBDIR= ${PKGNAME} -LIBDIR= ${PREFIX}/lib/${BINNAME} -PKG_JVM= jdk PLIST_SUBST+= BINNAME=${BINNAME} -USE_JAVA= YES WRKSRC= ${WRKDIR} +BINNAME= airportbasestationconfig +DOCDIR= ${PREFIX}/share/doc/${BINNAME} +LIBDIR= ${PREFIX}/lib/${BINNAME} + post-extract: ${CHMOD} -R g-w,o-w ${WRKSRC}/* do-build: - cd ${WRKSRC} && \ - ${ECHO} "#!/bin/sh" >${BINNAME} && \ - ${ECHO} "PATH=${JAVA_HOME}/bin:\$${PATH}; export PATH" >>${BINNAME} && \ - ${ECHO} "exec java -jar ${LIBDIR}/${BINNAME}.jar" >>${BINNAME} + ${ECHO} "#!/bin/sh" >${WRKSRC}/${BINNAME} + ${ECHO} "PATH=${JAVA_HOME}/bin:\$${PATH}; export PATH" >>${WRKSRC}/${BINNAME} +.if defined(CLASSPATH) + ${ECHO} "CLASSPATH=${CLASSPATH}:\$${CLASSPATH}; export CLASSPATH" >>${WRKSRC}/${BINNAME} +.endif + ${ECHO} "exec java -jar ${LIBDIR}/${BINNAME}.jar" >>${WRKSRC}/${BINNAME} do-install: ${INSTALL_DATA_DIR} ${DOCDIR} ${LIBDIR} |