blob: a101fc6abaa59466a0f01e0488417c5e9df9e867 (
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
66
67
68
69
|
# New ports collection makefile for: wxgtk26
# Date created: June 27, 2004
# Whom: fjoe@FreeBSD.ORG
#
# $FreeBSD$
#
PORTNAME= wx
PORTVERSION= 2.9.3
PORTREVISION?= 1
CATEGORIES= x11-toolkits
MASTER_SITES= SF/wxwindows/${PORTVERSION}
PKGNAMESUFFIX= gtk2
DISTNAME= wxWidgets-${PORTVERSION}
MAINTAINER?= fjoe@FreeBSD.org
COMMENT?= The wxWidgets GUI toolkit with GTK+ bindings
LIB_DEPENDS+= png15:${PORTSDIR}/graphics/png\
jpeg.11:${PORTSDIR}/graphics/jpeg\
tiff.4:${PORTSDIR}/graphics/tiff\
expat.6:${PORTSDIR}/textproc/expat2
USE_BZIP2= yes
USE_XORG= x11 sm xxf86vm xinerama
USE_GL= glu
USE_GMAKE= yes
USE_ICONV= yes
USE_GNOME= gtk20
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-libpng=sys\
--with-libjpeg=sys\
--with-libtiff=sys\
--with-zlib=sys\
--with-expat=sys\
--with-opengl\
--with-mspack\
--with-gtk\
--enable-mediactrl\
--disable-backtrace\
--enable-graphics_ctx
CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"\
PTHREAD_LIBS="${PTHREAD_LIBS}"\
X11BASE="${LOCALBASE}"
CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
NO_LATEST_LINK= yes
OPTIONS= GSTREAMER "media support" on\
MSPACK "MS archives support" on
.include <bsd.port.pre.mk>
.if defined(WITH_GSTREAMER)
CONFIGURE_ARGS+=--enable-mediactrl
USE_GNOME+= gconf2
USE_GSTREAMER= yes
.else
CONFIGURE_ARGS+=--disable-mediactrl
.endif
.if defined(WITH_MSPACK)
CONFIGURE_ARGS+=--with-libmspack
LIB_DEPENDS+= mspack.1:${PORTSDIR}/archivers/libmspack
.else
CONFIGURE_ARGS+=--without-libmspack
.endif
.include <bsd.port.post.mk>
|