View | Details | Raw Unified | Return to bug 251644
Collapse All | Expand All

(-)w/x11-toolkits/wxgtk30/Makefile (-1 / +1 lines)
Lines 1-89 Link Here
1
# $FreeBSD$
1
# $FreeBSD$
2
2
3
PORTNAME=	wx
3
PORTNAME=	wx
4
PORTVERSION=	3.0.5.1
4
PORTVERSION=	3.0.5.1
5
DISTVERSIONPREFIX=	v
5
DISTVERSIONPREFIX=	v
6
CATEGORIES=	x11-toolkits
6
CATEGORIES=	x11-toolkits
7
PKGNAMESUFFIX=	30-gtk3
7
PKGNAMESUFFIX=	30-gtk3
8
8
9
MAINTAINER=	lbartoletti@FreeBSD.org
9
MAINTAINER=	lbartoletti@FreeBSD.org
10
COMMENT=	The wxWidgets GUI toolkit with GTK+ bindings
10
COMMENT=	The wxWidgets GUI toolkit with GTK+ bindings
11
11
12
LICENSE=	GPLv2+
12
LICENSE=	GPLv2+
13
LICENSE_FILE=	${WRKSRC}/docs/gpl.txt
13
LICENSE_FILE=	${WRKSRC}/docs/gpl.txt
14
14
15
LIB_DEPENDS=	libexpat.so:textproc/expat2 \
15
LIB_DEPENDS=	libexpat.so:textproc/expat2 \
16
		libfontconfig.so:x11-fonts/fontconfig \
16
		libfontconfig.so:x11-fonts/fontconfig \
17
		libfreetype.so:print/freetype2 \
17
		libfreetype.so:print/freetype2 \
18
		libpng.so:graphics/png \
18
		libpng.so:graphics/png \
19
		libsoup-2.4.so:devel/libsoup \
19
		libsoup-2.4.so:devel/libsoup \
20
		libtiff.so:graphics/tiff
20
		libtiff.so:graphics/tiff
21
21
22
USE_GITHUB=	yes
22
USE_GITHUB=	yes
23
GH_ACCOUNT=	wxWidgets
23
GH_ACCOUNT=	wxWidgets
24
GH_PROJECT=	wxWidgets
24
GH_PROJECT=	wxWidgets
25
25
26
USES=		compiler:c++11-lib gl gmake gnome iconv jpeg localbase \
26
USES=		compiler:c++11-lib gl gmake gnome iconv jpeg localbase \
27
		pkgconfig xorg
27
		pkgconfig xorg
28
USE_XORG=	x11 sm xxf86vm xinerama
28
USE_XORG=	x11 sm xxf86vm xinerama
29
USE_GL=		gl glu
29
USE_GL=		gl glu
30
USE_GNOME=	cairo gdkpixbuf2 gtk30
30
USE_GNOME=	cairo gdkpixbuf2 gtk30
31
USE_LDCONFIG=	yes
31
USE_LDCONFIG=	yes
32
USE_CXXSTD=	c++11
32
USE_CXXSTD=	c++11
33
GNU_CONFIGURE=	yes
33
GNU_CONFIGURE=	yes
34
CONFIGURE_ARGS=	--with-libpng=sys \
34
CONFIGURE_ARGS=	--with-libpng=sys \
35
		--with-libjpeg=sys \
35
		--with-libjpeg=sys \
36
		--with-libtiff=sys \
36
		--with-libtiff=sys \
37
		--with-zlib=sys \
37
		--with-zlib=sys \
38
		--with-expat=sys \
38
		--with-expat=sys \
39
		--with-opengl \
39
		--with-opengl \
40
		--with-gtk=3 \
40
		--with-gtk=3 \
41
		--without-gnomevfs \
41
		--without-gnomevfs \
42
		--disable-epollloop \
42
		--disable-epollloop \
43
		--disable-joystick \
43
		--disable-joystick \
44
		--enable-backtrace \
44
		--enable-backtrace \
45
		--enable-ipv6 \
45
		--enable-ipv6 \
46
		--enable-optimise \
46
		--enable-optimise \
47
		--enable-unicode \
47
		--enable-unicode \
