1 | # $Id: Portfile,v 1.2 2005/05/23 18:01:29 olegb Exp $ |
---|
2 | PortSystem 1.0 |
---|
3 | name stardict |
---|
4 | version 2.4.5 |
---|
5 | categories textproc |
---|
6 | maintainers alexandernx@gmail.com |
---|
7 | description A full featured gtk2 dictionary |
---|
8 | long_description \ |
---|
9 | Very nice gnome dictionary. \ |
---|
10 | Can handle both local and web dictionaries. \ |
---|
11 | Though it needs a handful of gnome libraries for \ |
---|
12 | installation. |
---|
13 | #I changed the portfile so by default it builds stardict without gnome support. |
---|
14 | |
---|
15 | homepage http://stardict.sf.net |
---|
16 | master_sites sourceforge |
---|
17 | use_bzip2 yes |
---|
18 | checksums md5 78543ca107bf7a70a96ba41313de8883 |
---|
19 | depends_lib lib:libgtk-x11-2:gtk2 \ |
---|
20 | lib:libpopt:popt \ |
---|
21 | port:p5-xml-parser |
---|
22 | configure.env LDFLAGS="-L${prefix}/lib" \ |
---|
23 | CPPFLAGS="-I${prefix}/include" |
---|
24 | configure.args --disable-gnome-support |
---|
25 | |
---|
26 | variant gnome { |
---|
27 | #Should be more stable slower and with gnome deps. |
---|
28 | configure.args-delete --disable-gnome-support |
---|
29 | depends_lib-append lib:libgnome-2:libgnome lib:libgnomeui-2:libgnomeui |
---|
30 | } |
---|