1999-06-10 23:56:45 +00:00
|
|
|
# New ports collection makefile for: shujit
|
|
|
|
# Date created: 30 April 1999
|
|
|
|
# Whom: jake@checker.org
|
|
|
|
#
|
1999-08-25 06:16:32 +00:00
|
|
|
# $FreeBSD$
|
1999-06-10 23:56:45 +00:00
|
|
|
#
|
|
|
|
|
2000-04-12 06:21:15 +00:00
|
|
|
PORTNAME= shujit
|
2000-05-16 19:12:42 +00:00
|
|
|
PORTVERSION= 0.5.2
|
1999-06-28 02:24:57 +00:00
|
|
|
CATEGORIES= java
|
1999-11-14 01:52:16 +00:00
|
|
|
MASTER_SITES= http://www.shudo.net/jit/dist/
|
1999-06-10 23:56:45 +00:00
|
|
|
|
2000-07-24 08:09:09 +00:00
|
|
|
MAINTAINER= sobomax@FreeBSD.org
|
1999-06-10 23:56:45 +00:00
|
|
|
|
2000-05-16 19:12:42 +00:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/bin/ruby:${PORTSDIR}/lang/ruby \
|
|
|
|
${LOCALBASE}/jdk1.1.8/bin/javac:${PORTSDIR}/java/jdk
|
|
|
|
LIB_DEPENDS= gdbm.2:${PORTSDIR}/databases/gdbm
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/jdk1.1.8/bin/java:${PORTSDIR}/java/jdk
|
1999-06-10 23:56:45 +00:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/shujit
|
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
|
1999-08-01 03:00:48 +00:00
|
|
|
HAS_CONFIGURE= yes
|
1999-06-10 23:56:45 +00:00
|
|
|
USE_GMAKE= yes
|
1999-08-23 10:31:10 +00:00
|
|
|
USE_NEWGCC= yes
|
1999-06-10 23:56:45 +00:00
|
|
|
MAKE_FLAGS=
|
|
|
|
MAKEFILE=
|
|
|
|
MAKE_ARGS=
|
|
|
|
ALL_TARGET=
|
|
|
|
|
2000-05-16 19:12:42 +00:00
|
|
|
JAVADIR= ${LOCALBASE}/jdk1.1.8
|
1999-06-10 23:56:45 +00:00
|
|
|
JAVALIBDIR= ${JAVADIR}/lib/i386/green_threads
|
|
|
|
JAVABINDIR= ${JAVADIR}/bin/i386/green_threads
|
|
|
|
JAVAOBJFORMAT= `file ${JAVABINDIR}/java | ${AWK} '{print $$2}'`
|
1999-10-09 18:45:47 +00:00
|
|
|
CONFIGURE_ARGS+= --with-jdk="${JAVADIR}"
|
1999-06-10 23:56:45 +00:00
|
|
|
|
1999-07-04 10:04:31 +00:00
|
|
|
pre-build:
|
1999-06-10 23:56:45 +00:00
|
|
|
@( 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} ""
|
|
|
|
|
1999-08-23 10:31:10 +00:00
|
|
|
.include <bsd.port.mk>
|