2014-01-22 14:46:41 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= wx
|
2014-10-07 17:01:29 +02:00
|
|
|
PORTVERSION= 3.0.2
|
2015-04-06 20:49:52 +02:00
|
|
|
PORTREVISION?= 3
|
2014-01-22 14:46:41 +01:00
|
|
|
CATEGORIES= x11-toolkits
|
|
|
|
MASTER_SITES= SF/wxwindows/${PORTVERSION}
|
2014-01-22 16:09:33 +01:00
|
|
|
PKGNAMESUFFIX= 30-gtk2
|
2014-01-22 14:46:41 +01:00
|
|
|
DISTNAME= wxWidgets-${PORTVERSION}
|
|
|
|
|
2014-12-11 08:28:39 +01:00
|
|
|
MAINTAINER= portmaster@bsdforge.com
|
2014-01-22 14:46:41 +01:00
|
|
|
COMMENT= The wxWidgets GUI toolkit with GTK+ bindings
|
|
|
|
|
2014-12-25 20:04:25 +01:00
|
|
|
LIB_DEPENDS+= libpng.so:${PORTSDIR}/graphics/png\
|
2014-01-22 14:46:41 +01:00
|
|
|
libtiff.so:${PORTSDIR}/graphics/tiff\
|
|
|
|
libexpat.so:${PORTSDIR}/textproc/expat2\
|
|
|
|
libwebkitgtk-1.0.so:${PORTSDIR}/www/webkit-gtk2
|
|
|
|
|
2015-06-22 20:33:20 +02:00
|
|
|
USES+= compiler:c++11-lib gmake iconv jpeg pkgconfig tar:bzip2
|
2014-01-22 14:46:41 +01:00
|
|
|
USE_XORG= x11 sm xxf86vm xinerama
|
|
|
|
USE_GL= glu
|
|
|
|
USE_GNOME= gtk20
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --with-libpng=sys\
|
|
|
|
--with-libjpeg=sys\
|
|
|
|
--with-libtiff=sys\
|
|
|
|
--with-zlib=sys\
|
|
|
|
--with-expat=sys\
|
|
|
|
--with-opengl\
|
|
|
|
--with-libmspack\
|
|
|
|
--with-gtk\
|
|
|
|
--disable-backtrace\
|
|
|
|
--enable-webview\
|
2014-06-04 11:58:34 +02:00
|
|
|
--enable-graphics_ctx \
|
|
|
|
--enable-compat26 \
|
|
|
|
--enable-compat28
|
2014-06-11 16:49:59 +02:00
|
|
|
CONFIGURE_ENV= X11BASE="${LOCALBASE}" \
|
2014-06-04 11:58:34 +02:00
|
|
|
ac_cv_header_sys_inotify_h=no
|
2014-01-22 14:46:41 +01:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
2015-04-06 20:49:52 +02:00
|
|
|
CXXFLAGS+= -std=c++11
|
2014-06-11 16:49:59 +02:00
|
|
|
LIBS+= -L${LOCALBASE}/lib
|
2014-01-22 14:46:41 +01:00
|
|
|
|
|
|
|
OPTIONS_DEFINE= GSTREAMER MSPACK NLS
|
|
|
|
OPTIONS_DEFAULT=GSTREAMER MSPACK
|
|
|
|
MSPACK_DESC= MS archives support
|
|
|
|
OPTIONS_SUB= yes
|
|
|
|
|
2014-06-04 11:58:34 +02:00
|
|
|
NLS_USES= gettext
|
|
|
|
GSTREAMER_ENABLE= mediactrl
|
|
|
|
GSTREAMER_USE= GNOME=gconf2 GSTREAMER=yes
|
|
|
|
MSPACK_CONFIGURE_WITH= libmspack
|
|
|
|
MSPACK_LIB_DEPENDS= libmspack.so:${PORTSDIR}/archivers/libmspack
|
2014-01-22 14:46:41 +01:00
|
|
|
|
2015-01-24 03:00:10 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
# PR 196703, 197031
|
|
|
|
.if ${COMPILER_TYPE} == "gcc"
|
|
|
|
CONFIGURE_ARGS+=--disable-precomp-headers
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|