aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/wxgtk30/Makefile
blob: 41b541d696ec5051b18b3ca245a8a052bc787460 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# $FreeBSD$

PORTNAME=   wx
PORTVERSION=    3.0.2
PORTREVISION?=  7
CATEGORIES= x11-toolkits
MASTER_SITES=   SF/wxwindows/${PORTVERSION}
PKGNAMESUFFIX=  30-gtk2
DISTNAME=   wxWidgets-${PORTVERSION}

MAINTAINER= portmaster@bsdforge.com
COMMENT=    The wxWidgets GUI toolkit with GTK+ bindings

LICENSE=    GPLv2+
LICENSE_FILE=   ${WRKSRC}/docs/gpl.txt

LIB_DEPENDS=    libpng.so:graphics/png \
        libtiff.so:graphics/tiff \
        libexpat.so:textproc/expat2

USES=       compiler:c++11-lib gmake iconv jpeg localbase pkgconfig tar:bzip2
USE_XORG=   x11 sm xxf86vm xinerama
USE_GL=     glu
USE_GNOME=  gtk20
USE_LDCONFIG=   yes
USE_CXXSTD= c++11
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --with-libpng=sys \
        --with-libjpeg=sys \
        --with-libtiff=sys \
        --with-zlib=sys \
        --with-expat=sys \
        --with-opengl \
        --with-gtk \
        --enable-backtrace \
        --enable-graphics_ctx \
        --enable-compat26 \
        --enable-compat28
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 GSTREAMER=yes

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

.include <bsd.port.post.mk>