[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / lang / jbuilder-jit

File: [cvs.NetBSD.org] / pkgsrc / lang / jbuilder-jit / Attic / Makefile (download)

Revision 1.32, Tue May 19 08:59:19 2009 UTC (14 years, 9 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2009Q4-base, pkgsrc-2009Q4, pkgsrc-2009Q3-base, pkgsrc-2009Q3, pkgsrc-2009Q2-base, pkgsrc-2009Q2
Changes since 1.31: +2 -2 lines

Use standard location for LICENSE line (in MAINTAINER/HOMEPAGE/COMMENT
block). Uncomment some commented out LICENSE lines while here.

# $NetBSD: Makefile,v 1.32 2009/05/19 08:59:19 wiz Exp $
#

DISTNAME=	unix_jb35foundation
PKGNAME=	jbuilder-jit-1.2.15
PKGREVISION=	2
CATEGORIES=	lang java
MASTER_SITES=	http://ftp.cdut.edu.cn/pub2/linux/develop/jbuilder/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.borland.com/
COMMENT=	Just-In-Time compiler for Linux Java Virtual Machine
LICENSE=		jbuilder-jit-license

WRKSRC=		${WRKDIR}/javacomp-1.2.15
USE_JAVA=	run
USE_JAVA2=	yes
PLIST_SUBST+=	JAVADIR=${PKG_JAVA_HOME:C|${PREFIX}/||}

EXTRACT_ELEMENTS=	LinuxJIT/javacomp-1.2.15.tar.gz

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}

# this package is only for Sun 1.3 JVMs built for x86 Linux
ONLY_FOR_PLATFORM=	NetBSD-*-i386 Linux-*-i386 DragonFly-*-i386
PKG_JVMS_ACCEPTED=	blackdown-jdk13

PKG_DESTDIR_SUPPORT=	user-destdir

USE_TOOLS+=		gtar
NO_BUILD=		yes

post-extract:
	@cd ${WRKDIR} && ${GTAR} -xzf ${EXTRACT_ELEMENTS}

do-install:
	${INSTALL_LIB_DIR} ${DESTDIR}${PKG_JAVA_HOME}/lib/i386
	${INSTALL_PROGRAM} ${WRKSRC}/libjavacomp.so ${WRKSRC}/libjavacomp_g.so \
		${DESTDIR}${PKG_JAVA_HOME}/lib/i386/
	${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/jbuilder-jit
	${INSTALL_DATA} ${WRKSRC}/readme.txt \
		${DESTDIR}${PREFIX}/share/doc/jbuilder-jit/README.javacomp
	${INSTALL_DATA} ${WRKSRC}/LICENSE.TXT \
		${DESTDIR}${PREFIX}/share/doc/jbuilder-jit/LICENSE.javacomp

.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"