diff options
author | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2009-09-28 19:50:49 +0800 |
---|---|---|
committer | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2009-09-28 19:50:49 +0800 |
commit | 8cd2c62b9616a56e7a3b4b4f06d1f07a459555a9 (patch) | |
tree | 6a91b2495817dafffcf3590b7e8c6394e01725cd /x11-toolkits/wxgtk24/Makefile | |
parent | ee490f9c1d681ae11bc3f01bf0f40186b20a9824 (diff) | |
download | marcuscom-ports-8cd2c62b9616a56e7a3b4b4f06d1f07a459555a9.tar marcuscom-ports-8cd2c62b9616a56e7a3b4b4f06d1f07a459555a9.tar.gz marcuscom-ports-8cd2c62b9616a56e7a3b4b4f06d1f07a459555a9.tar.bz2 marcuscom-ports-8cd2c62b9616a56e7a3b4b4f06d1f07a459555a9.tar.lz marcuscom-ports-8cd2c62b9616a56e7a3b4b4f06d1f07a459555a9.tar.xz marcuscom-ports-8cd2c62b9616a56e7a3b4b4f06d1f07a459555a9.tar.zst marcuscom-ports-8cd2c62b9616a56e7a3b4b4f06d1f07a459555a9.zip |
Fix build with new glib
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@13065 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11-toolkits/wxgtk24/Makefile')
-rw-r--r-- | x11-toolkits/wxgtk24/Makefile | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/x11-toolkits/wxgtk24/Makefile b/x11-toolkits/wxgtk24/Makefile new file mode 100644 index 000000000..d556143c6 --- /dev/null +++ b/x11-toolkits/wxgtk24/Makefile @@ -0,0 +1,59 @@ +# New ports collection makefile for: wxGTK +# Date created: September 18, 1999 +# Whom: nectar@FreeBSD.ORG +# +# $FreeBSD: ports/x11-toolkits/wxgtk24/Makefile,v 1.62 2009/08/22 00:39:31 amdmi3 Exp $ +# + +PORTNAME= wx +PORTVERSION= 2.4.2 +PORTREVISION?= 18 +PKGNAMESUFFIX= ${WXGTK_FLAVOR} +CATEGORIES= x11-toolkits +MASTER_SITES= SF/wxwindows/wxGTK/${PORTVERSION} +DISTNAME= wxGTK-${PORTVERSION} + +MAINTAINER?= fjoe@FreeBSD.org +COMMENT?= The wxWidgets GUI toolkit with GTK+ bindings + +LIB_DEPENDS+= png.5:${PORTSDIR}/graphics/png \ + jpeg.10:${PORTSDIR}/graphics/jpeg \ + tiff.4:${PORTSDIR}/graphics/tiff + +USE_BZIP2= yes +USE_XORG= x11 sm xxf86vm xinerama +USE_GL= glu +USE_GMAKE= yes +USE_ICONV= yes +GNU_CONFIGURE= yes +USE_LDCONFIG= yes +USE_GNOME= gtk20 +CONFIGURE_ARGS= --with-libpng=sys \ + --with-libjpeg=sys \ + --with-libtiff=sys \ + --with-zlib=sys \ + --with-opengl\ + --enable-gtk2 \ + --includedir=${PREFIX}/include/wx-2.4 +CONFIGURE_ENV= CPPFLAGS="-I${WRKSRC}/include \ + -I${LOCALBASE}/include \ + ${PTHREAD_CFLAGS}" \ + LDFLAGS="-L${LOCALBASE}/lib -liconv \ + ${PTHREAD_LIBS}"\ + X11BASE="${LOCALBASE}" +NO_LATEST_LINK= yes +PLIST= ${.CURDIR}/pkg-plist + +WXGTK_FLAVOR?= gtk2 + +.include <bsd.port.pre.mk> + +pre-patch: + @${REINPLACE_CMD} -e 's|lgdk|lgdk-x11-2.0|g' ${WRKSRC}/configure + +post-patch: + @${REINPLACE_CMD} -e 's|pkg_config_args --cflags|pkg_config_args pangox --cflags|g ; \ + s|pkg_config_args --libs|pkg_config_args pangox --libs|g' \ + ${WRKSRC}/configure + +.include <bsd.port.post.mk> |