aboutsummaryrefslogtreecommitdiffstats
path: root/java/cacao/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'java/cacao/Makefile')
-rw-r--r--java/cacao/Makefile41
1 files changed, 21 insertions, 20 deletions
diff --git a/java/cacao/Makefile b/java/cacao/Makefile
index 5369c02b4cda..2d2f7bd301ad 100644
--- a/java/cacao/Makefile
+++ b/java/cacao/Makefile
@@ -1,39 +1,40 @@
-# Created by: Tilman Keskinoz <arved@FreeBSD.org>
+# New ports collection makefile for: cacao
+# Date created: 2005-04-28
+# Whom: arved
+#
# $FreeBSD$
PORTNAME= cacao
-PORTVERSION= 1.6.0
+PORTVERSION= 0.98
+PORTREVISION= 7
CATEGORIES= java devel
MASTER_SITES= http://www.complang.tuwien.ac.at/cacaojvm/download/cacao-${PORTVERSION}/
-MAINTAINER= java@FreeBSD.org
+MAINTAINER= bkoenig@alpha-tierchen.de
COMMENT= JIT compiler for JAVA
-LICENSE= GPLv2
-
BUILD_DEPENDS= ${LOCALBASE}/share/classpath/glibj.zip:${PORTSDIR}/java/classpath
-GNU_CONFIGURE= yes
+USE_BZIP2= yes
USE_AUTOTOOLS= libltdl
-USE_GMAKE= yes
USE_JAVA= yes
JAVA_VERSION= 1.5+
-USE_XZ= yes
-
+GNU_CONFIGURE= yes
MAN1= cacao.1
-
-CFLAGS+= -I${LOCALBASE}/include
+CONFIGURE_ARGS+= --with-classpath-prefix=${LOCALBASE}
LDFLAGS+= -L${LOCALBASE}/lib
+CFLAGS+= -I${LOCALBASE}/include
+
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == amd64
+IGNORE= unsupported architecture
+.endif
-CONFIGURE_ARGS+= --enable-jre-layout
-CONFIGURE_ARGS+= --with-java-runtime-library-prefix=${LOCALBASE}
-CONFIGURE_ENV+= PTHREAD_LIBS="${PTHREAD_LIBS}"
+post-patch:
+ ${REINPLACE_CMD} -e "s, man,," ${WRKSRC}/Makefile.in
-do-install:
- ${MKDIR} ${DATADIR}
- ${INSTALL_PROGRAM} ${WRKSRC}/src/cacao/cacao ${PREFIX}/bin
- ${INSTALL_LIB} ${WRKSRC}/src/cacao/.libs/libjvm.so ${PREFIX}/lib
- ${INSTALL_DATA} ${WRKSRC}/src/classes/vm.zip ${DATADIR}
+post-install:
${INSTALL_MAN} ${WRKSRC}/man/cacao.1 ${MANPREFIX}/man/man1
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>