2014-01-22 14:46:41 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= wx
|
2014-10-07 17:01:29 +02:00
|
|
|
PORTVERSION= 3.0.2
|
2016-01-27 15:38:12 +01:00
|
|
|
PORTREVISION?= 4
|
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
|
|
|
|
|
2016-04-01 16:33:55 +02:00
|
|
|
LIB_DEPENDS= libpng.so:graphics/png \
|
|
|
|
libtiff.so:graphics/tiff \
|
|
|
|
libexpat.so:textproc/expat2
|
2014-01-22 14:46:41 +01:00
|
|
|
|
2016-01-27 15:38:12 +01:00
|
|
|
USES= compiler:c++11-lib execinfo 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
|
2015-09-19 19:15:16 +02:00
|
|
|
CONFIGURE_ARGS= --with-libpng=sys \
|
|
|
|
--with-libjpeg=sys \
|
|
|
|
--with-libtiff=sys \
|
|
|
|
--with-zlib=sys \
|
|
|
|
--with-expat=sys \
|
|
|
|
--with-opengl \
|
|
|
|
--with-gtk \
|
2016-01-27 15:38:12 +01:00
|
|
|
--enable-backtrace \
|
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
|
2015-09-19 19:15:16 +02:00
|
|
|
|
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
|
|
|
|
2015-09-19 19:15:16 +02:00
|
|
|
OPTIONS_DEFINE= GSTREAMER MSPACK NLS WEBKIT
|
|
|
|
OPTIONS_DEFAULT=GSTREAMER MSPACK WEBKIT
|
|
|
|
MSPACK_DESC= Microsoft archives support
|
2014-01-22 14:46:41 +01:00
|
|
|
OPTIONS_SUB= yes
|
|
|
|
|
2014-06-04 11:58:34 +02:00
|
|
|
NLS_USES= gettext
|
2016-01-27 15:38:12 +01:00
|
|
|
|
|
|
|
GSTREAMER_CONFIGURE_ENABLE= mediactrl
|
2014-06-04 11:58:34 +02:00
|
|
|
GSTREAMER_USE= GNOME=gconf2 GSTREAMER=yes
|
2016-01-27 15:38:12 +01:00
|
|
|
|
2014-06-04 11:58:34 +02:00
|
|
|
MSPACK_CONFIGURE_WITH= libmspack
|
2016-04-01 16:33:55 +02:00
|
|
|
MSPACK_LIB_DEPENDS= libmspack.so:archivers/libmspack
|
2014-01-22 14:46:41 +01:00
|
|
|
|
2015-09-19 19:15:16 +02:00
|
|
|
WEBKIT_CONFIGURE_ENABLE= webview
|
2016-04-01 16:33:55 +02:00
|
|
|
WEBKIT_LIB_DEPENDS= libwebkitgtk-1.0.so:www/webkit-gtk2
|
2015-09-19 19:15:16 +02:00
|
|
|
|
2015-01-24 03:00:10 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
# PR 196703, 197031
|
2016-11-12 18:38:26 +01:00
|
|
|
.if ${CHOSEN_COMPILER_TYPE} == gcc
|
2015-01-24 03:00:10 +01:00
|
|
|
CONFIGURE_ARGS+=--disable-precomp-headers
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|