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

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

gramps: allow graphviz-devel to satisfy graphviz dependency

  • 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 113591 2013-11-20 04:53:35Z ryandesign@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                        path:bin/dot: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, be sure to backup your data regularly! GRAMPS backups are in XML 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    Backup to XML from time to time, especially after large edits.
82    Backup 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    Backup to XML before upgrading GRAMPS to a newer version. Backup to XML with the old version before you install the new one!
85    Backup to XML before upgrading your OS.
86
87Also, use XML format for any data migration. Moving to another machine, sending data to a family member,
88copying to another user on the same machine -- all of these cases should use XML.
89
90For detailed backup instructions, see the online GRAMPS documentation at http://www.gramps-project.org/wiki/index.php?title=How_to_make_a_backup
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.