1 # $NetBSD: Makefile,v 1.50 2013/01/26 21:36:52 adam Exp $
6 MASTER_SITES
= http
://www.fox-toolkit.org
/ftp
/
8 MAINTAINER
= pkgsrc-users@NetBSD.org
9 HOMEPAGE
= http
://www.fox-toolkit.org
/
10 COMMENT
= Fast and extensive C
++ GUI toolkit
14 USE_TOOLS
+= pkg-config
16 CONFIGURE_ARGS
+= --enable-release
17 CONFIGURE_ARGS
+= --with-opengl
18 CONFIGURE_ARGS
+= --with-shm
19 CONFIGURE_ARGS
+= --with-xft
20 CONFIGURE_ARGS
+= --with-x
22 CONFIGURE_ENV
+= REAL_PTHREAD_LIBS
=${PTHREAD_LIBS
:Q
}
24 .
include "../../mk/bsd.prefs.mk"
26 # NetBSD < 3.0 does not have getpwnam_r() getpwuin_r()
27 .if
${OPSYS} == "NetBSD" && !empty
(OS_VERSION
:M
[1-2]*) ||
${OPSYS} == "DragonFly"
28 CONFIGURE_ARGS
+= --disable-threadsafe
31 BUILDLINK_DEPMETHOD.libXt?
= build
33 .
include "../../archivers/bzip2/buildlink3.mk"
34 .
include "../../graphics/freetype2/buildlink3.mk"
35 .
include "../../graphics/glu/buildlink3.mk"
36 .
include "../../mk/jpeg.buildlink3.mk"
37 .
include "../../graphics/png/buildlink3.mk"
38 .
include "../../graphics/tiff/buildlink3.mk"
39 .
include "../../mk/pthread.buildlink3.mk"
40 .
include "../../x11/libX11/buildlink3.mk"
41 .
include "../../x11/libXcursor/buildlink3.mk"
42 .
include "../../x11/libXext/buildlink3.mk"
43 .
include "../../x11/libXft/buildlink3.mk"
44 .
include "../../x11/libXrandr/buildlink3.mk"
45 .
include "../../x11/libXt/buildlink3.mk"
46 .
include "../../mk/bsd.pkg.mk"