2004-01-20 13:18:15 +01:00
|
|
|
# $NetBSD: Makefile,v 1.18 2004/01/20 12:19:16 agc Exp $
|
2000-10-16 20:40:03 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= unix_jb35foundation
|
|
|
|
PKGNAME= jbuilder-jit-1.2.15
|
2002-08-07 19:28:56 +02:00
|
|
|
PKGREVISION= 1
|
2003-08-23 17:13:56 +02:00
|
|
|
CATEGORIES= lang java
|
2002-08-07 19:28:56 +02:00
|
|
|
MASTER_SITES= http://ftp.cdut.edu.cn/pub2/linux/develop/jbuilder/ \
|
2002-08-16 02:06:23 +02:00
|
|
|
http://python.planetmirror.com/ftp/jbuilder/foundation/3.5/linux/ \
|
|
|
|
http://planetmirror.com.au/ftp/jbuilder/foundation/3.5/linux/ \
|
|
|
|
http://www.au.horde.org/pub/jbuilder/foundation/3.5/linux/
|
2000-10-16 20:40:03 +02:00
|
|
|
|
2003-07-17 23:41:05 +02:00
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
2003-12-30 18:27:31 +01:00
|
|
|
HOMEPAGE= http://www.borland.com/
|
2001-02-17 10:06:56 +01:00
|
|
|
COMMENT= Just-In-Time compiler for Linux Java Virtual Machine
|
2000-10-16 20:40:03 +02:00
|
|
|
|
2004-01-20 13:18:15 +01:00
|
|
|
WRKSRC= ${WRKDIR}/javacomp-1.2.15
|
2002-07-31 21:33:19 +02:00
|
|
|
USE_JAVA= run
|
2002-12-31 16:44:28 +01:00
|
|
|
USE_JAVA2= yes
|
2002-10-10 03:01:09 +02:00
|
|
|
PLIST_SUBST+= JAVADIR=${PKG_JAVA_HOME:C|${PREFIX}/||}
|
2000-10-16 20:40:03 +02:00
|
|
|
|
2002-12-31 16:44:28 +01:00
|
|
|
ONLY_FOR_PLATFORM= NetBSD-*-i386
|
2000-10-16 20:40:03 +02:00
|
|
|
|
2002-12-31 16:44:28 +01:00
|
|
|
EXTRACT_ELEMENTS= LinuxJIT/javacomp-1.2.15.tar.gz
|
2000-10-16 20:40:03 +02:00
|
|
|
|
2002-12-31 16:44:28 +01:00
|
|
|
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}
|
2000-10-16 20:40:03 +02:00
|
|
|
|
2002-12-31 16:44:28 +01:00
|
|
|
NO_BUILD= yes
|
2000-10-16 20:40:03 +02:00
|
|
|
|
|
|
|
post-extract:
|
|
|
|
@cd ${WRKDIR} && ${GTAR} -xzf ${EXTRACT_ELEMENTS}
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/libjavacomp.so ${WRKSRC}/libjavacomp_g.so \
|
2002-10-10 03:01:09 +02:00
|
|
|
${PKG_JAVA_HOME}/lib/i386/
|
2002-08-07 19:28:56 +02:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/jbuilder-jit
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/readme.txt ${PREFIX}/share/doc/jbuilder-jit/README.javacomp
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/LICENSE.TXT ${PREFIX}/share/doc/jbuilder-jit/LICENSE.javacomp
|
2000-10-16 20:40:03 +02:00
|
|
|
|
2002-12-31 16:44:28 +01:00
|
|
|
.include "../../mk/java-vm.mk"
|
2000-10-16 20:40:03 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|