48
		--enable-std_string \
48
		--enable-std_string \
49
		--enable-graphics_ctx \
49
		--enable-graphics_ctx \
50
		--enable-compat26 \
50
		--enable-compat26 \
51
		--enable-compat28
51
		--enable-compat28
52
CONFIGURE_ENV=	X11BASE="${LOCALBASE}" \
52
CONFIGURE_ENV=	X11BASE="${LOCALBASE}" \
53
		ac_cv_header_sys_inotify_h=no
53
		ac_cv_header_sys_inotify_h=no
54
54
55
OPTIONS_DEFINE=	GSTREAMER NOTIFY MSPACK NLS WEBKIT
55
OPTIONS_DEFINE=	GSTREAMER NOTIFY MSPACK NLS WEBKIT
56
OPTIONS_DEFAULT=GSTREAMER MSPACK WEBKIT
56
OPTIONS_DEFAULT=GSTREAMER MSPACK WEBKIT
57
MSPACK_DESC=	Microsoft archives support
57
MSPACK_DESC=	Microsoft archives support
58
OPTIONS_SUB=	yes
58
OPTIONS_SUB=	yes
59
59
60
NLS_USES=	gettext
60
NLS_USES=	gettext
61
61
62
GSTREAMER_CONFIGURE_ENABLE=	mediactrl
62
GSTREAMER_CONFIGURE_ENABLE=	mediactrl
63
GSTREAMER_USE=	GNOME=gconf2 GSTREAMER1=yes
63
GSTREAMER_USE=	GSTREAMER1=yes
64
64
65
NOTIFY_CONFIGURE_WITH=	libnotify
65
NOTIFY_CONFIGURE_WITH=	libnotify
66
NOTIFY_LIB_DEPENDS=	libnotify.so:devel/libnotify
66
NOTIFY_LIB_DEPENDS=	libnotify.so:devel/libnotify
67
67
68
MSPACK_CONFIGURE_WITH=	libmspack
68
MSPACK_CONFIGURE_WITH=	libmspack
69
MSPACK_LIB_DEPENDS=	libmspack.so:archivers/libmspack
69
MSPACK_LIB_DEPENDS=	libmspack.so:archivers/libmspack
70
70
71
WEBKIT_CONFIGURE_ENABLE=	webview
71
WEBKIT_CONFIGURE_ENABLE=	webview
72
WEBKIT_LIB_DEPENDS=	libwebkit2gtk-4.0.so:www/webkit2-gtk3
72
WEBKIT_LIB_DEPENDS=	libwebkit2gtk-4.0.so:www/webkit2-gtk3
73
73
74
.include <bsd.port.pre.mk>
74
.include <bsd.port.pre.mk>
75
75
76
# TLS is broken on armv6/7, PR 229396
76
# TLS is broken on armv6/7, PR 229396
77
.if ${ARCH} == armv6 || ${ARCH} == armv7
77
.if ${ARCH} == armv6 || ${ARCH} == armv7
78
CONFIGURE_ARGS+=--disable-tls
78
CONFIGURE_ARGS+=--disable-tls
79
.endif
79
.endif
80
80
81
# PR 196703, 197031
81
# PR 196703, 197031
82
.if ${CHOSEN_COMPILER_TYPE} == gcc
82
.if ${CHOSEN_COMPILER_TYPE} == gcc
83
CONFIGURE_ARGS+=--disable-precomp-headers
83
CONFIGURE_ARGS+=--disable-precomp-headers
84
.endif
84
.endif
85
85
86
post-build-NLS-on:
86
post-build-NLS-on:
87
	@${DO_MAKE_BUILD} allmo -C ${BUILD_WRKSRC}/locale
87
	@${DO_MAKE_BUILD} allmo -C ${BUILD_WRKSRC}/locale
