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

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

abiword-x11: eliminate lint messages.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 35906 2008-04-09 16:42:37Z mcalhoun@macports.org $
2
3PortSystem 1.0
4
5name            abiword-x11
6version         2.4.6
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://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles
16checksums       md5 8ed5fb282b9741aca75b9e47500d39a1 \
17                sha1 3011d221d09336f09f4bb0732add3405961a8623 \
18                rmd160 ca56800d811b3aca0af6b2fb6cd70cbea29ab792
19distname        abiword-${version}
20use_bzip2       yes
21dist_subdir     abiword
22worksrcdir      ${distname}/abi
23depends_lib     \
24        port:gnome-platform-suite \
25        port:zlib \
26        port:fribidi \
27        port:fontconfig \
28        port:libgnomeprintui
29
30configure.cppflags-append       "-L${prefix}/lib"
31configure.cflags-append         "-no-cpp-precomp"
32
33configure.args  \
34        --disable-Cocoa \
35        --disable-Carbon \
36        --mandir=${prefix}/share/man \
37        --without-epath \
38        --enable-gnome
39       
40build.target    {}
41
42variant without_gnome description {Disable GNOME support} {
43        configure.args-delete   --enable-gnome
44        depends_lib-delete      \
45                port:gnome-platform-suite \
46                port:libgnomeprintui
47}
48
49platform darwin 9 {
50        post-patch {
51                reinplace "s|#define ICONV_CONST const|#define ICONV_CONST|g" ${worksrcpath}/src/af/util/xp/ut_iconv.cpp
52        }
53}
Note: See TracBrowser for help on using the repository browser.