summaryrefslogtreecommitdiff
path: root/x11/avant-window-navigator/Makefile
blob: 04021d3ed27ce21dc3b75b5bbe4722684658d94d (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
# $NetBSD: Makefile,v 1.44 2018/09/03 10:50:19 wiz Exp $

DISTNAME=	avant-window-navigator-0.4.0
PKGREVISION=	30
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

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

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

CPPFLAGS.SunOS+=	-D__EXTENSIONS__

PKGCONFIG_OVERRIDE+=	awn.pc.in

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

SUBST_CLASSES+=		python
SUBST_STAGE.python=	pre-configure
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=	pre-configure
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
PYTHON_VERSIONS_INCOMPATIBLE=	34 35 36 37 # py-gtk2

.include "../../devel/GConf/schemas.mk"
.include "../../lang/vala/buildlink3.mk"
.include "../../devel/libwnck/buildlink3.mk"
.include "../../sysutils/dbus-glib/buildlink3.mk"
.include "../../sysutils/py-dbus/buildlink3.mk"
.include "../../graphics/py-cairo/buildlink3.mk"
.include "../../x11/py-gtk2/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"