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

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

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

BUILD_DEPENDS=	${X11BASE}/libdata/pkgconfig/mozilla-nspr.pc:${PORTSDIR}/www/mozilla \
		${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 gnometarget
WXGTK_CONFIG?=	${X11BASE}/bin/wxgtk2-2.4-config
USE_LIBTOOL_VER=15
CONFIGURE_ARGS=	--with-wx-config=${WXGTK_CONFIG} --enable-python
INSTALLS_SHLIB=	yes

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500000
IGNORE=	"Does not build on 4.X"
.endif

.include <bsd.port.post.mk>