1999-06-11 01:56:45 +02:00
|
|
|
# New ports collection makefile for: shujit
|
|
|
|
# Date created: 30 April 1999
|
|
|
|
# Whom: jake@checker.org
|
|
|
|
#
|
1999-08-25 08:16:32 +02:00
|
|
|
# $FreeBSD$
|
1999-06-11 01:56:45 +02:00
|
|
|
#
|
|
|
|
|
2000-04-12 08:21:15 +02:00
|
|
|
PORTNAME= shujit
|
2001-12-26 13:11:07 +01:00
|
|
|
PORTVERSION= 0.7.10
|
1999-06-28 04:24:57 +02:00
|
|
|
CATEGORIES= java
|
1999-11-14 02:52:16 +01:00
|
|
|
MASTER_SITES= http://www.shudo.net/jit/dist/
|
1999-06-11 01:56:45 +02:00
|
|
|
|
2000-07-24 10:09:09 +02:00
|
|
|
MAINTAINER= sobomax@FreeBSD.org
|
1999-06-11 01:56:45 +02:00
|
|
|
|
2000-09-26 15:06:30 +02:00
|
|
|
BUILD_DEPENDS= ${JAVADIR}/bin/javac:${PORTSDIR}/java/jdk
|
2000-05-16 21:12:42 +02:00
|
|
|
LIB_DEPENDS= gdbm.2:${PORTSDIR}/databases/gdbm
|
1999-06-11 01:56:45 +02:00
|
|
|
|
2000-09-26 15:06:30 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
1999-06-11 01:56:45 +02:00
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
|
2000-09-11 09:46:56 +02:00
|
|
|
GNU_CONFIGURE= yes
|
1999-06-11 01:56:45 +02:00
|
|
|
USE_GMAKE= yes
|
1999-08-23 12:31:10 +02:00
|
|
|
USE_NEWGCC= yes
|
2000-09-11 09:46:56 +02:00
|
|
|
MAKEFILE= GNUmakefile
|
1999-06-11 01:56:45 +02:00
|
|
|
|
2000-09-26 15:06:30 +02:00
|
|
|
USE_RUBY= yes
|
|
|
|
RUBY_NO_RUN_DEPENDS= yes
|
|
|
|
|
2001-08-27 10:13:03 +02:00
|
|
|
JAVADIR?= ${LOCALBASE}/jdk1.1.8
|
2000-09-11 09:46:56 +02:00
|
|
|
JAVALIBDIR= ${PREFIX}/lib/${PORTNAME}
|
1999-10-09 20:45:47 +02:00
|
|
|
CONFIGURE_ARGS+= --with-jdk="${JAVADIR}"
|
2001-08-27 10:13:03 +02:00
|
|
|
MAKE_ENV= JAVADIR="${JAVADIR}"
|
1999-06-11 01:56:45 +02:00
|
|
|
|
2000-09-25 09:32:43 +02:00
|
|
|
post-configure:
|
|
|
|
@${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/README
|
|
|
|
|
1999-06-11 01:56:45 +02:00
|
|
|
do-install:
|
2000-09-11 09:46:56 +02:00
|
|
|
@${MKDIR} ${JAVALIBDIR}
|
1999-06-11 01:56:45 +02:00
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/libshujit.so ${JAVALIBDIR}
|
|
|
|
|
|
|
|
post-install:
|
2000-09-11 09:46:56 +02:00
|
|
|
@${MKDIR} ${PREFIX}/share/shujit
|
|
|
|
@${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/shujit
|
1999-06-11 01:56:45 +02:00
|
|
|
@${ECHO_MSG} ""
|
2000-09-25 09:32:43 +02:00
|
|
|
@${ECHO_MSG} "See ${PREFIX}/share/shujit/README for usage instructions."
|
1999-06-11 01:56:45 +02:00
|
|
|
@${ECHO_MSG} ""
|
|
|
|
|
1999-08-23 12:31:10 +02:00
|
|
|
.include <bsd.port.mk>
|