summaryrefslogtreecommitdiffstats
path: root/www/midori/Makefile
blob: 3e642604488abfa91ff7b3df0625f6240998a228 (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
# New ports collection makefile for:    midori
# Date created:     2007-10-21
# Whom:         Michael Johnson <ahze@FreeBSD.org>
#
# $FreeBSD$
#   $MCom: ports/www/midori/Makefile,v 1.16 2009/09/08 19:21:51 kwm Exp $
#

PORTNAME=   midori
PORTVERSION=    0.1.9
CATEGORIES= www
MASTER_SITES=   http://archive.xfce.org/src/apps/${PORTNAME}/${PORTVERSION:R}/

MAINTAINER= ahze@FreeBSD.org
COMMENT=    Lightweight web browser using WebKit browser engine

LIB_DEPENDS=    webkit-1.0:${PORTSDIR}/www/webkit-gtk2 \
        sqlite3.8:${PORTSDIR}/databases/sqlite3 \
        soup-2.4:${PORTSDIR}/devel/libsoup
BUILD_DEPENDS=  python:${PORTSDIR}/lang/python \
        rsvg-convert:${PORTSDIR}/graphics/librsvg2

CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS+=--disable-unique

HAS_CONFIGURE=  yes
USE_GMAKE=  yes
USE_BZIP2=  yes
USE_GNOME=  glib20 gtk20 intltool libxml2 pkgconfig
INSTALLS_ICONS= yes
USE_LDCONFIG=   yes

.include <bsd.port.pre.mk>

# WAF needs that
CONFIGURE_ENV+= CC=${CC}

.if !defined(WITHOUT_NLS)
USE_GETTEXT=    yes
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+=    --disable-nls
PLIST_SUB+= NLS="@comment "
.endif

.include <bsd.port.post.mk>