Ticket #10081: Portfile

File Portfile, 2.4 KB (added by mas@…, 15 years ago)

Portfile revision 0 for gnucash-2.0.0

Line 
1# $Id: $
2
3PortSystem        1.0
4name              gnucash
5version           2.0.0
6revision          0
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 d5802c398825500ec322bb2b3229aadd
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 hcbi {
55        depends_lib-append      lib:aqbanking:agbanking
56        configure.args-append   --enable-hbci
57}
58
59variant ofx {
60        depends_lib-append      lib:libofx:libofx
61        configure.args-append   --enable-ofx
62}