| @@ -1,65 +1,41 @@ | | | @@ -1,65 +1,41 @@ |
1 | # $NetBSD: Makefile,v 1.6 2009/08/26 19:57:18 sno Exp $ | | 1 | # $NetBSD: Makefile,v 1.7 2009/09/13 14:43:01 wiz Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | DISTNAME= gramps-3.1.1 | | 4 | DISTNAME= gramps-3.1.2 |
5 | PKGREVISION= 1 | | | |
6 | CATEGORIES= databases | | 5 | CATEGORIES= databases |
7 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gramps/} | | 6 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gramps/} |
8 | | | 7 | |
9 | MAINTAINER= drochner@NetBSD.org | | 8 | MAINTAINER= drochner@NetBSD.org |
10 | HOMEPAGE= http://gramps-project.org/ | | 9 | HOMEPAGE= http://gramps-project.org/ |
11 | COMMENT= Genealogical Research and Analysis Management Programming System V3 | | 10 | COMMENT= Genealogical Research and Analysis Management Programming System V3 |
| | | 11 | LICENSE= gnu-gpl-v2 |
12 | | | 12 | |
13 | PKG_DESTDIR_SUPPORT= user-destdir | | 13 | DEPENDS+= xdg-utils-[0-9]*:../../misc/xdg-utils |
14 | | | 14 | |
15 | # not clear, leave off for now | | 15 | PKG_DESTDIR_SUPPORT= user-destdir |
16 | MAKE_JOBS_SAFE= no | | | |
17 | | | 16 | |
18 | USE_TOOLS+= msgfmt pkg-config intltool msgconv | | 17 | USE_TOOLS+= msgfmt pkg-config intltool msgconv |
19 | USE_PKGLOCALEDIR= yes | | 18 | USE_PKGLOCALEDIR= yes |
20 | GNU_CONFIGURE= yes | | 19 | GNU_CONFIGURE= yes |
21 | | | 20 | |
22 | # XXX Why? | | 21 | PYTHON_VERSIONS_ACCEPTED= 26 25 |
23 | CONFIGURE_ARGS+= --disable-mime-install | | 22 | |
24 | # XXX Why? | | 23 | REPLACE_PYTHON= src/DateHandler/_Date_fr.py |
| | | 24 | REPLACE_PYTHON+= src/plugins/quickview/Reporef.py |
| | | 25 | REPLACE_PYTHON+= src/plugins/rel/rel_fr.py |
| | | 26 | |
| | | 27 | # pkgsrc registers mime files using mimedb.mk (see below) |
25 | CONFIGURE_ARGS+= --enable-packager-mode | | 28 | CONFIGURE_ARGS+= --enable-packager-mode |
26 | | | 29 | |
27 | # XXX Needed still? | | 30 | .include "options.mk" |
28 | CONFIGURE_ENV+= PYTHON=${PYTHONBIN:Q} | | | |
29 | PYTHON_VERSIONS_ACCEPTED= 25 24 | | | |
30 | | | | |
31 | ## Dependencies are confusing: | | | |
32 | # From README | | | |
33 | # required: | | | |
34 | # Python 2.5 or greater (works with 2.4 after minor modifications) | | | |
35 | # PyGTK2 2.10 or greater | | | |
36 | # Python Glade bindings (bogus; included in pygtk2) | | | |
37 | # librsvg2 (svg icon view) | | | |
38 | # recommended: | | | |
39 | # graphviz | | | |
40 | # xdg | | | |
41 | # optional (skipping for now) | | | |
42 | # gtkspell | | | |
43 | # ttf-freefont | | | |
44 | # From other sources | | | |
45 | # required: | | | |
46 | # gnome-doc-utils (build fails without) | | | |
47 | # py-bsddb3 (and patch) | | | |
48 | # recommended/optional: | | | |
49 | # py-gnome (for gnome integration) | | | |
50 | # py25-reportlab (gramps2 MESSAGE, probably no longer) | | | |
51 | | | 31 | |
52 | # See http://gramps-project.org/wiki/index.php?title=Install_latest_BSDDB | | | |
53 | .include "../../databases/py-bsddb3/buildlink3.mk" | | 32 | .include "../../databases/py-bsddb3/buildlink3.mk" |
54 | # XXX Should be option or perhaps not at all | | | |
55 | .include "../../graphics/graphviz/buildlink3.mk" | | | |
56 | .include "../../graphics/librsvg/buildlink3.mk" | | 33 | .include "../../graphics/librsvg/buildlink3.mk" |
57 | .include "../../lang/python/application.mk" | | 34 | .include "../../lang/python/application.mk" |
| | | 35 | BUILDLINK_API_DEPENDS.pygtk2+= ${PYPKGPREFIX}-gtk2>=2.10 |
58 | .include "../../x11/py-gtk2/buildlink3.mk" | | 36 | .include "../../x11/py-gtk2/buildlink3.mk" |
59 | .include "../../x11/py-gnome2/buildlink3.mk" | | 37 | .include "../../x11/py-gnome2/buildlink3.mk" |
60 | # XXX Why, if we disable mime install? | | | |
61 | .include "../../databases/shared-mime-info/mimedb.mk" | | 38 | .include "../../databases/shared-mime-info/mimedb.mk" |
62 | .include "../../graphics/gnome-icon-theme/buildlink3.mk" | | | |
63 | .include "../../textproc/gnome-doc-utils/buildlink3.mk" | | 39 | .include "../../textproc/gnome-doc-utils/buildlink3.mk" |
64 | .include "../../sysutils/desktop-file-utils/desktopdb.mk" | | 40 | .include "../../sysutils/desktop-file-utils/desktopdb.mk" |
65 | .include "../../mk/bsd.pkg.mk" | | 41 | .include "../../mk/bsd.pkg.mk" |