mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-15 07:56:36 +00:00
9e942d2b58
- HAS_CONFIGURE -> GNU_CONFIGURE; - don't bind to any particular virtual machine - install jit into ${PREFIX}/lib/shujit; - respect CFLAGS; - drop aout support.
43 lines
965 B
Makefile
43 lines
965 B
Makefile
# New ports collection makefile for: shujit
|
|
# Date created: 30 April 1999
|
|
# Whom: jake@checker.org
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= shujit
|
|
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/ruby14 \
|
|
${JAVADIR}/bin/javac:${PORTSDIR}/java/jdk
|
|
LIB_DEPENDS= gdbm.2:${PORTSDIR}/databases/gdbm
|
|
|
|
WRKSRC= ${WRKDIR}/shujit
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_GMAKE= yes
|
|
USE_NEWGCC= yes
|
|
MAKEFILE= GNUmakefile
|
|
|
|
JAVADIR= ${LOCALBASE}/jdk1.1.8
|
|
JAVALIBDIR= ${PREFIX}/lib/${PORTNAME}
|
|
CONFIGURE_ARGS+= --with-jdk="${JAVADIR}"
|
|
|
|
do-install:
|
|
@${MKDIR} ${JAVALIBDIR}
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/libshujit.so ${JAVALIBDIR}
|
|
|
|
post-install:
|
|
@${MKDIR} ${PREFIX}/share/shujit
|
|
@${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/shujit
|
|
@${ECHO_MSG} ""
|
|
@${ECHO_MSG} "See ${PREFIX}/shujit/README for usage instructions."
|
|
@${ECHO_MSG} ""
|
|
|
|
.include <bsd.port.mk>
|