Ticket #10081: Portfile.3

File Portfile.3, 2.7 KB (added by mas@…, 18 years ago)

Portfile revision 0 for gnucash-2.0.1

Line 
1# $Id: Portfile,v 1.3 2006/08/06 23:15:47 mas Exp mas $
2
3PortSystem        1.0
4name              gnucash
5version           2.0.1
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" \
31                  Please also note: Automatic retrieval of stock quotes \
32                  will require the following perl \
33                  modules to be installed: Date::Manip, LWP, HTML::Parser, \
34                  HTML::TableExtract, Crypt::SSLeay, Finance::Quote. \
35                  gnucash has an (incomplete) tool to install these, but \
36                  I would recommend simply using CPAN yourself.
37homepage          http://www.gnucash.org/
38master_sites      http://www.gnucash.org/pub/gnucash/sources/stable/
39checksums         md5 627bdf6fab9152a1857e5bb8d4887f2a
40depends_lib       lib:XML/Parser.pm:p5-xml-parser \
41                  port:glib1 \
42                  port:glib2 \
43                  port:gconf \
44                  lib:libguile:slib-guile \
45                  bin:g-wrap-config:g-wrap \
46                  lib:libpopt:popt \
47                  lib:libgnomeui:libgnomeui \
48                  lib:libgnomeprintui:libgnomeprintui \
49                  lib:libgtkhtml-3:libgtkhtml3 \
50                  lib:libgsf:libgsf \
51                  lib:libgoffice:goffice
52depends_build     bin:glibtoolize:libtool
53
54configure.env     CPPFLAGS="-L${prefix}/lib -I${prefix}/include" \
55                  CFLAGS="-L${prefix}/lib -I${prefix}/include" \
56                  LDFLAGS=-L${prefix}/lib
57configure.args    --disable-glibtest --disable-debug --disable-profile \
58                  --disable-dependency-tracking
59
60variant hbci {
61        depends_lib-append      lib:aqbanking:aqbanking
62        configure.args-append   --enable-hbci
63}
64
65variant ofx {
66        depends_lib-append      lib:libofx:libofx
67        configure.args-append   --enable-ofx
68}