# -*- 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 145047 2016-01-24 16:07:55Z devans@macports.org $ PortSystem 1.0 name gramps3 conflicts gramps set dname gramps version 3.4.9 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. \ This is the legacy gtk2 version. To install the updated \ gtk3 version that supports both python 2 and 3, \ install port gramps. homepage http://www.gramps-project.org/ master_sites sourceforge:gramps distname ${dname}-${version} checksums rmd160 fc6871ae0b0c6b2c0e6c7562c48c6f4652d5b66a \ sha256 402a8616efeda730d10941690edb6dfb2719c3f7383e376a404577412676a8f3 depends_build port:pkgconfig \ port:intltool \ port:gnome-doc-utils \ port:autoconf \ port:automake \ port:libtool # librsvg is required at least for icons in dialogs depends_lib port:librsvg \ port:shared-mime-info \ port:desktop-file-utils \ path:bin/dot:graphviz # reconfigure using upstream autogen.sh for intltool 0.51 compatibility configure.cmd ./autogen.sh configure.args --disable-mime-install set python.version 27 set python.branch "[string range ${python.version} 0 end-1].[string index ${python.version} end]" set python.sitepkgs ${frameworks_dir}/Python.framework/Versions/${python.branch}/lib/python${python.branch}/site-packages depends_lib-append port:py${python.version}-gtkspell \ port:py${python.version}-webkitgtk \ port:py${python.version}-osmgpsmap \ port:py${python.version}-exiv2 \ path:${python.sitepkgs}/PIL:py${python.version}-Pillow \ port:py${python.version}-pyicu configure.python ${prefix}/bin/python${python.branch} post-activate { system "${prefix}/bin/update-mime-database ${prefix}/share/mime" system "${prefix}/bin/update-desktop-database ${prefix}/share/applications" } 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. For detailed backup instructions, see the online GRAMPS documentation at http://www.gramps-project.org/wiki/index.php?title=How_to_make_a_backup } livecheck.type regex livecheck.url http://sourceforge.net/projects/gramps/files/Stable/ livecheck.regex "/Stable/(3\[0-9.\]+)"