diff options
author | steve <steve@FreeBSD.org> | 1999-06-10 23:56:45 +0000 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1999-06-10 23:56:45 +0000 |
commit | 055895d4f3ddf0bc32511f5a119a873042919b19 (patch) | |
tree | d474af4aa865643a017859ec67026d8307d4afe0 /java/shujit/Makefile | |
parent | 057215e04ba195beddeb21311bc5d35c57946dee (diff) | |
download | FreeBSD-ports-055895d4f3ddf0bc32511f5a119a873042919b19.zip FreeBSD-ports-055895d4f3ddf0bc32511f5a119a873042919b19.tar.gz |
Initial import of shujit version 0.2.10.
A Just In Time java bytecode compiler.
PR: 11491
Submitted by: Jake Burkholder <jake@checker.org>
Diffstat (limited to 'java/shujit/Makefile')
-rw-r--r-- | java/shujit/Makefile | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/java/shujit/Makefile b/java/shujit/Makefile new file mode 100644 index 0000000..d95f320 --- /dev/null +++ b/java/shujit/Makefile @@ -0,0 +1,55 @@ +# New ports collection makefile for: shujit +# Version required: 0.2.10 +# Date created: 30 April 1999 +# Whom: jake@checker.org +# +# $Id$ +# + +DISTNAME= shujit-0.2.10 +CATEGORIES= lang +MASTER_SITES= http://www.shudo.net/jit/dist/ + +MAINTAINER= jake@checker.org + +BUILD_DEPENDS= ${PREFIX}/bin/ruby:${PORTSDIR}/lang/ruby \ + ${PREFIX}/jdk1.1.8/bin/javac:${PORTSDIR}/lang/jdk \ + ${PREFIX}/lib/libgdbm.a:${PORTSDIR}/databases/gdbm +RUN_DEPENDS= ${PREFIX}/jdk1.1.8/bin/java:${PORTSDIR}/lang/jdk + +.include <bsd.port.pre.mk> +.if ${OSVERSION} < 400002 +BUILD_DEPENDS= ${PREFIX}/bin/egcc:${PORTSDIR}/lang/egcs +.endif + +WRKSRC= ${WRKDIR}/shujit +ONLY_FOR_ARCHS= i386 + +USE_GMAKE= yes +MAKE_FLAGS= +MAKEFILE= +MAKE_ARGS= +ALL_TARGET= + +JAVADIR= ${PREFIX}/jdk1.1.8 +JAVALIBDIR= ${JAVADIR}/lib/i386/green_threads +JAVABINDIR= ${JAVADIR}/bin/i386/green_threads +JAVAOBJFORMAT= `file ${JAVABINDIR}/java | ${AWK} '{print $$2}'` + +pre-fetch: + @( if [ ${JAVAOBJFORMAT} != ELF ]; then \ + ${CAT} ${PKGDIR}/MESSAGE; \ + exit 1; \ + fi; ) + +do-install: + @${INSTALL_PROGRAM} ${WRKSRC}/libshujit.so ${JAVALIBDIR} + +post-install: + @${MKDIR} ${JAVADIR}/shujit + @${INSTALL_MAN} ${WRKSRC}/README ${JAVADIR}/shujit + @${ECHO_MSG} "" + @${ECHO_MSG} "See ${JAVADIR}/shujit/README for usage instructions." + @${ECHO_MSG} "" + +.include <bsd.port.post.mk> |