88
88
89
.include <bsd.port.post.mk>
89
.include <bsd.port.post.mk>
(-)w/x11-toolkits/wxgtk31/Makefile (-1 / +1 lines)
Lines 1-92 Link Here
1
# $FreeBSD$
1
# $FreeBSD$
2
2
3
PORTNAME=	wx
3
PORTNAME=	wx
4
DISTVERSIONPREFIX=	v
4
DISTVERSIONPREFIX=	v
5
DISTVERSION=	3.1.4
5
DISTVERSION=	3.1.4
6
CATEGORIES=	x11-toolkits
6
CATEGORIES=	x11-toolkits
7
PKGNAMESUFFIX=	31-gtk3
7
PKGNAMESUFFIX=	31-gtk3
8
8
9
MAINTAINER=	yuri@FreeBSD.org
9
MAINTAINER=	yuri@FreeBSD.org
10
COMMENT=	GUI toolkit (wxWidgets) with GTK+ bindings
10
COMMENT=	GUI toolkit (wxWidgets) with GTK+ bindings
11
11
12
LICENSE=	GPLv2+
12
LICENSE=	GPLv2+
13
LICENSE_FILE=	${WRKSRC}/docs/gpl.txt
13
LICENSE_FILE=	${WRKSRC}/docs/gpl.txt
14
14
15
LIB_DEPENDS=	libexpat.so:textproc/expat2 \
15
LIB_DEPENDS=	libexpat.so:textproc/expat2 \
16
		libfontconfig.so:x11-fonts/fontconfig \
16
		libfontconfig.so:x11-fonts/fontconfig \
17
		libfreetype.so:print/freetype2 \
17
		libfreetype.so:print/freetype2 \
18
		libjbig.so:graphics/jbigkit \
18
		libjbig.so:graphics/jbigkit \
19
		libnotify.so:devel/libnotify \
19
		libnotify.so:devel/libnotify \
20
		libpng.so:graphics/png \
20
		libpng.so:graphics/png \
21
		libsecret-1.so:security/libsecret \
21
		libsecret-1.so:security/libsecret \
22
		libsoup-2.4.so:devel/libsoup \
22
		libsoup-2.4.so:devel/libsoup \
23
		libtiff.so:graphics/tiff
23
		libtiff.so:graphics/tiff
24
24
25
USES=		compiler:c++11-lib gl gmake gnome iconv jpeg localbase \
25
USES=		compiler:c++11-lib gl gmake gnome iconv jpeg localbase \
26
		pkgconfig xorg
26
		pkgconfig xorg
27
USE_GITHUB=	yes
27
USE_GITHUB=	yes
28
GH_ACCOUNT=	wxWidgets
28
GH_ACCOUNT=	wxWidgets
29
GH_PROJECT=	wxWidgets
29
GH_PROJECT=	wxWidgets
30
GH_TUPLE=	wxWidgets:Catch:ee4acb6:wxWidgets_Catch/3rdparty/catch
30
GH_TUPLE=	wxWidgets:Catch:ee4acb6:wxWidgets_Catch/3rdparty/catch
31
31
32
GNU_CONFIGURE=	yes
32
GNU_CONFIGURE=	yes
33
USE_XORG=	x11 sm xxf86vm xtst
33
USE_XORG=	x11 sm xxf86vm xtst
34
USE_GL=		gl glu
34
USE_GL=		gl glu
35
USE_GNOME=	cairo gdkpixbuf2 gtk30
35
USE_GNOME=	cairo gdkpixbuf2 gtk30
36
USE_LDCONFIG=	yes
36
USE_LDCONFIG=	yes
37
USE_CXXSTD=	c++11
37
USE_CXXSTD=	c++11
38
CONFIGURE_ARGS=	--with-libpng=sys \
38
CONFIGURE_ARGS=	--with-libpng=sys \
39
		--with-libjpeg=sys \
39
		--with-libjpeg=sys \
40
		--with-libtiff=sys \
40
		--with-libtiff=sys \
41
		--with-zlib=sys \
41
		--with-zlib=sys \
42
		--with-expat=sys \
42
		--with-expat=sys \
43
		--with-opengl \
43
		--with-opengl \
44
		--with-gtk=3 \
44
		--with-gtk=3 \
45
		--without-gnomevfs \
45
		--without-gnomevfs \
46
		--disable-epollloop \
46
		--disable-epollloop \
47
		--disable-joystick \
47
		--disable-joystick \
48
		--enable-backtrace \
48
		--enable-backtrace \
