summaryrefslogtreecommitdiff
path: root/java/cacao/Makefile
blob: 58fbdbfe5e9bfba0957ab9feb060388a53c2e1e2 (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
# New ports collection makefile for:		cacao
# Date created:					2005-04-28
# Whom:						arved
#
# $FreeBSD$

PORTNAME=	cacao
PORTVERSION=	0.98
PORTREVISION=	2
CATEGORIES=	java devel
MASTER_SITES=	http://www.complang.tuwien.ac.at/cacaojvm/download/cacao-${PORTVERSION}/

MAINTAINER=	bkoenig@alpha-tierchen.de
COMMENT=	JIT compiler for JAVA

BUILD_DEPENDS=	${LOCALBASE}/share/classpath/glibj.zip:${PORTSDIR}/java/classpath

USE_BZIP2=	yes
USE_AUTOTOOLS=	libltdl
USE_JAVA=	yes
JAVA_VERSION=	1.4+
GNU_CONFIGURE=	yes
MAN1=		cacao.1
CONFIGURE_ARGS+=	--with-classpath-prefix=${LOCALBASE}
CONFIGURE_ENV=	CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
		LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"

.include <bsd.port.pre.mk>

.if ${ARCH} == amd64
IGNORE=		unsupported architecture
.endif

post-patch:
	${REINPLACE_CMD} -e "s, man,," ${WRKSRC}/Makefile.in

post-install:
	${INSTALL_MAN} ${WRKSRC}/man/cacao.1 ${MANPREFIX}/man/man1

.include <bsd.port.post.mk>