blob: f091ca556a20964950995b4a2971a9c05fc9dc36 (
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
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
70
71
72
73
74
75
76
77
78
79
80
81
|
# $NetBSD: Makefile,v 1.67 2014/01/25 10:30:27 wiz Exp $
DISTNAME= midori-0.4.9
PKGREVISION= 11
CATEGORIES= www
MASTER_SITES= http://archive.xfce.org/src/apps/midori/0.4/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.twotoasts.de/index.php?/pages/midori_summary.html
COMMENT= Lightweight web browser using WebKit
EXTRACT_SUFX= .tar.bz2
HAS_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= gmake intltool msgfmt pkg-config
CONFIGURE_ARGS+= --prefix=${PREFIX:Q}
CONFIGURE_ARGS+= --disable-zeitgeist
CHECK_PORTABILITY_SKIP+= win32/x86-mingw32-opensuse/install.sh
CHECK_PORTABILITY_SKIP+= win32/makedist/makedist.midori
PYTHON_FOR_BUILD_ONLY= yes
PYTHON_VERSIONS_INCOMPATIBLE= 33 # not yet ported as of 0.4.9
REPLACE_PYTHON= waf wscript docs/api/wscript_build
REPLACE_PYTHON+= tests/wscript_build extensions/wscript_build
REPLACE_PYTHON+= icons/wscript_build midori/wscript_build
BUILD_DEPENDS+= ${PYPKGPREFIX}-docutils>=0.4:../../textproc/py-docutils
BUILD_DEPENDS+= librsvg>=2.18:../../graphics/librsvg
DEPENDS+= gnome-themes-[0-9]*:../../x11/gnome-themes
EGDIR= ${PREFIX}/share/examples/midori
OWN_DIRS= ${PKG_SYSCONFDIR}/xdg/midori
CONF_FILES= ${EGDIR}/search ${PKG_SYSCONFDIR}/xdg/midori/search
.include "../../mk/bsd.prefs.mk"
OWN_DIRS+= ${PKG_SYSCONFDIR}/xdg/midori/extensions/adblock
CONF_FILES+= ${EGDIR}/extensions/adblock/config \
${PKG_SYSCONFDIR}/xdg/midori/extensions/adblock/config
CONFIGURE_ENV= VALAC=${VALAC}
# XXX stupid hack. python has a marshal.h that gets included before
# the local marshal.h
SUBST_CLASSES+= marshal marshal2
SUBST_STAGE.marshal= pre-configure
SUBST_MESSAGE.marshal= Gross hack (part one) in progress
SUBST_FILES.marshal= midori/midori-locationaction.c midori/midori-panel.c
SUBST_FILES.marshal+= midori/midori-view.c midori/midori-searchaction.c
SUBST_FILES.marshal+= midori/midori-browser.c
SUBST_FILES.marshal+= katze/katze-array.c katze/katze-arrayaction.c
SUBST_SED.marshal= -e 's/"marshal/"marshallocal/'
SUBST_STAGE.marshal2= pre-configure
SUBST_MESSAGE.marshal2= Gross hack (part two) in progress
SUBST_FILES.marshal2= midori/wscript_build
SUBST_SED.marshal2= -e s/\'marshal/\'marshallocal/
pre-configure:
${MV} ${WRKSRC}/midori/marshal.list ${WRKSRC}/midori/marshallocal.list
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/libidn/buildlink3.mk"
.include "../../devel/libsexy/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../lang/python/application.mk"
BUILDLINK_API_DEPENDS.libsoup24+=libsoup24>=2.26.0
.include "../../net/libsoup24/buildlink3.mk"
#.include "../../security/gnome-keyring/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../www/webkit-gtk/buildlink3.mk"
.include "../../x11/libunique/buildlink3.mk"
.include "../../sysutils/libnotify/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
BUILDLINK_DEPMETHOD.vala= build
.include "../../lang/vala020/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|