blob: 2aa7c9a5b67a055b20b506826c47070b896a9e49 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# New ports collection makefile for: shujit
# Version required: 0.2.10
# Date created: 30 April 1999
# Whom: jake@checker.org
#
# $Id: Makefile,v 1.3 1999/06/28 02:22:34 billf Exp $
#
DISTNAME= shujit-0.2.10
CATEGORIES= java
MASTER_SITES= http://www.shudo.net/jit/dist/
MAINTAINER= jake@checker.org
BUILD_DEPENDS= ${PREFIX}/bin/ruby:${PORTSDIR}/lang/ruby \
${PREFIX}/jdk1.1.8/bin/javac:${PORTSDIR}/java/jdk \
${PREFIX}/lib/libgdbm.a:${PORTSDIR}/databases/gdbm
RUN_DEPENDS= ${PREFIX}/jdk1.1.8/bin/java:${PORTSDIR}/java/jdk
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 400002
BUILD_DEPENDS+= ${PREFIX}/bin/egcc:${PORTSDIR}/lang/egcs
.endif
WRKSRC= ${WRKDIR}/shujit
ONLY_FOR_ARCHS= i386
USE_GMAKE= yes
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}'`
pre-fetch:
@( 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} ""
.include <bsd.port.post.mk>
|