source: trunk/dports/editors/abiword/Portfile @ 20293

Last change on this file since 20293 was 20293, checked in by blair@…, 14 years ago

Set the svn:keywords property to 'Id' for all Portfile's. This
re-enables the Id keyword substitution that was present in the CVS
repository.

See this thread for more information:
http://lists.macosforge.org/pipermail/macports-dev/2006-October/000180.html

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1# $Id: Portfile 20293 2006-11-01 17:47:33Z blair@macports.org $
2PortSystem 1.0
3name            abiword
4version         2.4.4
5description     A word processor with gnome support.
6long_description        A word processor with gnome support.
7maintainers     macports-dev@lists.macosforge.org
8categories      editors textproc aqua
9platforms       darwin
10homepage        http://www.abisource.com/
11master_sites    http://www.abisource.org/downloads/abiword/${version}/source
12checksums       md5 e018669a154164d31c768f773a1c95b4 \
13                sha1 bca02a8beb490246f785518fc82c6c557a77a88d \
14                rmd160 f0de27f97135f8fff9b4400b05d74a27eee348cd
15distname        abiword-${version}
16use_bzip2       yes
17worksrcdir      ${distname}/abi
18default_variants        +use_binary
19
20depends_lib     \
21        port:zlib \
22        port:libpng \
23        port:fribidi \
24        port:fontconfig \
25        port:imagemagick
26
27patchfiles configure.patch \
28        abi-detect-platform.m4.patch
29
30configure.env \
31        CPPFLAGS="-L${prefix}/lib -I${prefix}/include" \
32        LDFLAGS="-L${prefix}/lib" \
33        CFLAGS="-no-cpp-precomp"
34
35configure.args  \
36        --enable-Cocoa \
37        --mandir=${prefix}/share/man \
38        --with-zlib=${prefix} \
39        --with-libpng=${prefix} \
40        --with-popt=${prefix} \
41        --without-epath \
42        --disable-gnome \
43        --with-darwinports
44
45build.target {}
46
47variant use_binary conflicts use_source {
48        distname AbiWord-${version}-10.2
49        extract.suffix .dmg.gz
50        master_sites    http://www.abisource.org/downloads/abiword/${version}/MacOSX
51        checksums       md5 3d5e9359a07aba5968b51c2a8abbbe29
52        use_bzip2       no
53        extract.post_args > ${workpath}/${distname}.dmg
54        post-extract {
55                file mkdir /tmp/${name}-${version}
56                system "hdiutil attach ${workpath}/${distname}.dmg -private -nobrowse -mountpoint /tmp/${name}-${version}"
57        }
58        patch {}
59        configure {}
60        build {}
61        destroot {
62                file mkdir ${destroot}/Applications/DarwinPorts
63                file copy /tmp/${name}-${version}/AbiWord.app ${destroot}/Applications/DarwinPorts
64        }
65        post-destroot {
66                system "hdiutil detach /tmp/${name}-${version}"
67                file delete -force /tmp/${name}-${version}
68        }
69}
70
71variant use_source {
72}
Note: See TracBrowser for help on using the repository browser.