summaryrefslogtreecommitdiff
path: root/databases/gramps3/Makefile
blob: 755d4e3fbafa4e455984cae202acf53d20d4db21 (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.3 2008/09/06 20:54:32 wiz Exp $
#

DISTNAME=		gramps-3.0.1
PKGREVISION=		2
CATEGORIES=		databases
MASTER_SITES=		${MASTER_SITE_SOURCEFORGE:=gramps/}

MAINTAINER=		gdt@NetBSD.org
HOMEPAGE=		http://gramps-project.org/
COMMENT=		Genealogical Research and Analysis Management Programming System V3

PKG_DESTDIR_SUPPORT=	user-destdir

# not clear, leave off for now
MAKE_JOBS_SAFE=		no

USE_DIRS+=		xdg-1.1
USE_TOOLS+=		msgfmt pkg-config intltool msgconv
USE_PKGLOCALEDIR=	yes
GNU_CONFIGURE=		yes

# XXX Why?
CONFIGURE_ARGS+=	--disable-mime-install
# XXX Why?
CONFIGURE_ARGS+=	--enable-packager-mode

# XXX Needed still?
CONFIGURE_ENV+=		PYTHON=${PYTHONBIN:Q}
PYTHON_VERSIONS_ACCEPTED=	25 24

## Dependencies are confusing:
# From README
# required:
#   Python 2.5 or greater (works with 2.4 after minor modifications)
#   PyGTK2 2.10 or greater
#   Python Glade bindings (bogus; included in pygtk2)
#   librsvg2 (svg icon view)
# recommended:
#   graphviz
#   xdg (above via USE_DIRS??)
# optional (skipping for now)
#   gtkspell
#   ttf-freefont
# From other sources
# required:
#   gnome-doc-utils (build fails without)
#   py-bsddb3 (and patch)
# recommended/optional:
#   py-gnome (for gnome integration)
#   py25-reportlab (gramps2 MESSAGE, probably no longer)

# See http://gramps-project.org/wiki/index.php?title=Install_latest_BSDDB
.include "../../databases/py-bsddb3/buildlink3.mk"
# XXX Should be option or perhaps not at all
.include "../../graphics/graphviz/buildlink3.mk"
.include "../../graphics/librsvg/buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../x11/py-gtk2/buildlink3.mk"
.include "../../x11/py-gnome2/buildlink3.mk"
# XXX Why, if we disable mime install?
.include "../../databases/shared-mime-info/mimedb.mk"
.include "../../graphics/gnome-icon-theme/buildlink3.mk"
.include "../../textproc/gnome-doc-utils/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../mk/bsd.pkg.mk"