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

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

In all openmaintainer and nomaintainer ports and my ports, depend on glib2 via a path in ${prefix} so that either glib2 or glib2-devel can satisfy the dependency

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