aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/wxgtk30
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-06-04 09:58:34 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-06-04 09:58:34 +0000
commit55b4f9f675ce316f21a0f7b0ab599e81aa737aa8 (patch)
tree92415d311425098b30143ee50d59fe06b2758a0d /x11-toolkits/wxgtk30
parent69f1ad517f82686c6ffa1918831098fc2cdc5c00 (diff)
downloadports-55b4f9f675ce316f21a0f7b0ab599e81aa737aa8.tar.gz
ports-55b4f9f675ce316f21a0f7b0ab599e81aa737aa8.zip
Activate compatibility with wxGTK 2.6 API
Explicitly set compatibility for wxGTK 2.8 (already on by default) Remove dependency on inotify (not needed wxGTK do support kqueue) Prevent the configure scripts from discovering inotify if already installed Use options helpers Only enable mediactrl if GSTREAMER options is set
Notes
Notes: svn path=/head/; revision=356451
Diffstat (limited to 'x11-toolkits/wxgtk30')
-rw-r--r--x11-toolkits/wxgtk30/Makefile37
1 files changed, 12 insertions, 25 deletions
diff --git a/x11-toolkits/wxgtk30/Makefile b/x11-toolkits/wxgtk30/Makefile
index 7c9b1dc78a95..c449da9c0ad8 100644
--- a/x11-toolkits/wxgtk30/Makefile
+++ b/x11-toolkits/wxgtk30/Makefile
@@ -2,6 +2,7 @@
PORTNAME= wx
PORTVERSION= 3.0.0
+PORTREVISION= 1
CATEGORIES= x11-toolkits
MASTER_SITES= SF/wxwindows/${PORTVERSION}
PKGNAMESUFFIX= 30-gtk2
@@ -14,7 +15,6 @@ LIB_DEPENDS+= libpng15.so:${PORTSDIR}/graphics/png\
libjpeg.so:${PORTSDIR}/graphics/jpeg\
libtiff.so:${PORTSDIR}/graphics/tiff\
libexpat.so:${PORTSDIR}/textproc/expat2\
- libinotify.so:${PORTSDIR}/devel/libinotify\
libwebkitgtk-1.0.so:${PORTSDIR}/www/webkit-gtk2
USES+= iconv gmake pkgconfig tar:bzip2
@@ -31,12 +31,14 @@ CONFIGURE_ARGS= --with-libpng=sys\
--with-opengl\
--with-libmspack\
--with-gtk\
- --enable-mediactrl\
--disable-backtrace\
--enable-webview\
- --enable-graphics_ctx
-CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib -pthread -linotify"\
- X11BASE="${LOCALBASE}"
+ --enable-graphics_ctx \
+ --enable-compat26 \
+ --enable-compat28
+CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib" \
+ X11BASE="${LOCALBASE}" \
+ ac_cv_header_sys_inotify_h=no
CPPFLAGS+= -I${LOCALBASE}/include
OPTIONS_DEFINE= GSTREAMER MSPACK NLS
@@ -44,25 +46,10 @@ OPTIONS_DEFAULT=GSTREAMER MSPACK
MSPACK_DESC= MS archives support
OPTIONS_SUB= yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MNLS}
-USES+= gettext
-.endif
-
-.if ${PORT_OPTIONS:MGSTREAMER}
-CONFIGURE_ARGS+=--enable-mediactrl
-USE_GNOME+= gconf2
-USE_GSTREAMER= yes
-.else
-CONFIGURE_ARGS+=--disable-mediactrl
-.endif
-
-.if ${PORT_OPTIONS:MMSPACK}
-CONFIGURE_ARGS+=--with-libmspack
-LIB_DEPENDS+= libmspack.so:${PORTSDIR}/archivers/libmspack
-.else
-CONFIGURE_ARGS+=--without-libmspack
-.endif
+NLS_USES= gettext
+GSTREAMER_ENABLE= mediactrl
+GSTREAMER_USE= GNOME=gconf2 GSTREAMER=yes
+MSPACK_CONFIGURE_WITH= libmspack
+MSPACK_LIB_DEPENDS= libmspack.so:${PORTSDIR}/archivers/libmspack
.include <bsd.port.mk>