From 9e942d2b587ac595d32f77c28e1be7248389231f Mon Sep 17 00:00:00 2001 From: Maxim Sobolev Date: Mon, 11 Sep 2000 07:46:56 +0000 Subject: Update to 0.6.5. - HAS_CONFIGURE -> GNU_CONFIGURE; - don't bind to any particular virtual machine - install jit into ${PREFIX}/lib/shujit; - respect CFLAGS; - drop aout support. --- java/shujit/Makefile | 31 ++++++++++--------------------- java/shujit/distinfo | 2 +- java/shujit/pkg-plist | 7 ++++--- 3 files changed, 15 insertions(+), 25 deletions(-) (limited to 'java/shujit') diff --git a/java/shujit/Makefile b/java/shujit/Makefile index eb71e7fb246e..f8fe381f46fc 100644 --- a/java/shujit/Makefile +++ b/java/shujit/Makefile @@ -6,48 +6,37 @@ # PORTNAME= shujit -PORTVERSION= 0.6.3 +PORTVERSION= 0.6.5 CATEGORIES= java MASTER_SITES= http://www.shudo.net/jit/dist/ MAINTAINER= sobomax@FreeBSD.org -BUILD_DEPENDS= ${LOCALBASE}/bin/ruby:${PORTSDIR}/lang/ruby \ - ${LOCALBASE}/jdk1.1.8/bin/javac:${PORTSDIR}/java/jdk +BUILD_DEPENDS= ${LOCALBASE}/bin/ruby:${PORTSDIR}/lang/ruby14 \ + ${JAVADIR}/bin/javac:${PORTSDIR}/java/jdk LIB_DEPENDS= gdbm.2:${PORTSDIR}/databases/gdbm -RUN_DEPENDS= ${LOCALBASE}/jdk1.1.8/bin/java:${PORTSDIR}/java/jdk WRKSRC= ${WRKDIR}/shujit ONLY_FOR_ARCHS= i386 -HAS_CONFIGURE= yes +GNU_CONFIGURE= yes USE_GMAKE= yes USE_NEWGCC= yes -MAKE_FLAGS= -MAKEFILE= -MAKE_ARGS= -ALL_TARGET= +MAKEFILE= GNUmakefile JAVADIR= ${LOCALBASE}/jdk1.1.8 -JAVALIBDIR= ${JAVADIR}/lib/i386/green_threads -JAVABINDIR= ${JAVADIR}/bin/i386/green_threads -JAVAOBJFORMAT= `file ${JAVABINDIR}/java | ${AWK} '{print $$2}'` +JAVALIBDIR= ${PREFIX}/lib/${PORTNAME} CONFIGURE_ARGS+= --with-jdk="${JAVADIR}" -pre-build: - @( if [ ${JAVAOBJFORMAT} != ELF ]; then \ - ${CAT} ${PKGDIR}/MESSAGE; \ - exit 1; \ - fi; ) - do-install: + @${MKDIR} ${JAVALIBDIR} @${INSTALL_PROGRAM} ${WRKSRC}/libshujit.so ${JAVALIBDIR} post-install: - @${MKDIR} ${JAVADIR}/shujit - @${INSTALL_MAN} ${WRKSRC}/README ${JAVADIR}/shujit + @${MKDIR} ${PREFIX}/share/shujit + @${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/shujit @${ECHO_MSG} "" - @${ECHO_MSG} "See ${JAVADIR}/shujit/README for usage instructions." + @${ECHO_MSG} "See ${PREFIX}/shujit/README for usage instructions." @${ECHO_MSG} "" .include diff --git a/java/shujit/distinfo b/java/shujit/distinfo index b6d2e2e493db..81dd804755f6 100644 --- a/java/shujit/distinfo +++ b/java/shujit/distinfo @@ -1 +1 @@ -MD5 (shujit-0.6.3.tar.gz) = 4b7bf323a85b84ae95b98d36ce41a2c5 +MD5 (shujit-0.6.5.tar.gz) = 0effe249d8e6bfcc96b877fa1ed1410b diff --git a/java/shujit/pkg-plist b/java/shujit/pkg-plist index e8fd6ac93a20..d4a4de6652f6 100644 --- a/java/shujit/pkg-plist +++ b/java/shujit/pkg-plist @@ -1,3 +1,4 @@ -jdk1.1.8/lib/i386/green_threads/libshujit.so -jdk1.1.8/shujit/README -@dirrm jdk1.1.8/shujit +lib/shujit/libshujit.so +share/shujit/README +@dirrm share/shujit +@dirrm lib/shujit -- cgit v1.2.3