1999-06-10 23:56:45 +00:00
|
|
|
# New ports collection makefile for: shujit
|
1999-09-27 02:41:57 +00:00
|
|
|
# Version required: 0.3.8
|
1999-06-10 23:56:45 +00:00
|
|
|
# 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
|
|
|
#
|
|
|
|
|
1999-09-27 02:41:57 +00:00
|
|
|
DISTNAME= shujit-0.3.8
|
1999-06-28 02:24:57 +00:00
|
|
|
CATEGORIES= java
|
1999-08-01 03:00:48 +00:00
|
|
|
MASTER_SITES= http://www.shudo.net/jit/dist/old/
|
1999-06-10 23:56:45 +00:00
|
|
|
|
|
|
|
MAINTAINER= jake@checker.org
|
|
|
|
|
|
|
|
BUILD_DEPENDS= ${PREFIX}/bin/ruby:${PORTSDIR}/lang/ruby \
|
1999-06-28 18:34:12 +00:00
|
|
|
${PREFIX}/jdk1.1.8/bin/javac:${PORTSDIR}/java/jdk \
|
1999-06-10 23:56:45 +00:00
|
|
|
${PREFIX}/lib/libgdbm.a:${PORTSDIR}/databases/gdbm
|
1999-06-28 18:34:12 +00:00
|
|
|
RUN_DEPENDS= ${PREFIX}/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=
|
|
|
|
|
|
|
|
JAVADIR= ${PREFIX}/jdk1.1.8
|
|
|
|
JAVALIBDIR= ${JAVADIR}/lib/i386/green_threads
|
|
|
|
JAVABINDIR= ${JAVADIR}/bin/i386/green_threads
|
|
|
|
JAVAOBJFORMAT= `file ${JAVABINDIR}/java | ${AWK} '{print $$2}'`
|
|
|
|
|
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>
|