Ticket #10081: Portfile.5

File Portfile.5, 2.5 KB (added by mas@…, 18 years ago)

Portfile revision 2 for gnucash-2.0.1

Line 
1# $Id: Portfile,v 1.4 2006/08/07 00:37:41 mas Exp mas $
2
3PortSystem        1.0
4name              gnucash
5version           2.0.1
6revision          2
7categories        x11 gnome
8maintainers       mas@seligma.com
9description       a personal and small-business financial-accounting software
10long_description  GnuCash is a personal and small-business \
11                  financial-accounting software, freely licensed under the \
12                  GNU GPL.  Designed to be easy to use, yet powerful and \
13                  flexible, GnuCash allows you to track bank accounts, \
14                  stocks, income and expenses. As quick and intuitive to \
15                  use as a checkbook register, it is based on professional \
16                  accounting principles to ensure balanced books and \
17                  accurate reports. \
18                  GnuCash is supposed to run as root once after initial \
19                  installation.  This port does not work around this \
20                  decision at the moment. \
21                  Please note: This requires g-wrap installed correctly. \
22                  This means two things: One, it needs g-wrap with glib \
23                  support, which will only happen if you had glib1 \
24                  installed when installing g-wrap for the first time! \
25                  If this was not the case, you will get a strange error \
26                  and should uninstall g-wrap.  It will be reinstalled \
27                  correctly while fulfilling gnucash dependencies. \
28                  Two, g-wrap uses port slib-guile, which is incomplete. \
29                  Please make sure that there is a symlink installed as \
30                  "ln -s /opt/local/lib/slib /opt/local/share/guile/1.6/slib"
31homepage          http://www.gnucash.org/
32master_sites      http://www.gnucash.org/pub/gnucash/sources/stable/
33checksums         md5 627bdf6fab9152a1857e5bb8d4887f2a
34depends_lib       lib:XML/Parser.pm:p5-xml-parser \
35                  port:glib1 \
36                  port:glib2 \
37                  port:gconf \
38                  lib:libguile:slib-guile \
39                  bin:g-wrap-config:g-wrap \
40                  lib:libpopt:popt \
41                  lib:libgnomeui:libgnomeui \
42                  lib:libgnomeprintui:libgnomeprintui \
43                  lib:libgtkhtml-3:libgtkhtml3 \
44                  lib:libgsf:libgsf \
45                  lib:libgoffice:goffice
46depends_build     bin:glibtoolize:libtool
47
48configure.env     CPPFLAGS="-L${prefix}/lib -I${prefix}/include" \
49                  CFLAGS="-L${prefix}/lib -I${prefix}/include" \
50                  LDFLAGS=-L${prefix}/lib
51configure.args    --disable-glibtest --disable-debug --disable-profile \
52                  --disable-dependency-tracking
53
54variant quotes {
55        depends_lib-append      lib:Finance/Quote.pm:p5-finance-quote
56}
57
58variant hbci {
59        depends_lib-append      lib:aqbanking:aqbanking
60        configure.args-append   --enable-hbci
61}
62
63variant ofx {
64        depends_lib-append      lib:libofx:libofx
65        configure.args-append   --enable-ofx
66}