1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00
freebsd-ports/java/kaffe/Makefile
Ade Lovett 54a0b86543 Mass-conversion to the USE_AUTOTOOLS New World Order. The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
2005-11-15 06:52:12 +00:00

62 lines
1.5 KiB
Makefile

# New ports collection makefile for: kaffe
# Date created: 4 August 2003
# Whom: Mark Huizer <xaa+ports@timewasters.nl>
#
# $FreeBSD$
#
PORTNAME= kaffe
PORTVERSION= 1.1.6
PORTREVISION= 1
CATEGORIES= java devel
MASTER_SITES= ftp://ftp.kaffe.org/pub/kaffe/v1.1.x-development/
MAINTAINER= anholt@FreeBSD.org
COMMENT= Multi-platform Java virtual machine with JIT compiler and AWT package
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
ungif.5:${PORTSDIR}/graphics/libungif \
png.5:${PORTSDIR}/graphics/png \
gmp.6:${PORTSDIR}/math/libgmp4
BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip \
jikes:${PORTSDIR}/java/jikes
RUN_DEPENDS= zip:${PORTSDIR}/archivers/zip \
javavm:${PORTSDIR}/java/javavmwrapper
WRKSRC= ${WRKDIR}/kaffe-${PORTVERSION}
ONLY_FOR_ARCHS= i386 amd64
USE_AUTOTOOLS= libtool:15
USE_GMAKE= yes
USE_ICONV= yes
LIBTOOLFLAGS=
INSTALLS_SHLIB= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= CPPFLAGS=-I${LOCALBASE}/include \
LDFLAGS=-L${LOCALBASE}/lib \
--with-iconv-prefix=${LOCALBASE}
PREFIX= ${LOCALBASE}/kaffe
NO_MTREE= yes
USE_GNOME= esound gtk20 libartlgpl2
WANT_GNOME= esound
MAN1= kaffe.1
.include <bsd.port.pre.mk>
.if ${ARCH} == amd64
PLIST_SUB+= PORTVER=${PORTVERSION} ARCH=x86_64
.else
PLIST_SUB+= PORTVER=${PORTVERSION} ARCH=${ARCH}
.endif
post-install:
@${MKDIR} ${DATADIR}
${INSTALL_SCRIPT} ${WRKSRC}/BUILD_ENVIRONMENT ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/license.terms ${DATADIR}
-@${LOCALBASE}/bin/registervm ${PREFIX}/bin/java
.include <bsd.port.post.mk>