source: trunk/dports/gnome/gnucash-devel/Portfile @ 57378

Last change on this file since 57378 was 57378, checked in by ryandesign@…, 11 years ago

Change deprecated svn.tag to svn.revision
See http://lists.macosforge.org/pipermail/macports-dev/2009-August/009699.html

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.6 KB
Line 
1# $Id: Portfile 57378 2009-09-10 08:38:23Z ryandesign@macports.org $
2
3PortSystem        1.0
4name              gnucash-devel
5svn.revision      16555
6        # see http://svn.gnucash.org/trac/timeline
7version           2.2.99.svn-${svn.revision}
8#version                  2.1.5
9#revision         0
10categories        gnome x11
11platforms         darwin
12maintainers       nomaintainer
13description       financial-accounting software
14long_description  GnuCash is a personal and small-business \
15                  financial-accounting software. -- \
16                  gnucash-devel fetches the current developer version, \
17                  then tries to build and install it.  This \
18                  may or may not work.  It cannot be installed along the \
19                  regular (stable) version.  If you want to try it, it is \
20                  recommended that you `port deactivate gnucash', then \
21                  `port install gnucash-devel', so that you can go back \
22                  to a working copy in case anything goes wrong.
23homepage          http://www.gnucash.org/
24
25depends_lib       lib:XML/Parser.pm:p5-xml-parser \
26                  path:lib/pkgconfig/glib-2.0.pc:glib2 \
27                  port:gconf \
28                  port:guile \
29                  port:slib \
30                  port:slib-guile \
31                  lib:libpopt:popt \
32                  lib:libgnomeui:libgnomeui \
33                  lib:libgnomeprintui:libgnomeprintui \
34                  lib:libgtkhtml-3:libgtkhtml3 \
35                  lib:libgsf:libgsf \
36                  lib:libgoffice-0.3:goffice03 \
37                  lib:aqbanking:aqbanking \
38                  lib:libofx:libofx \
39                  lib:Finance/Quote.pm:p5-finance-quote \
40                  port:gnucash-docs
41depends_build     bin:glibtoolize:libtool port:automake
42depends_run       port:evince
43
44#master_sites     http://www.gnucash.org/pub/gnucash/sources/unstable/2.3.x/
45#distname         gnucash-${version}
46##worksrcdir      ${distname}.
47#                       # this was a packaging bug in 2.1.0
48#use_bzip2        yes
49#checksums        md5 7dfc9a46eb49b744fb7a8c543ef9cccc
50#                 # gpg signature for 2.1.5 verified
51
52fetch.type        svn
53svn.url           http://svn.gnucash.org/repo/gnucash/trunk/
54distname          trunk
55
56pre-configure {
57        system "cd ${worksrcpath} && LIBTOOLIZE=glibtoolize ./autogen.sh"
58}
59
60configure.args    --disable-glibtest --disable-debug --disable-profile \
61                  --disable-dependency-tracking --enable-hbci --enable-ofx
62
63default_variants +guile16
64
65variant without_hbci {
66        depends_lib-delete      lib:aqbanking:aqbanking
67        configure.args-delete   --enable-hbci
68        configure.args-append   --disable-hbci
69}
70
71variant without_ofx {
72        depends_lib-delete      lib:libofx:libofx
73        configure.args-delete   --enable-ofx
74        configure.args-append   --disable-ofx
75}
76
77variant without_quotes {
78        depends_lib-delete      lib:Finance/Quote.pm:p5-finance-quote
79}
80
81variant without_docs {
82        depends_lib-delete      port:gnucash-docs
83}
84
85variant guile16 {
86        depends_lib-delete      port:guile
87        depends_lib-delete      port:slib-guile
88        depends_lib-append      port:guile16 \
89                                port:slib-guile16
90}
91
92#
93# disable livecheck for svn based port
94#
95
96livecheck.type  none
Note: See TracBrowser for help on using the repository browser.