diff options
author | jlam <jlam@pkgsrc.org> | 2002-12-31 15:44:28 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2002-12-31 15:44:28 +0000 |
commit | 2c140f9f2af923b873467ec83ec8e74bfc947099 (patch) | |
tree | 1ef868ddcd84455baaf1012ecf326c0dc1e79d18 /lang/jbuilder-jit | |
parent | 9c42c5520eb4f20b7d397ce3f4c6e33c6ae64d37 (diff) | |
download | pkgsrc-2c140f9f2af923b873467ec83ec8e74bfc947099.tar.gz |
Mechanical conversion to use java-vm.mk.
Diffstat (limited to 'lang/jbuilder-jit')
-rw-r--r-- | lang/jbuilder-jit/Makefile | 36 | ||||
-rw-r--r-- | lang/jbuilder-jit/PLIST | 4 |
2 files changed, 15 insertions, 25 deletions
diff --git a/lang/jbuilder-jit/Makefile b/lang/jbuilder-jit/Makefile index 0204f0415fa..b8ec8216f07 100644 --- a/lang/jbuilder-jit/Makefile +++ b/lang/jbuilder-jit/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2002/10/10 01:01:11 jlam Exp $ +# $NetBSD: Makefile,v 1.12 2002/12/31 15:44:29 jlam Exp $ # DISTNAME= unix_jb35foundation @@ -15,30 +15,22 @@ HOMEPAGE= http://www.borland.com COMMENT= Just-In-Time compiler for Linux Java Virtual Machine USE_JAVA= run -PKG_JVM= sun-jdk13 # works with both 1.2.2 and 1.3 JVMs +USE_JAVA2= yes PLIST_SUBST+= JAVADIR=${PKG_JAVA_HOME:C|${PREFIX}/||} -WRKSRC= ${WRKDIR}/javacomp-1.2.15 -EXTRACT_ELEMENTS= LinuxJIT/javacomp-1.2.15.tar.gz - -LICENSE= single-user-license -RESTRICTED= "Redistribution of binaries not permitted" -NO_BIN_ON_CDROM=${RESTRICTED} -NO_SRC_ON_CDROM=${RESTRICTED} -NO_BIN_ON_FTP= ${RESTRICTED} -NO_SRC_ON_FTP= ${RESTRICTED} - -.include "../../mk/bsd.prefs.mk" +ONLY_FOR_PLATFORM= NetBSD-*-i386 -.if !defined(JDK_HOME) -JDK_HOME:= ${LOCALBASE}/java -.endif +WRKSRC= ${WRKDIR}/javacomp-1.2.15 +EXTRACT_ELEMENTS= LinuxJIT/javacomp-1.2.15.tar.gz -NO_BUILD= yes -# since we change PREFIX: -NO_MTREE= yes +LICENSE= single-user-license +RESTRICTED= "Redistribution of binaries not permitted" +NO_BIN_ON_CDROM= ${RESTRICTED} +NO_SRC_ON_CDROM= ${RESTRICTED} +NO_BIN_ON_FTP= ${RESTRICTED} +NO_SRC_ON_FTP= ${RESTRICTED} -ONLY_FOR_PLATFORM= NetBSD-*-i386 +NO_BUILD= yes post-extract: @cd ${WRKDIR} && ${GTAR} -xzf ${EXTRACT_ELEMENTS} @@ -50,7 +42,5 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/readme.txt ${PREFIX}/share/doc/jbuilder-jit/README.javacomp ${INSTALL_DATA} ${WRKSRC}/LICENSE.TXT ${PREFIX}/share/doc/jbuilder-jit/LICENSE.javacomp +.include "../../mk/java-vm.mk" .include "../../mk/bsd.pkg.mk" - -# This needs to be after bsd.pkg.mk -PREFIX:= ${JDK_HOME} diff --git a/lang/jbuilder-jit/PLIST b/lang/jbuilder-jit/PLIST index cfb431e4e48..06fd0409d8a 100644 --- a/lang/jbuilder-jit/PLIST +++ b/lang/jbuilder-jit/PLIST @@ -1,7 +1,7 @@ -@comment $NetBSD: PLIST,v 1.2 2002/08/07 17:28:56 jschauma Exp $ +@comment $NetBSD: PLIST,v 1.3 2002/12/31 15:44:29 jlam Exp $ ${JAVADIR}/lib/i386/libjavacomp.so ${JAVADIR}/lib/i386/libjavacomp_g.so share/doc/jbuilder-jit/README.javacomp share/doc/jbuilder-jit/LICENSE.javacomp @dirrm share/doc/jbuilder-jit -@unexec ${RMDIR} %D/sun-1.3.1/lib/i386 2>/dev/null || ${TRUE} +@unexec ${RMDIR} %D/${JAVADIR}/lib/i386 2>/dev/null || ${TRUE} |