source: trunk/dports/genealogy/gramps/Portfile @ 113519

Last change on this file since 113519 was 113519, checked in by devans@…, 7 years ago

gramps: update to version 3.4.6, add dependency on graphviz for reports, closes #38441.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.7 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 113519 2013-11-18 22:49:45Z devans@macports.org $
3
4PortSystem              1.0
5
6name                    gramps
7version                 3.4.6
8license                 GPL-2
9categories              genealogy python
10platforms               darwin
11supported_archs         noarch
12maintainers             devans openmaintainer
13           
14description             GRAMPS is a genealogy program
15
16long_description        GRAMPS is a genealogy program to store, edit, \
17                        and research genealogical data.  It provides \
18                        advanced capabilities for research, analysis, and \
19                        correlation to potentially fill relationship gaps.
20
21homepage                http://www.gramps-project.org/
22master_sites            sourceforge:gramps
23
24checksums               rmd160  c73185c34b4bc19b4a3183f916bf7e9908435267 \
25                        sha256  50c9020b50dd1e235856254f4f939a5dbf923f5cbce82b45285e31773a27a427
26
27patchfiles              patch-configure.diff
28
29configure.args          --disable-mime-install
30
31depends_build           port:pkgconfig \
32                        port:intltool \
33                        port:gnome-doc-utils
34
35# librsvg is required at least for icons in dialogs
36
37depends_lib             port:librsvg \
38                        port:aspell-dict-en \
39                        port:shared-mime-info \
40                        port:desktop-file-utils \
41                        port:graphviz
42
43variant python26 conflicts python27 description {Use python 2.6} {
44    depends_lib-append  port:py26-gtkspell \
45                        port:py26-enchant \
46                        port:py26-webkitgtk \
47                        port:py26-osmgpsmap \
48                        port:py26-exiv2 \
49                        port:py26-pil \
50                        port:py26-pyicu
51    configure.python    ${prefix}/bin/python2.6
52}
53
54variant python27 conflicts python26 description {Use python 2.7} {
55    depends_lib-append  port:py27-gtkspell \
56                        port:py27-enchant \
57                        port:py27-webkitgtk \
58                        port:py27-osmgpsmap \
59                        port:py27-exiv2 \
60                        port:py27-pil \
61                        port:py27-pyicu
62    configure.python    ${prefix}/bin/python2.7
63}
64
65if {![variant_isset python26]} {
66    default_variants +python27
67}
68
69post-activate {
70    system "${prefix}/bin/update-mime-database ${prefix}/share/mime"
71    system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
72}
73
74notes {
75
76When using GRAMPS, to be sure to backup your data regularly! The backups should be in XML format (the .gramps format).
77XML is machine- and human-readable. It is completely self-sufficient. It is also small.
78
79The following are good practices of backups:
80
81    Export to XML from time to time, especially after large edits.
82    Export to XML before making big changes, such as importing new data into an existing database from e.g. GEDCOM,
83        merging records, running tools that may heavily modify the data, etc.
84    Export to XML before upgrading GRAMPS to a newer version. Export to XML with the old version before you install the new one!
85    Export to XML before upgrading your OS.
86
87Also, use XML format for any data migration. Moving to another machine, sending data to grandma,
88copying to another user on the same machine -- all of these cases should use XML.
89
90For further detail, see the online GRAMPS documentation at http://www.gramps-project.org/
91
92}
93
94livecheck.type                  regex
95livecheck.url                   http://sourceforge.net/projects/gramps/files/Stable/
96livecheck.regex                 "/Stable/(\[0-9.\]+)"
Note: See TracBrowser for help on using the repository browser.