summaryrefslogtreecommitdiff
path: root/lang/kaffe-x11/Makefile
blob: 8715d767d12cca0f61aee0784c1cafd9248da546 (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
33
34
35
36
37
38
39
40
41
42
43
44
45
# $NetBSD: Makefile,v 1.50 2018/04/16 14:34:47 wiz Exp $
#

.include "../../lang/kaffe/Makefile.common"

PKGNAME=    	${DISTNAME:S/kaffe/kaffe-x11/}
PKGREVISION=	34

COMMENT+=   (AWT support through X11)

CONFIGURE_ARGS+=  --with-kaffe-x-awt
CONFIGURE_ARGS+=  --enable-gtk-peer
CONFIGURE_ARGS+=  --with-x
CONFIGURE_ARGS+=  --without-esd
CONFIGURE_ARGS+=  --disable-esdtest

USE_TOOLS+=	pkg-config

BUILD_DIRS=	config
BUILD_DIRS+=	libraries/javalib/external/classpath
BUILD_DIRS+=	libraries/javalib/external/classpath
BUILD_DIRS+=	include
BUILD_DIRS+=	libraries/javalib
BUILD_DIRS+=	libraries/clib/awt
INSTALL_DIRS=	libraries/clib/awt
INSTALL_DIRS+=	libraries/javalib/external/classpath/native/jni/gtk-peer
INSTALL_DIRS+=	libraries/javalib/external/classpath/native/jawt

pre-build:
	cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${BUILD_MAKE_FLAGS} BUILD_ENVIRONMENT

BUILDLINK_DEPMETHOD.libXt?=	build

.include "../../devel/glib2/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../graphics/libart/buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
.include "../../graphics/giflib/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../lang/kaffe/buildlink3.mk"
.include "../../x11/libSM/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXtst/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"