2000-04-09 13:35:57 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.11 2000/04/09 17:36:49 espie Exp $
|
1999-11-03 20:04:53 -05:00
|
|
|
#
|
1999-11-26 13:27:46 -05:00
|
|
|
# Relevant URLs: http://www.transvirtual.com/kaffe/
|
1998-09-03 14:24:29 -04:00
|
|
|
|
1999-11-26 13:27:46 -05:00
|
|
|
# If you are getting compile errors like these:
|
|
|
|
# Undefined symbol `_postOutOfMemory' referenced from text segment
|
|
|
|
# Undefined symbol `_PtrClass' referenced from text segment
|
|
|
|
# please read the file pkg/COMPILATION
|
1999-11-03 20:04:53 -05:00
|
|
|
|
2000-03-16 21:07:28 -05:00
|
|
|
#BROKEN= bad packing lists
|
|
|
|
|
1999-11-26 13:27:46 -05:00
|
|
|
DISTNAME= kaffe-1.0.5
|
|
|
|
CATEGORIES= lang
|
2000-03-24 18:28:01 -05:00
|
|
|
NEED_VERSION= 1.230
|
2000-04-09 13:35:57 -04:00
|
|
|
FAKE=No
|
1998-09-03 14:24:29 -04:00
|
|
|
|
1999-11-26 13:27:46 -05:00
|
|
|
MASTER_SITES= ftp://ftp.kaffe.org/pub/kaffe/
|
1998-09-03 14:24:29 -04:00
|
|
|
|
2000-03-24 18:28:01 -05:00
|
|
|
BUILD_DEPENDS= libtool::devel/libtool
|
1999-11-26 13:27:46 -05:00
|
|
|
# Note that "lesstif" is NOT a dependency: Kaffe has its own, Motifless, AWT.
|
|
|
|
# You must have the X11 client packages installed; no good way to DEPEND this
|
|
|
|
# (if you don't, I think it will build a command-line-only Java--untested).
|
2000-03-24 18:28:01 -05:00
|
|
|
LIB_DEPENDS= jpeg.62.::graphics/jpeg \
|
|
|
|
gif.4.::graphics/giflib \
|
|
|
|
png.1.::graphics/png
|
1999-11-26 13:27:46 -05:00
|
|
|
|
|
|
|
# This port REQUIRES shared libs, and will not work without them
|
|
|
|
# (dynamic linking is an essential element of Java).
|
|
|
|
# At present it is only known to work on i386.
|
|
|
|
# Builds nicely, but does not run at all, on sparc (gets
|
|
|
|
# nullpointerexceptions everywhere).
|
|
|
|
ONLY_FOR_ARCHS = i386 # sparc m68k
|
|
|
|
|
|
|
|
MAINTAINER= ian@OpenBSD.ORG
|
|
|
|
|
2000-03-16 21:07:28 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
1999-11-26 13:27:46 -05:00
|
|
|
# build/configuration variables
|
2000-03-05 13:30:21 -05:00
|
|
|
GNU_CONFIGURE= Yes
|
1999-11-26 13:27:46 -05:00
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
|
|
|
|
|
|
|
CONFIGURE_ENV= ${SETENV} CPPFLAGS=-I/usr/local/include \
|
|
|
|
LDFLAGS=-L/usr/local/lib
|
1998-09-03 14:24:29 -04:00
|
|
|
|
1998-12-06 14:33:28 -05:00
|
|
|
post-install:
|
1999-11-03 20:04:53 -05:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/FAQ/* ${PREFIX}/share/kaffe
|
1998-12-06 14:33:28 -05:00
|
|
|
|
1998-09-03 14:24:29 -04:00
|
|
|
.include <bsd.port.mk>
|