summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/wxmozilla/Makefile
blob: 1dc0024edaad6ac9f2d5cae13df48e2e240a1b94 (plain)
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
# ex:ts=8
# Ports collection makefile for:	wxmozilla
# Date created:			Oct 27, 2003
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	wxmozilla
PORTVERSION=	0.5.3
PORTREVISION=	1
CATEGORIES=	x11-toolkits
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Embedding Mozilla in wxWindows

BUILD_DEPENDS=	${X11BASE}/lib/firefox/lib/pkgconfig/mozilla-nspr.pc:${PORTSDIR}/www/firefox \
		${PYTHON_SITELIBDIR}/wxPython/__init__.py:${PORTSDIR}/x11-toolkits/py-wxPython
LIB_DEPENDS=	wx_gtk2-2.4.0:${PORTSDIR}/x11-toolkits/wxgtk2
RUN_DEPENDS=	${BUILD_DEPENDS}

USE_PYTHON=	yes
USE_GNOME=	gnomehack
WXGTK_CONFIG?=	${X11BASE}/bin/wxgtk2-2.4-config
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	PKG_CONFIG_PATH="${X11BASE}/lib/firefox/lib/pkgconfig"
CONFIGURE_ARGS=	--with-wx-config=${WXGTK_CONFIG} --enable-python
INSTALLS_SHLIB=	yes

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500000
BROKEN=		"Does not compile"
.endif

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud