2011-01-12 12:21:28 +01:00
|
|
|
# $NetBSD: Makefile.common,v 1.4 2011/01/12 11:21:28 wiz Exp $
|
2008-09-22 21:44:05 +02:00
|
|
|
#
|
2011-01-12 12:21:28 +01:00
|
|
|
# used by x11/wxGTK26/Makefile
|
|
|
|
# used by x11/wxGTK26-contrib/Makefile
|
2008-09-22 21:44:05 +02:00
|
|
|
|
|
|
|
DISTNAME= wxGTK-2.6.3
|
|
|
|
CATEGORIES= x11
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=wxwindows/}
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
|
|
|
MAINTAINER= joerg@NetBSD.org
|
|
|
|
HOMEPAGE= http://www.wxwidgets.org/
|
|
|
|
|
2008-09-22 21:58:52 +02:00
|
|
|
PATCHDIR= ${.CURDIR}/../../x11/wxGTK26/patches
|
|
|
|
DISTINFO_FILE= ${.CURDIR}/../../x11/wxGTK26/distinfo
|
2008-09-22 21:44:05 +02:00
|
|
|
|
|
|
|
PATCHFILES= ${DISTNAME}-libtool.diff3.bz2
|
|
|
|
PATCH_SITES= ${MASTER_SITE_LOCAL}
|
|
|
|
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
|
|
|
USE_TOOLS+= pkg-config msgfmt
|
|
|
|
USE_LIBTOOL= yes
|
|
|
|
USE_PKGLOCALEDIR= YES
|
|
|
|
USE_LANGUAGES= c c++
|
|
|
|
GNU_CONFIGURE= YES
|
|
|
|
USE_GNU_CONFIGURE_HOST= no
|
|
|
|
CONFIGURE_ARGS+= --with-gtk=2
|
|
|
|
CONFIGURE_ARGS+= --with-libjpeg=sys
|
|
|
|
CONFIGURE_ARGS+= --with-libpng=sys
|
|
|
|
CONFIGURE_ARGS+= --with-libtiff=sys
|
|
|
|
CONFIGURE_ARGS+= --with-opengl
|
|
|
|
CONFIGURE_ARGS+= --with-zlib=sys
|
|
|
|
CONFIGURE_ARGS+= --with-regex=builtin
|
|
|
|
CONFIGURE_ENV+= BUILDLINK_DIR=${BUILDLINK_DIR:Q}
|
|
|
|
MAKE_ENV+= PKGLOCALEDIR=${PKGLOCALEDIR:Q}
|
|
|
|
|
|
|
|
#CONFIGURE_ARGS+= --enable-unicode
|
|
|
|
#PLIST_SUBST+= UNICODE=u
|
|
|
|
PLIST_SUBST+= UNICODE=
|
|
|
|
PLIST_SUBST+= BUILDTYPE=ansi
|
|
|
|
|
|
|
|
CPPFLAGS+= -Dunix=1 # src/common/unzip.c needs this
|
|
|
|
|
|
|
|
DOCDIR= ${PREFIX}/share/doc/wxGTK
|
|
|
|
|
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
|
|
.include "../../graphics/MesaLib/buildlink3.mk"
|
|
|
|
.include "../../graphics/glu/buildlink3.mk"
|
2010-12-23 12:44:24 +01:00
|
|
|
.include "../../mk/jpeg.buildlink3.mk"
|
2008-09-22 21:44:05 +02:00
|
|
|
.include "../../graphics/png/buildlink3.mk"
|
|
|
|
.include "../../graphics/tiff/buildlink3.mk"
|
|
|
|
.include "../../x11/gtk2/buildlink3.mk"
|
|
|
|
|
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|