Commits

Dan R. K. Ports authored 1a6f95af3bf
gnucash-devel: update to v2.6.9 (https://trac.macports.org/ticket/49207) [merge https://trac.macports.org/changeset/141081 from gnucash port]

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@141082 d073be05-634f-4543-b044-5fe20cf6d1d6
No tags

gnome/gnucash-devel/Portfile

Modified
1 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 2 # $Id$
3 3
4 4 PortSystem 1.0
5 5
6 6 name gnucash-devel
7 7 conflicts gnucash
8 8 set my_name gnucash
9 -version 2.6.7
9 +version 2.6.9
10 10 categories gnome x11
11 11 license GPL-2+
12 12 maintainers dports openmaintainer
13 13 platforms darwin
14 14
15 15 set branch [join [lrange [split ${version} .] 0 1] .]
16 16
17 17 description a personal and small-business financial-accounting software
18 18
19 19 long_description GnuCash is a personal and small-business \
25 25 `port install gnucash-devel', so that you can go \
26 26 back to a working copy in case anything goes wrong.
27 27 homepage http://www.gnucash.org/
28 28 master_sites sourceforge:${my_name} \
29 29 http://www.gnucash.org/pub/gnucash/sources/unstable/${branch}.x/
30 30
31 31 dist_subdir ${my_name}
32 32 distname ${my_name}-${version}
33 33 use_bzip2 yes
34 34
35 -checksums rmd160 0821cbb0752f242bedbb749e0085e6afb20525af \
36 - sha256 6c15b12eeddc095d6926d9ea84d885c20b8f52781602c15aa3f672a1f7e2beef
35 +checksums rmd160 ba7a4256abd322a6867e3f01843d32f96c22b57d \
36 + sha256 cdaa61b393133e03bccce3d2740bb358d6bf590de16dd19c790c983d032d8247
37 37
38 38 patchfiles patch-configure.ac.diff
39 39
40 40 post-patch {
41 41 # gnc-fq-dump needs to be patched to use MacPorts perl.
42 42 # (autoconf takes care of the other perl scripts.)
43 - reinplace "s|^#!/usr/bin/perl|#!${prefix}/bin/perl5.16|" ${worksrcpath}/src/quotes/gnc-fq-dump
43 + reinplace "s|^#!/usr/bin/perl|#!${prefix}/bin/perl5.22|" ${worksrcpath}/src/quotes/gnc-fq-dump
44 44
45 45 # patch source files to include guile18 header instead of guile.
46 46 # (Note that gnucash's autoconf scripts prefer guile18 over guile
47 47 # if both are installed.)
48 48 fs-traverse f ${worksrcpath} {
49 49 if [regexp {\.[ch]$} ${f}] {
50 50 reinplace -locale C "s|<libguile\\.h>|<libguile18.h>|g" ${f}
51 51 reinplace -locale C "s|<libguile/|<libguile18/|g" ${f}
52 52 }
53 53 }
56 56 depends_build port:pkgconfig \
57 57 port:intltool \
58 58 port:autoconf \
59 59 port:automake \
60 60 port:libtool
61 61
62 62 depends_lib port:guile18 \
63 63 port:libgnomeui \
64 64 path:lib/pkgconfig/webkit-1.0.pc:webkit-gtk \
65 65 port:goffice08 \
66 - port:p5.16-finance-quote
66 + port:p5.22-finance-quote
67 67
68 68 # yelp currently requires X11 to build so disable dependency if building
69 69 # with +quartz
70 70 #
71 71 # TODO: add +x11 +quartz variants to distinguish one build from the other
72 72 # since they have different binary dependencies. Otherwise, rev-upgrade
73 73 # errors may occur
74 74
75 75 if {![variant_isset quartz]} {
76 76 depends_run port:yelp
93 93 }
94 94
95 95 configure.cmd ./autogen.sh && ./configure
96 96
97 97 configure.args --disable-glibtest \
98 98 --disable-dependency-tracking \
99 99 --disable-aqbanking \
100 100 --disable-ofx \
101 101 --disable-dbi \
102 102 --with-html-engine=webkit
103 -configure.perl ${prefix}/bin/perl5.16
103 +configure.perl ${prefix}/bin/perl5.22
104 104 configure.env \
105 105 GUILE=${prefix}/bin/guile18 \
106 106 GUILE_CONFIG=${prefix}/bin/guile18-config \
107 107 GUILE_TOOLS=${prefix}/bin/guile18-tools
108 108
109 109 variant hbci description {AqBanking/HBCI support} {
110 110 depends_lib-append path:lib/libaqbanking.dylib:aqbanking5-gtk
111 111 configure.args-delete --disable-aqbanking
112 112 configure.args-append --enable-aqbanking
113 113 }

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut