Ticket #4601: Portfile

File Portfile, 939 bytes (added by alexandernx@…, 19 years ago)

stardict-2.4.5 portfile

Line 
1# $Id: Portfile,v 1.2 2005/05/23 18:01:29 olegb Exp $
2PortSystem 1.0
3name            stardict
4version         2.4.5
5categories      textproc
6maintainers     alexandernx@gmail.com
7description     A full featured gtk2 dictionary
8long_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
15homepage        http://stardict.sf.net
16master_sites    sourceforge
17use_bzip2       yes
18checksums       md5 78543ca107bf7a70a96ba41313de8883
19depends_lib     lib:libgtk-x11-2:gtk2 \
20                lib:libpopt:popt \
21                port:p5-xml-parser
22configure.env   LDFLAGS="-L${prefix}/lib" \
23                CPPFLAGS="-I${prefix}/include"
24configure.args  --disable-gnome-support
25
26variant gnome {
27#Should be more stable slower and with gnome deps.
28configure.args-delete   --disable-gnome-support
29depends_lib-append      lib:libgnome-2:libgnome lib:libgnomeui-2:libgnomeui
30}