source: trunk/dports/textproc/stardict/Portfile @ 111503

Last change on this file since 111503 was 111503, checked in by ryandesign@…, 6 years ago

stardict: update to 3.0.4 and disable tools because they require MySQL (#34516); blacklist clang which fails to compile (#34517)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 111503 2013-09-24 04:24:24Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name            stardict
6version         3.0.4
7categories      textproc
8maintainers     gmail.com:alexandernx
9platforms       darwin
10license         GPL-3+
11
12description     A full featured gtk2 dictionary
13long_description \
14        Very nice gnome dictionary. \
15        Can handle both local and web dictionaries. \
16        Though it needs a handful of gnome libraries for \
17        installation.
18
19homepage        http://code.google.com/p/stardict-3/
20master_sites    googlecode:stardict-3
21use_bzip2       yes
22
23checksums       rmd160  78f20b2092006951f35497b804b176b9c2a15195 \
24                sha256  c38b9d953fe0b2380a8aed4c98cb121ad83aff91a32af3c665198d8268b1dce8
25
26depends_build   port:pkgconfig \
27                port:intltool \
28                port:gnome-doc-utils
29
30depends_lib     path:lib/pkgconfig/glib-2.0.pc:glib2 \
31                port:gtk2 \
32                port:popt \
33                port:p5.12-xml-parser
34
35patchfiles      patch-zlib-1.2.6.diff
36
37# t_lookupdata.cpp:41:30: error: variable length array of non-POD element type 'std::vector<gchar *>'
38# http://code.google.com/p/stardict-3/issues/detail?id=58
39compiler.blacklist *clang*
40
41configure.args  --disable-gnome-support \
42                --disable-spell \
43                --disable-gucharmap \
44                --disable-festival \
45                --disable-espeak \
46                --disable-tools
47
48# Undefined symbols "_g_module_close", "_g_module_open", "_g_module_symbol"
49configure.libs  -lgmodule-2.0
50
51variant gnome description {Add Gnome support} {
52#Should be more stable slower and with gnome deps.
53configure.args-delete   --disable-gnome-support
54depends_lib-append      port:libgnome port:libgnomeui
55}
56
57platform darwin {
58        configure.args-append --enable-darwin-support
59}
Note: See TracBrowser for help on using the repository browser.