2013-06-06 14:53:40 +02:00
|
|
|
# $NetBSD: Makefile,v 1.54 2013/06/06 12:53:41 wiz Exp $
|
2001-02-24 17:56:54 +01:00
|
|
|
|
2008-05-23 00:56:19 +02:00
|
|
|
DISTNAME= fox-1.6.33
|
2013-06-06 14:53:40 +02:00
|
|
|
PKGREVISION= 11
|
2001-02-24 17:56:54 +01:00
|
|
|
CATEGORIES= x11
|
2003-08-29 12:16:11 +02:00
|
|
|
MASTER_SITES= http://www.fox-toolkit.org/ftp/
|
2001-02-24 17:50:01 +01:00
|
|
|
|
2006-09-03 02:56:28 +02:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2003-08-29 12:16:11 +02:00
|
|
|
HOMEPAGE= http://www.fox-toolkit.org/
|
2001-02-24 17:56:54 +01:00
|
|
|
COMMENT= Fast and extensive C++ GUI toolkit
|
2001-02-24 17:50:01 +01:00
|
|
|
|
2005-07-25 12:53:43 +02:00
|
|
|
USE_LANGUAGES= c c++
|
|
|
|
USE_LIBTOOL= yes
|
2007-04-15 15:59:37 +02:00
|
|
|
USE_TOOLS+= pkg-config
|
2005-07-25 12:53:43 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2003-08-29 12:16:11 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-release
|
2005-07-25 12:53:43 +02:00
|
|
|
CONFIGURE_ARGS+= --with-opengl
|
|
|
|
CONFIGURE_ARGS+= --with-shm
|
2007-01-11 16:53:59 +01:00
|
|
|
CONFIGURE_ARGS+= --with-xft
|
2005-07-25 12:53:43 +02:00
|
|
|
CONFIGURE_ARGS+= --with-x
|
2001-02-24 17:56:54 +01:00
|
|
|
|
2006-06-26 15:12:00 +02:00
|
|
|
CONFIGURE_ENV+= REAL_PTHREAD_LIBS=${PTHREAD_LIBS:Q}
|
|
|
|
|
2005-07-25 14:49:56 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
# NetBSD < 3.0 does not have getpwnam_r() getpwuin_r()
|
2006-06-26 15:12:00 +02:00
|
|
|
.if ${OPSYS} == "NetBSD" && !empty(OS_VERSION:M[1-2]*) || ${OPSYS} == "DragonFly"
|
2005-07-25 14:49:56 +02:00
|
|
|
CONFIGURE_ARGS+= --disable-threadsafe
|
|
|
|
.endif
|
|
|
|
|
2007-01-11 16:53:59 +01:00
|
|
|
BUILDLINK_DEPMETHOD.libXt?= build
|
|
|
|
|
2005-07-25 12:53:43 +02:00
|
|
|
.include "../../archivers/bzip2/buildlink3.mk"
|
2007-01-11 16:53:59 +01:00
|
|
|
.include "../../graphics/freetype2/buildlink3.mk"
|
2005-07-25 12:53:43 +02:00
|
|
|
.include "../../graphics/glu/buildlink3.mk"
|
2010-12-23 12:44:24 +01:00
|
|
|
.include "../../mk/jpeg.buildlink3.mk"
|
2004-03-11 18:22:55 +01:00
|
|
|
.include "../../graphics/png/buildlink3.mk"
|
|
|
|
.include "../../graphics/tiff/buildlink3.mk"
|
2006-06-26 15:12:00 +02:00
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
2007-01-11 16:53:59 +01:00
|
|
|
.include "../../x11/libX11/buildlink3.mk"
|
|
|
|
.include "../../x11/libXcursor/buildlink3.mk"
|
|
|
|
.include "../../x11/libXext/buildlink3.mk"
|
|
|
|
.include "../../x11/libXft/buildlink3.mk"
|
|
|
|
.include "../../x11/libXrandr/buildlink3.mk"
|
|
|
|
.include "../../x11/libXt/buildlink3.mk"
|
2001-02-24 17:56:54 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|