aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/wxgtk31/Makefile
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2018-06-11 07:24:08 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2018-06-11 07:24:08 +0000
commitedb52418c95eb8157f055ee4da2821fb18662b1d (patch)
treeb54f7afd3fb945181127b33c66ae84a205249a22 /x11-toolkits/wxgtk31/Makefile
parent40fee58c1fce2f51644dcfa4c1ca89aaf5e9f365 (diff)
downloadports-edb52418c95eb8157f055ee4da2821fb18662b1d.tar.gz
ports-edb52418c95eb8157f055ee4da2821fb18662b1d.zip
New port: x11-toolkits/wxgtk31: GUI toolkit (wxWidgets) with GTK+ bindings
Repo-copy of x11-toolkits/wxgtk30.
Notes
Notes: svn path=/head/; revision=472169
Diffstat (limited to 'x11-toolkits/wxgtk31/Makefile')
-rw-r--r--x11-toolkits/wxgtk31/Makefile81
1 files changed, 81 insertions, 0 deletions
diff --git a/x11-toolkits/wxgtk31/Makefile b/x11-toolkits/wxgtk31/Makefile
new file mode 100644
index 000000000000..700b7350d466
--- /dev/null
+++ b/x11-toolkits/wxgtk31/Makefile
@@ -0,0 +1,81 @@
+# $FreeBSD$
+
+PORTNAME= wx
+DISTVERSIONPREFIX= v
+DISTVERSION= 3.1.1
+CATEGORIES= x11-toolkits
+PKGNAMESUFFIX= 31-gtk2
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= GUI toolkit (wxWidgets) with GTK+ bindings
+
+LICENSE= GPLv2+
+LICENSE_FILE= ${WRKSRC}/docs/gpl.txt
+
+LIB_DEPENDS= libexpat.so:textproc/expat2 \
+ libfontconfig.so:x11-fonts/fontconfig \
+ libfreetype.so:print/freetype2 \
+ libjbig.so:graphics/jbigkit \
+ libnotify.so:devel/libnotify \
+ libpng.so:graphics/png \
+ libsecret-1.so:security/libsecret \
+ libsoup-2.4.so:devel/libsoup \
+ libtiff.so:graphics/tiff \
+
+USES= compiler:c++11-lib gmake iconv jpeg localbase pkgconfig
+USE_GITHUB= yes
+GH_ACCOUNT= wxWidgets
+GH_PROJECT= wxWidgets
+GNU_CONFIGURE= yes
+USE_XORG= x11 sm xxf86vm xtst
+USE_GL= gl glu
+USE_GNOME= cairo gdkpixbuf2 gtk20
+USE_LDCONFIG= yes
+USE_CXXSTD= c++11
+CONFIGURE_ARGS= --with-libpng=sys \
+ --with-libjpeg=sys \
+ --with-libtiff=sys \
+ --with-zlib=sys \
+ --with-expat=sys \
+ --with-opengl \
+ --with-gtk \
+ --without-gnomevfs \
+ --disable-epollloop \
+ --disable-joystick \
+ --enable-backtrace \
+ --enable-ipv6 \
+ --enable-optimise \
+ --enable-utf8 \
+ --enable-graphics_ctx \
+ --enable-compat28 \
+ --enable-compat30
+CONFIGURE_ENV= X11BASE="${LOCALBASE}" \
+ ac_cv_header_sys_inotify_h=no
+
+OPTIONS_DEFINE= GSTREAMER MSPACK NLS WEBKIT
+OPTIONS_DEFAULT= GSTREAMER MSPACK WEBKIT
+MSPACK_DESC= Microsoft archives support
+OPTIONS_SUB= yes
+
+NLS_USES= gettext
+
+GSTREAMER_CONFIGURE_ENABLE= mediactrl
+GSTREAMER_USE= GNOME=gconf2 GSTREAMER1=bad
+
+MSPACK_CONFIGURE_WITH= libmspack
+MSPACK_LIB_DEPENDS= libmspack.so:archivers/libmspack
+
+WEBKIT_CONFIGURE_ENABLE= webview
+WEBKIT_LIB_DEPENDS= libwebkitgtk-1.0.so:www/webkit-gtk2
+
+.include <bsd.port.pre.mk>
+
+# PR 196703, 197031
+.if ${CHOSEN_COMPILER_TYPE} == gcc
+CONFIGURE_ARGS+=--disable-precomp-headers
+.endif
+
+post-build-NLS-on:
+ @${DO_MAKE_BUILD} allmo -C ${BUILD_WRKSRC}/locale
+
+.include <bsd.port.post.mk>