summaryrefslogtreecommitdiff
path: root/lang/kaffe/Makefile
blob: ce7320011702b0fff87589282cb2ba782c043ba9 (plain)
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
# $NetBSD: Makefile,v 1.16 1999/03/04 14:59:24 tron Exp $
#

DISTNAME=	kaffe-1.0.b3
CATEGORIES=	lang
MASTER_SITES=	ftp://ftp.transvirtual.com/pub/kaffe/

MAINTAINER=	packages@netbsd.org
HOMEPAGE=	http://www.transvirtual.com/kaffe.html

DEPENDS+=	jpeg-6b:../../graphics/jpeg
DEPENDS+=	png-1.0.3:../../graphics/png
DEPENDS+=	giflib-3.0:../../graphics/giflib

ONLY_FOR_ARCHS=	arm32 i386 m68k mips* sparc
NOT_FOR_ARCHS=	alpha	#assembler problems

GNU_CONFIGURE=	yes
CONFIGURE_ENV=	LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" \
		CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
		LOCALBASE=${LOCALBASE}
MAKE_ENV=	PATH=${PATH}:${LOCALBASE}/bin:${X11BASE}/bin PREFIX=${PREFIX} \
		LOCALBASE=${LOCALBASE} X11BASE=${X11BASE} \
		MOTIFLIB="${MOTIFLIB}" CFLAGS="${CFLAGS}"
CFLAGS+=	-Dunix -I${LOCALBASE}/include -I${X11BASE}/include

post-install:
	${MKDIR} ${PREFIX}/share/kaffe
	${INSTALL_DATA} ${WRKSRC}/ENVIRONMENT ${WRKSRC}/license.terms \
		${PREFIX}/share/kaffe

.include "../../mk/bsd.pkg.mk"