2 | | PortSystem 1.0 |
3 | | name abiword |
4 | | version 2.4.5 |
5 | | description A word processor with gnome support. |
6 | | long_description A word processor with gnome support. |
7 | | maintainers nomaintainer |
8 | | categories editors textproc aqua |
9 | | platforms darwin |
10 | | homepage http://www.abisource.com/ |
11 | | master_sites http://www.abisource.org/downloads/abiword/${version}/source \ |
12 | | http://www.nl.abisource.org/downloads/abiword/${version}/source |
13 | | checksums md5 e018669a154164d31c768f773a1c95b4 \ |
14 | | sha1 bca02a8beb490246f785518fc82c6c557a77a88d \ |
15 | | rmd160 f0de27f97135f8fff9b4400b05d74a27eee348cd |
16 | | distname abiword-${version} |
17 | | use_bzip2 yes |
18 | | |
19 | | if {![variant_isset use_source]} { |
20 | | default_variants +use_binary |
21 | | } |
22 | | |
23 | | pre-fetch { |
24 | | if {! [variant_isset use_binary] && ! [variant_isset use_source]} { |
25 | | return -code 1 "Please select either use_binary or use_source variant" |
26 | | } |
27 | | } |
28 | | |
29 | | variant use_binary conflicts use_source { |
30 | | distname AbiWord-${version}-10.2 |
31 | | extract.suffix .dmg.gz |
32 | | master_sites http://www.abisource.org/downloads/abiword/${version}/MacOSX \ |
33 | | http://www.nl.abisource.org/downloads/abiword/${version}/MacOSX \ |
34 | | http://os.cqu.edu.au/macosx/office/abiword |
35 | | checksums md5 13d249d7f0181a5c44e7342b302b19ae |
36 | | use_bzip2 no |
37 | | extract.post_args > ${workpath}/${distname}.dmg |
38 | | post-extract { |
39 | | file mkdir /tmp/${name}-${version} |
40 | | system "hdiutil attach ${workpath}/${distname}.dmg -private -nobrowse -mountpoint /tmp/${name}-${version}" |
41 | | } |
42 | | patch {} |
43 | | use_configure no |
44 | | build {} |
45 | | destroot { |
46 | | file mkdir ${destroot}${applications_dir} |
47 | | file copy /tmp/${name}-${version}/AbiWord.app ${destroot}${applications_dir} |
48 | | } |
49 | | post-destroot { |
50 | | system "hdiutil detach /tmp/${name}-${version}" |
51 | | file delete -force /tmp/${name}-${version} |
52 | | } |
53 | | } |
78 | | configure.args \ |
79 | | --enable-Cocoa \ |
80 | | --mandir=${prefix}/share/man \ |
81 | | --with-zlib=${prefix} \ |
82 | | --with-libpng=${prefix} \ |
83 | | --with-popt=${prefix} \ |
84 | | --without-epath \ |
85 | | --disable-gnome |
| 5 | name abiword |
| 6 | version 2.8.6 |
| 7 | description A word processor with gnome support. |
| 8 | long_description A word processor with gnome support. |
| 9 | maintainers nomaintainer |
| 10 | categories editors textproc aqua |
| 11 | platforms darwin |
| 12 | homepage http://www.abisource.com/ |
| 13 | master_sites http://www.abisource.org/downloads/abiword/${version}/source \ |
| 14 | http://www.nl.abisource.org/downloads/abiword/${version}/source |
| 15 | checksums md5 f883b0a7f26229a9c66fd6a1a94381aa \ |
| 16 | sha1 998f69d038000b3fc027d4259548f02d67c8d0df \ |
| 17 | rmd160 caabab25d197f9553ea12376de36fc7f5a771a58 |
| 18 | |
| 19 | depends_build port:pkgconfig |
| 20 | |
| 21 | depends_lib port:zlib \ |
| 22 | port:libpng \ |
| 23 | port:fribidi \ |
| 24 | port:fontconfig \ |
| 25 | port:ImageMagick \ |
| 26 | port:wv |
| 27 | |
| 28 | post-destroot { |
| 29 | move ${destroot}/AbiWord.app ${destroot}${applications_dir}/AbiWord.app |