summaryrefslogtreecommitdiff
path: root/x11/avant-window-navigator/Makefile
blob: dab1cb3519f0a011178b468e4c38c1dcc2964eb4 (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
# $NetBSD: Makefile,v 1.17 2013/06/06 12:55:12 wiz Exp $
#

DISTNAME=	avant-window-navigator-0.4.0
PKGREVISION=	13
CATEGORIES=	x11
MASTER_SITES=	https://launchpad.net/awn/0.4/0.4.0/+download/

MAINTAINER=	imil@NetBSD.org
HOMEPAGE=	https://launchpad.net/awn
COMMENT=	Dock-like navigation bar
LICENSE=	gnu-lgpl-v2

# Needed for launchpad
FETCH_USING=	curl

GNU_CONFIGURE=	yes
USE_LIBTOOL=	yes
USE_TOOLS+=	pkg-config msgfmt intltool gmake
USE_LIBTOOL=	yes

PKGCONFIG_OVERRIDE+=	awn.pc.in

GCONF_SCHEMAS+=		avant-window-navigator.schemas
GCONF_SCHEMAS+=		awn-applet-taskmanager.schemas

SUBST_CLASSES+=		python
SUBST_STAGE.python=	post-patch
SUBST_MESSAGE.python=	Fixing python path
SUBST_FILES.python=	applet-activation/main.c
SUBST_SED.python=	-e "s,@PYTHONBIN@,${PYTHONBIN},"

SUBST_CLASSES+=		pathfix
SUBST_STAGE.pathfix=	post-patch
SUBST_MESSAGE.pathfix=	Fixing hardcoded paths
SUBST_FILES.pathfix=	applets/taskmanager/awn-applet-taskmanager.schema-ini.in
SUBST_FILES.pathfix+=	doc/reference/html/*.html
SUBST_FILES.pathfix+=	libawn/awn-themed-icon.c
SUBST_FILES.pathfix+=	tests/test-awn-effects.c
SUBST_FILES.pathfix+=	tests/test-overlays.py
SUBST_SED.pathfix=	-e "s,/usr/share,${PREFIX}/share,"

PY_PATCHPLIST=		yes
REPLACE_PYTHON+=	awn-settings/awnSettings.py.in
REPLACE_PYTHON+=	awn-settings/awnSettingsHelper.py

DEPENDS+=		${PYPKGPREFIX}-xdg-[0-9]*:../../devel/py-xdg
DEPENDS+=		bzr>=2.4.2:../../devel/bzr

.include "../../devel/GConf/schemas.mk"
.include "../../lang/vala014/buildlink3.mk"
.include "../../devel/libwnck/buildlink3.mk"
.include "../../sysutils/dbus-glib/buildlink3.mk"
.include "../../sysutils/py-dbus/buildlink3.mk"
.include "../../x11/py-gtk2/buildlink3.mk"
.include "../../graphics/py-cairo/buildlink3.mk"
.include "../../x11/libdesktop-agnostic/buildlink3.mk"
.include "../../sysutils/libgtop/buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../lang/python/pyversion.mk"
.include "../../lang/python/extension.mk"
.include "../../lang/python/tool.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../graphics/gnome-icon-theme/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"