source: trunk/dports/editors/abiword-x11/Portfile @ 44048

Last change on this file since 44048 was 44048, checked in by jmr@…, 11 years ago

abiword-x11: update to 2.6.5

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# $Id: Portfile 44048 2008-12-20 02:36:47Z jmr@macports.org $
2
3PortSystem 1.0
4
5name            abiword-x11
6version         2.6.5
7description     A word processor with gnome support.
8long_description        A word processor with gnome support.
9maintainers     nomaintainer
10categories      editors textproc gnome
11platforms       darwin
12homepage        http://www.abisource.com/
13master_sites    \
14        http://www.abisource.org/downloads/abiword/${version}/source \
15        http://www.nl.abisource.com/downloads/abiword/${version}/source \
16        http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles
17checksums       md5 edce76a1da515dfc102a0e030f722002 \
18                sha1 f848e82bcda6b0ece5ce206b516a475af9aa5fa7 \
19                rmd160 406c1dd6a84bfcf8111d39b23e0a4d3361eda87e
20distname        abiword-${version}
21
22patchfiles  patch-configure.diff
23
24depends_lib     \
25        port:enchant \
26        port:expat \
27        port:fontconfig \
28        port:fribidi \
29        port:gnome-platform-suite \
30        port:ImageMagick \
31        port:jpeg \
32        port:libgnomeprintui \
33        port:libiconv \
34        port:libpng \
35        port:popt \
36        port:wv \
37        port:zlib
38
39configure.args  \
40        --disable-Cocoa \
41        --disable-Carbon \
42        --mandir=${prefix}/share/man \
43        --with-expat=${prefix} \
44        --with-fribidi=${prefix} \
45        --with-ImageMagick=${prefix} \
46        --with-libiconv=${prefix} \
47        --with-libjpeg-prefix=${prefix} \
48        --with-libpng=${prefix} \
49        --with-popt=${prefix} \
50        --with-zlib=${prefix} \
51        --without-epath \
52        --enable-gnome
53
54variant without_gnome description {Disable GNOME support} {
55        configure.args-delete   --enable-gnome
56        depends_lib-delete      \
57                port:gnome-platform-suite \
58                port:libgnomeprintui
59}
60
61platform darwin 9 {
62        post-patch {
63                reinplace "s|#define ICONV_CONST const|#define ICONV_CONST|g" ${worksrcpath}/src/af/util/xp/ut_iconv.cpp
64        }
65}
Note: See TracBrowser for help on using the repository browser.