49
		--enable-ipv6 \
49
		--enable-ipv6 \
50
		--enable-optimise \
50
		--enable-optimise \
51
		--enable-utf8 \
51
		--enable-utf8 \
52
		--enable-graphics_ctx \
52
		--enable-graphics_ctx \
53
		--enable-compat28 \
53
		--enable-compat28 \
54
		--enable-compat30
54
		--enable-compat30
55
CONFIGURE_ENV=	X11BASE="${LOCALBASE}" \
55
CONFIGURE_ENV=	X11BASE="${LOCALBASE}" \
56
		ac_cv_header_sys_inotify_h=no
56
		ac_cv_header_sys_inotify_h=no
57
57
58
OPTIONS_DEFINE=		GSTREAMER MSPACK NLS WEBKIT
58
OPTIONS_DEFINE=		GSTREAMER MSPACK NLS WEBKIT
59
OPTIONS_DEFAULT=	GSTREAMER MSPACK WEBKIT
59
OPTIONS_DEFAULT=	GSTREAMER MSPACK WEBKIT
60
MSPACK_DESC=		Microsoft archives support
60
MSPACK_DESC=		Microsoft archives support
61
OPTIONS_SUB=		yes
61
OPTIONS_SUB=		yes
62
62
63
NLS_USES=			gettext
63
NLS_USES=			gettext
64
64
65
GSTREAMER_CONFIGURE_ENABLE=	mediactrl
65
GSTREAMER_CONFIGURE_ENABLE=	mediactrl
66
GSTREAMER_USE=			GNOME=gconf2 GSTREAMER1=bad
66
GSTREAMER_USE=			GSTREAMER1=bad
67
67
68
MSPACK_CONFIGURE_WITH=		libmspack
68
MSPACK_CONFIGURE_WITH=		libmspack
69
MSPACK_LIB_DEPENDS=		libmspack.so:archivers/libmspack
69
MSPACK_LIB_DEPENDS=		libmspack.so:archivers/libmspack
70
70
71
WEBKIT_CONFIGURE_ENABLE=	webview
71
WEBKIT_CONFIGURE_ENABLE=	webview
72
WEBKIT_LIB_DEPENDS=		libwebkit2gtk-4.0.so:www/webkit2-gtk3
72
WEBKIT_LIB_DEPENDS=		libwebkit2gtk-4.0.so:www/webkit2-gtk3
73
73
74
.include <bsd.port.pre.mk>
74
.include <bsd.port.pre.mk>
75
75
76
# TLS is broken on armv6/7, PR 229396
76
# TLS is broken on armv6/7, PR 229396
77
.if ${ARCH} == armv6 || ${ARCH} == armv7
77
.if ${ARCH} == armv6 || ${ARCH} == armv7
78
CONFIGURE_ARGS+=--disable-tls
78
CONFIGURE_ARGS+=--disable-tls
79
.endif
79
.endif
80
80
81
# PR 196703, 197031
81
# PR 196703, 197031
82
.if ${CHOSEN_COMPILER_TYPE} == gcc
82
.if ${CHOSEN_COMPILER_TYPE} == gcc
83
CONFIGURE_ARGS+=--disable-precomp-headers
83
CONFIGURE_ARGS+=--disable-precomp-headers
84
.endif
84
.endif
85
85
86
post-build-NLS-on:
86
post-build-NLS-on:
87
	@${DO_MAKE_BUILD} allmo -C ${BUILD_WRKSRC}/locale
87
	@${DO_MAKE_BUILD} allmo -C ${BUILD_WRKSRC}/locale
88
88
89
post-install-NLS-on: # stray file: https://trac.wxwidgets.org/ticket/18147
89
post-install-NLS-on: # stray file: https://trac.wxwidgets.org/ticket/18147
90
	@${RM} ${STAGEDIR}${PREFIX}/share/locale/it/LC_MESSAGES/wxmsw.mo
90
	@${RM} ${STAGEDIR}${PREFIX}/share/locale/it/LC_MESSAGES/wxmsw.mo
91
91
92
.include <bsd.port.post.mk>
92
.include <bsd.port.post.mk>

Return to bug 251644