pkgsrc/x11/wxGTK/Makefile

60 lines
1.6 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.37 2005/02/12 22:43:44 dmcmahill Exp $
#
update to wxGTK 2.4.2 Changes: Enable building of OpenGL support and bump buildlink dependecy because of that. 2.4.2 ----- All: - always NUL-terminate the log messages - wxRegEx::Compile() now calculates the number of groups correctly - wxHTTP::GetHeader() didn't find headers which were not all in upper case - wxHTTP input stream didn't detect EOF correctly - wxString::find_last_of() ignored "start" parameter (Robert Vazan) - a bug in wxArrayString::Shrink() fixed (Gunnar Roth) - added wxIPV4address::IPAddress() All (GUI): - rare crash in wxFontMapper fixed (Robert Vazan) - added wxMenu::FindItemByPosition. - copy wxImage options when copying the images Generic: - wxListCtrl: respect wxLC_NO_HEADER style when inserting first column Unix: - fixed build problems with OpenGL when libGL(U) were in different directories - added --basename and --release flags to wx-config (Robert O'Connor) - added support for GNU/Hurd in configure - fixed wx-config --rezflags output on platforms different from Mac - changed wxNativeFontInfo::FromXFontName to treat names with all components being empty or '*' as default font (since default font is converted to such a string by GetXFontName). - wxLocale::Init now tries to set .utf8 locale in Unicode mode (Andreas Pflug) wxGTK - fixed compilation with --disable-compat-22 - set the event object correctly for wxMenu events (Bob Balfour) - fixed memory leak in wxFileDialog (Christian Sturmlechner) wxXRC: - added wxNO_FULL_REPAINT_ON_RESIZE to "unknown" class handler (John Anderson)
2004-01-10 15:23:52 +01:00
DISTNAME= wxGTK-2.4.2
PKGREVISION= 4
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=wxwindows/}
EXTRACT_SUFX= .tar.bz2
2003-07-18 00:50:55 +02:00
MAINTAINER= tsarna@NetBSD.org
HOMEPAGE= http://www.wxwidgets.org/
COMMENT= GTK-based implementation of the wxWidgets GUI library
2004-02-15 22:38:45 +01:00
USE_BUILDLINK3= YES
USE_PKGLOCALEDIR= YES
USE_X11= YES
USE_LIBTOOL= YES
2004-02-15 22:38:45 +01:00
USE_LANGUAGES= c c++
GNU_CONFIGURE= YES
update to wxGTK 2.4.2 Changes: Enable building of OpenGL support and bump buildlink dependecy because of that. 2.4.2 ----- All: - always NUL-terminate the log messages - wxRegEx::Compile() now calculates the number of groups correctly - wxHTTP::GetHeader() didn't find headers which were not all in upper case - wxHTTP input stream didn't detect EOF correctly - wxString::find_last_of() ignored "start" parameter (Robert Vazan) - a bug in wxArrayString::Shrink() fixed (Gunnar Roth) - added wxIPV4address::IPAddress() All (GUI): - rare crash in wxFontMapper fixed (Robert Vazan) - added wxMenu::FindItemByPosition. - copy wxImage options when copying the images Generic: - wxListCtrl: respect wxLC_NO_HEADER style when inserting first column Unix: - fixed build problems with OpenGL when libGL(U) were in different directories - added --basename and --release flags to wx-config (Robert O'Connor) - added support for GNU/Hurd in configure - fixed wx-config --rezflags output on platforms different from Mac - changed wxNativeFontInfo::FromXFontName to treat names with all components being empty or '*' as default font (since default font is converted to such a string by GetXFontName). - wxLocale::Init now tries to set .utf8 locale in Unicode mode (Andreas Pflug) wxGTK - fixed compilation with --disable-compat-22 - set the event object correctly for wxMenu events (Bob Balfour) - fixed memory leak in wxFileDialog (Christian Sturmlechner) wxXRC: - added wxNO_FULL_REPAINT_ON_RESIZE to "unknown" class handler (John Anderson)
2004-01-10 15:23:52 +01:00
CONFIGURE_ARGS+= --with-opengl
CONFIGURE_ARGS+= --with-libjpeg=sys
CONFIGURE_ARGS+= --with-zlib=sys
CONFIGURE_ARGS+= --with-libpng=sys
CONFIGURE_ARGS+= --with-libtiff=sys
2004-04-27 23:59:24 +02:00
CONFIGURE_ENV+= BUILDLINK_DIR=${BUILDLINK_DIR}
CPPFLAGS+= -Dunix=1 # src/common/unzip.c needs this
DOCDIR= ${PREFIX}/share/doc/wx/gtk
.include "../../mk/bsd.prefs.mk"
# This is needed for gtk1 and gtk2 on some platforms and
# it doesn't hurt on those which don't need it
CONFIGURE_ARGS+= --with-gtk
.if !empty(WXGTK_USE_GTK1:M[Yy][Ee][Ss])
PLIST_SUBST+= GTKVER=
2004-02-15 22:38:45 +01:00
.include "../../x11/gtk/buildlink3.mk"
.else
CONFIGURE_ARGS+= --enable-gtk2
PLIST_SUBST+= GTKVER=2
2004-02-15 22:38:45 +01:00
.include "../../x11/gtk2/buildlink3.mk"
.endif
post-install:
${INSTALL_DATA_DIR} ${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/LICENCE.txt ${DOCDIR}/LICENSE
2004-03-03 23:25:58 +01:00
.include "../../devel/pkgconfig/buildlink3.mk"
2004-02-15 22:38:45 +01:00
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../graphics/glu/buildlink3.mk"
2004-02-15 22:38:45 +01:00
.include "../../graphics/jpeg/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
2004-02-15 22:38:45 +01:00
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"