source: trunk/dports/genealogy/gramps3/Portfile

Last change on this file was 145047, checked in by devans@…, 22 months ago

gramps3: remove unnecessary dependency on aspell-dict-en.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 4.0 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 145047 2016-01-24 16:07:55Z ryandesign@macports.org $
3
4PortSystem              1.0
5
6name                    gramps3
7conflicts               gramps
8set dname               gramps
9version                 3.4.9
10revision                1
11license                 GPL-2
12categories              genealogy python
13platforms               darwin
14supported_archs         noarch
15maintainers             devans openmaintainer
16
17description             GRAMPS is a genealogy program
18
19long_description        GRAMPS is a genealogy program to store, edit, \
20                        and research genealogical data.  It provides \
21                        advanced capabilities for research, analysis, and \
22                        correlation to potentially fill relationship gaps. \
23                        This is the legacy gtk2 version.  To install the updated \
24                        gtk3 version that supports both python 2 and 3, \
25                        install port gramps.
26
27homepage                http://www.gramps-project.org/
28master_sites            sourceforge:gramps
29
30distname                ${dname}-${version}
31
32checksums               rmd160  fc6871ae0b0c6b2c0e6c7562c48c6f4652d5b66a \
33                        sha256  402a8616efeda730d10941690edb6dfb2719c3f7383e376a404577412676a8f3
34
35depends_build           port:pkgconfig \
36                        port:intltool \
37                        port:gnome-doc-utils \
38                        port:autoconf \
39                        port:automake \
40                        port:libtool
41
42# librsvg is required at least for icons in dialogs
43
44depends_lib             port:librsvg \
45                        port:shared-mime-info \
46                        port:desktop-file-utils \
47                        path:bin/dot:graphviz
48
49# reconfigure using upstream autogen.sh for intltool 0.51 compatibility
50
51configure.cmd           ./autogen.sh
52
53configure.args          --disable-mime-install
54
55set python.version      27
56set python.branch       "[string range ${python.version} 0 end-1].[string index ${python.version} end]"
57set python.sitepkgs     ${frameworks_dir}/Python.framework/Versions/${python.branch}/lib/python${python.branch}/site-packages
58                        depends_lib-append  port:py${python.version}-gtkspell \
59                            port:py${python.version}-webkitgtk \
60                            port:py${python.version}-osmgpsmap \
61                            port:py${python.version}-exiv2 \
62                            path:${python.sitepkgs}/PIL:py${python.version}-Pillow \
63                            port:py${python.version}-pyicu
64configure.python        ${prefix}/bin/python${python.branch}
65
66post-activate {
67    system "${prefix}/bin/update-mime-database ${prefix}/share/mime"
68    system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
69}
70
71notes {
72
73When using GRAMPS, be sure to backup your data regularly! GRAMPS backups are in XML format.
74XML is machine- and human-readable. It is completely self-sufficient. It is also small.
75
76The following are good backup practices:
77
78    Backup to XML from time to time, especially after large edits.
79    Backup to XML before making big changes, such as importing new data into an existing database from e.g. GEDCOM,
80        merging records, running tools that may heavily modify the data, etc.
81    Backup to XML before upgrading GRAMPS to a newer version. Backup to XML with the old version before you install the new one!
82    Backup to XML before upgrading your OS.
83
84Also, use XML format for any data migration. Moving to another machine, sending data to a family member,
85copying to another user on the same machine -- all of these cases should use XML.
86
87For detailed backup instructions, see the online GRAMPS documentation at http://www.gramps-project.org/wiki/index.php?title=How_to_make_a_backup
88
89}
90
91livecheck.type                  regex
92livecheck.url                   http://sourceforge.net/projects/gramps/files/Stable/
93livecheck.regex                 "/Stable/(3\[0-9.\]+)"
Note: See TracBrowser for help on using the repository browser.