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

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

gramps: fix livecheck.

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