# -*- 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: Portfile 97519 2012-09-07 22:11:34Z devans@macports.org $ PortSystem 1.0 name gramps version 3.3.1 revision 1 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. homepage http://www.gramps-project.org/ master_sites sourceforge:gramps checksums sha1 76d062268bf48d90fc3d8003dffd7947af393147 \ rmd160 52bf70fa49de5fcec8d6c917312eaa8bca9cb264 patchfiles patch-configure.diff configure.args --disable-mime-install depends_build port:pkgconfig \ port:intltool \ port:gnome-doc-utils \ port:shared-mime-info # librsvg is required at least for icons in dialogs depends_lib port:librsvg \ port:aspell-dict-en variant python26 conflicts python27 description {Use python 2.6} { depends_lib-append port:py26-gtkspell \ port:py26-enchant \ port:py26-webkitgtk \ port:py26-osmgpsmap \ port:py26-exiv2 \ port:py26-pil configure.python ${prefix}/bin/python2.6 } variant python27 conflicts python26 description {Use python 2.7} { depends_lib-append port:py27-gtkspell \ port:py27-enchant \ port:py27-webkitgtk \ port:py27-osmgpsmap \ port:py27-exiv2 \ port:py27-pil configure.python ${prefix}/bin/python2.7 } if {![variant_isset python26]} { default_variants +python27 } post-activate { system "${prefix}/bin/update-mime-database ${prefix}/share/mime" } notes { When using GRAMPS, to be sure to backup your data regularly! The backups should be in XML format (the .gramps format). XML is machine- and human-readable. It is completely self-sufficient. It is also small. The following are good practices of backups: Export to XML from time to time, especially after large edits. Export 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. Export to XML before upgrading GRAMPS to a newer version. Export to XML with the old version before you install the new one! Export to XML before upgrading your OS. Also, use XML format for any data migration. Moving to another machine, sending data to grandma, copying to another user on the same machine -- all of these cases should use XML. For further detail, see the online GRAMPS documentation at http://www.gramps-project.org/ } livecheck.type regex livecheck.url ${homepage}/category/releases/ livecheck.regex (?i)${name} (\[0-9.\]+)