# -*- 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 name gnucash-devel conflicts gnucash set my_name gnucash version 2.6.7 categories gnome x11 license GPL-2+ maintainers dports openmaintainer platforms darwin set branch [join [lrange [split ${version} .] 0 1] .] description a personal and small-business financial-accounting software long_description GnuCash is a personal and small-business \ financial-accounting software. -- gnucash-devel \ installs a version from the development (unstable) \ branch. It cannot be installed along the regular \ (stable) version. If you want to try it, it is \ recommended that you `port deactivate gnucash', then \ `port install gnucash-devel', so that you can go \ back to a working copy in case anything goes wrong. homepage http://www.gnucash.org/ master_sites sourceforge:${my_name} \ http://www.gnucash.org/pub/gnucash/sources/unstable/${branch}.x/ dist_subdir ${my_name} distname ${my_name}-${version} use_bzip2 yes checksums rmd160 0821cbb0752f242bedbb749e0085e6afb20525af \ sha256 6c15b12eeddc095d6926d9ea84d885c20b8f52781602c15aa3f672a1f7e2beef patchfiles patch-configure.ac.diff post-patch { # gnc-fq-dump needs to be patched to use MacPorts perl. # (autoconf takes care of the other perl scripts.) reinplace "s|^#!/usr/bin/perl|#!${prefix}/bin/perl5.16|" ${worksrcpath}/src/quotes/gnc-fq-dump # patch source files to include guile18 header instead of guile. # (Note that gnucash's autoconf scripts prefer guile18 over guile # if both are installed.) fs-traverse f ${worksrcpath} { if [regexp {\.[ch]$} ${f}] { reinplace -locale C "s|||g" ${f} reinplace -locale C "s|