1 | --- Portfile 2010-09-12 11:34:32.000000000 +0200 |
---|
2 | +++ Portfile.2.9.17 2010-09-12 11:34:26.000000000 +0200 |
---|
3 | @@ -3,8 +3,7 @@ |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name libpano13 |
---|
7 | -version 2.9.14 |
---|
8 | -revision 2 |
---|
9 | +version 2.9.17 |
---|
10 | categories graphics |
---|
11 | |
---|
12 | maintainers freespace+macforge@gmail.com |
---|
13 | @@ -17,9 +16,9 @@ |
---|
14 | platforms darwin |
---|
15 | |
---|
16 | master_sites sourceforge:panotools |
---|
17 | -checksums md5 fb011aead63974e630739ed55d75a4b0 \ |
---|
18 | - sha1 c6e74acdda64ce7d41abe7d95f291dc59de751a5 \ |
---|
19 | - rmd160 bc49c85e8ab11eaeb48898fcf3b9e4ac75c121c4 |
---|
20 | +checksums md5 54ec7c505cf38521f2fbb6e2acd2c433 \ |
---|
21 | + sha1 418689985ea622bc234cd4eccec42180c12821b2 \ |
---|
22 | + rmd160 3a54295bfadbbd32009a8628968c723c7017f2df |
---|
23 | |
---|
24 | depends_lib port:jpeg \ |
---|
25 | port:tiff \ |
---|
26 | @@ -30,4 +29,17 @@ |
---|
27 | --with-tiff=${prefix} \ |
---|
28 | --with-png=${prefix} \ |
---|
29 | --with-zlib=${prefix} \ |
---|
30 | + --without-java \ |
---|
31 | --mandir=${prefix}/share/man |
---|
32 | + |
---|
33 | +configure.cflags-append -flat_namespace -undefined suppress |
---|
34 | +configure.cxxflags-append -flat_namespace -undefined suppress |
---|
35 | +configure.ldflags-append -prebind |
---|
36 | + |
---|
37 | +post-configure { |
---|
38 | + if {[variant_isset universal]} { |
---|
39 | + reinplace -E "s|-dynamiclib|-dynamiclib ${configure.universal_ldflags}|g" ${worksrcpath}/libtool |
---|
40 | + } else { |
---|
41 | + reinplace -E "s|-dynamiclib|-dynamiclib ${configure.ld_archflags}|g" ${worksrcpath}/libtool |
---|
42 | + } |
---|
43 | +} |
---|