2003-05-23 05:03:46 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.22 2003/05/23 05:03:46 pvalchev Exp $
|
1999-11-04 01:04:53 +00:00
|
|
|
#
|
1999-11-26 18:27:46 +00:00
|
|
|
# If you are getting compile errors like these:
|
2000-07-27 23:34:56 +00:00
|
|
|
# Undefined symbol `_postOutOfMemory' referenced from text segment
|
|
|
|
# Undefined symbol `_PtrClass' referenced from text segment
|
1999-11-26 18:27:46 +00:00
|
|
|
# please read the file pkg/COMPILATION
|
1999-11-04 01:04:53 +00:00
|
|
|
|
2001-05-06 01:27:52 +00:00
|
|
|
COMMENT= "Transvirtual's Java JDK1.1 compiler, runtime and libs"
|
|
|
|
|
2001-02-12 19:19:19 +00:00
|
|
|
DISTNAME= kaffe-1.0.6
|
1999-11-26 18:27:46 +00:00
|
|
|
CATEGORIES= lang
|
1998-09-03 18:24:29 +00:00
|
|
|
|
1999-11-26 18:27:46 +00:00
|
|
|
MASTER_SITES= ftp://ftp.kaffe.org/pub/kaffe/
|
1998-09-03 18:24:29 +00:00
|
|
|
|
2001-11-10 15:00:47 +00:00
|
|
|
BUILD_DEPENDS= ::devel/libtool
|
1999-11-26 18:27:46 +00: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 23:28:01 +00:00
|
|
|
LIB_DEPENDS= jpeg.62.::graphics/jpeg \
|
2001-11-10 11:13:48 +00:00
|
|
|
ungif.5.::graphics/libungif \
|
2001-05-24 02:27:06 +00:00
|
|
|
png.2.::graphics/png \
|
2001-02-12 13:02:25 +00:00
|
|
|
gmp.4.::devel/gmp
|
2000-07-27 23:34:56 +00:00
|
|
|
|
|
|
|
HOMEPAGE= http://www.kaffe.org/
|
1999-11-26 18:27:46 +00: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).
|
2000-07-27 23:34:56 +00:00
|
|
|
ONLY_FOR_ARCHS= i386 # sparc m68k
|
1999-11-26 18:27:46 +00:00
|
|
|
|
2000-10-05 16:10:24 +00:00
|
|
|
MAINTAINER= Ian Darwin <ian@openbsd.org>
|
1999-11-26 18:27:46 +00:00
|
|
|
|
2000-03-17 02:07:28 +00:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
1999-11-26 18:27:46 +00:00
|
|
|
# build/configuration variables
|
2000-07-27 23:34:56 +00:00
|
|
|
CONFIGURE_STYLE=gnu
|
2003-05-23 05:03:46 +00:00
|
|
|
CONFIGURE_ARGS+=${CONFIGURE_SHARED} --enable-static
|
2001-03-26 08:51:11 +00:00
|
|
|
CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
|
|
|
|
CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
|
1998-09-03 18:24:29 +00:00
|
|
|
|
1998-12-06 19:33:28 +00:00
|
|
|
post-install:
|
2001-02-12 19:19:19 +00:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/FAQ/FAQ.* ${PREFIX}/share/kaffe
|
1998-12-06 19:33:28 +00:00
|
|
|
|
1998-09-03 18:24:29 +00:00
|
|
|
.include <bsd.port.mk>
|