# -*- 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 # $Id$ PortSystem 1.0 PortGroup github 1.0 github.setup gramps-project gramps 4.2.3 v PortGroup python 1.0 conflicts gramps3 license GPL-2 categories genealogy python platforms darwin supported_archs noarch maintainers devans openmaintainer description GRAMPS is a genealogy program long_description GRAMPS is a genealogy program to store, edit, \ and research genealogical data. It provides \ advanced capabilities for research, analysis, and \ correlation to potentially fill relationship gaps. This \ version is based on gtk3 and supports both python 2 and 3. \ To use the legacy gtk2 version, install port gramps3. homepage http://www.gramps-project.org/ checksums rmd160 f635dc0604101c439472efc34159d58c82b3ec78 \ sha256 222b3555114de6b8bdd4579782333dd0afe196298e520514a29ee0ea4efcb689 depends_build-append port:intltool depends_lib-append port:desktop-file-utils \ port:shared-mime-info \ port:xdg-utils \ port:gtk3 \ port:gtkspell3 \ port:osm-gps-map \ port:gexiv2 \ path:bin/dot:graphviz \ port:ghostscript \ port:goocanvas2 depends_run port:gnome-themes-standard patchfiles patch-gramps-gen-utils-resourcepath.py.diff \ patch-pygi-require-version.diff # versions 4.2.0+ only support python 3 variant python34 conflicts python35 description {Use Python 3.4} { python.default_version 34 depends_lib-append port:py34-gobject3 \ port:py34-pyicu \ port:py34-Pillow \ port:py34-bsddb3 } variant python35 conflicts python34 description {Use Python 3.5} { python.default_version 35 depends_lib-append port:py35-gobject3 \ port:py35-pyicu \ port:py35-Pillow \ port:py35-bsddb3 } if {![variant_isset python35]} { default_variants +python34 } post-destroot { reinplace "s|${destroot}${python.prefix}|${prefix}|" ${destroot}${python.pkgd}/gramps/gen/utils/resource-path delete ${destroot}${prefix}/share move ${destroot}${python.prefix}/share ${destroot}${prefix} } post-activate { system "${prefix}/bin/update-desktop-database ${prefix}/share/applications" system "${prefix}/bin/update-mime-database ${prefix}/share/mime" } notes { When using GRAMPS, be sure to backup your data regularly! GRAMPS backups are in XML format. XML is machine- and human-readable. It is completely self-sufficient. It is also small. The following are good backup practices: Backup to XML from time to time, especially after large edits. Backup to XML before making big changes, such as importing new data into an existing database from e.g. GEDCOM, merging records, running tools that may heavily modify the data, etc. Backup to XML before upgrading GRAMPS to a newer version. Backup to XML with the old version before you install the new one! Backup to XML before upgrading your OS. Also, use XML format for any data migration. Moving to another machine, sending data to a family member, copying to another user on the same machine -- all of these cases should use XML. ***** IMPORTANT ***** Beginning with GRAMPS 4.2, GRAMPS only supports python3. Please MAKE A BACKUP of your data using your old python2 version before attempting to load your family tree in GRAMPS 4.2 with python3. The python3 versions use a different database interface with a new database format that is not compatible with the python2 versions. On startup, GRAMPS 4.2 will ask you if you want to reformat your database. Once this has been done, your database will no longer be usable with python2 versions of GRAMPS. ***** MAKE A BACKUP! ***** For detailed backup instructions, see the online GRAMPS documentation at http://www.gramps-project.org/wiki/index.php?title=How_to_make_a_backup }