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-09-26 13:06:30 +00:00
|
|
|
PORTVERSION= 0.6.7
|
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-09-26 13:06:30 +00:00
|
|
|
BUILD_DEPENDS= ${JAVADIR}/bin/javac:${PORTSDIR}/java/jdk
|
2000-05-16 19:12:42 +00:00
|
|
|
LIB_DEPENDS= gdbm.2:${PORTSDIR}/databases/gdbm
|
1999-06-10 23:56:45 +00:00
|
|
|
|
2000-09-26 13:06:30 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
1999-06-10 23:56:45 +00:00
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
|
2000-09-11 07:46:56 +00:00
|
|
|
GNU_CONFIGURE= yes
|
1999-06-10 23:56:45 +00:00
|
|
|
USE_GMAKE= yes
|
1999-08-23 10:31:10 +00:00
|
|
|
USE_NEWGCC= yes
|
2000-09-11 07:46:56 +00:00
|
|
|
MAKEFILE= GNUmakefile
|
1999-06-10 23:56:45 +00:00
|
|
|
|
2000-09-26 13:06:30 +00:00
|
|
|
USE_RUBY= yes
|
|
|
|
RUBY_NO_RUN_DEPENDS= yes
|
|
|
|
|
2000-05-16 19:12:42 +00:00
|
|
|
JAVADIR= ${LOCALBASE}/jdk1.1.8
|
2000-09-11 07:46:56 +00:00
|
|
|
JAVALIBDIR= ${PREFIX}/lib/${PORTNAME}
|
1999-10-09 18:45:47 +00:00
|
|
|
CONFIGURE_ARGS+= --with-jdk="${JAVADIR}"
|
1999-06-10 23:56:45 +00:00
|
|
|
|
2000-09-25 07:32:43 +00:00
|
|
|
post-configure:
|
|
|
|
@${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/README
|
|
|
|
|
1999-06-10 23:56:45 +00:00
|
|
|
do-install:
|
2000-09-11 07:46:56 +00:00
|
|
|
@${MKDIR} ${JAVALIBDIR}
|
1999-06-10 23:56:45 +00:00
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/libshujit.so ${JAVALIBDIR}
|
|
|
|
|
|
|
|
post-install:
|
2000-09-11 07:46:56 +00:00
|
|
|
@${MKDIR} ${PREFIX}/share/shujit
|
|
|
|
@${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/shujit
|
1999-06-10 23:56:45 +00:00
|
|
|
@${ECHO_MSG} ""
|
2000-09-25 07:32:43 +00:00
|
|
|
@${ECHO_MSG} "See ${PREFIX}/share/shujit/README for usage instructions."
|
1999-06-10 23:56:45 +00:00
|
|
|
@${ECHO_MSG} ""
|
|
|
|
|
1999-08-23 10:31:10 +00:00
|
|
|
.include <bsd.port.mk>
|