1 | --- Portfile.orig 2013-06-09 11:09:28.000000000 +0200 |
---|
2 | +++ Portfile 2013-06-09 11:07:45.000000000 +0200 |
---|
3 | @@ -4,7 +4,7 @@ |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name wcslib |
---|
7 | -version 4.16 |
---|
8 | +version 4.17 |
---|
9 | categories science |
---|
10 | license LGPL-3+ |
---|
11 | platforms darwin |
---|
12 | @@ -17,8 +17,8 @@ |
---|
13 | master_sites ftp://ftp.atnf.csiro.au/pub/software/wcslib/ |
---|
14 | use_bzip2 yes |
---|
15 | |
---|
16 | -checksums rmd160 f730427c88258f7a2d17dcf70417dccffa07c037 \ |
---|
17 | - sha256 3f293dcb75e1304507410843d13294de6e0d88556a4b6a10e919650bcfb2f337 |
---|
18 | +checksums rmd160 4112b19811aa7d9185684ddd61098264151896ee \ |
---|
19 | + sha256 b81259260ece1afa738490e6ae3821315208cb5f121096fff958a0f90c3a7d5c |
---|
20 | |
---|
21 | depends_lib port:cfitsio |
---|
22 | configure.args --disable-fortran |
---|
23 | @@ -29,7 +29,7 @@ |
---|
24 | livecheck.url http://www.atnf.csiro.au/people/mcalabre/WCS/CHANGES |
---|
25 | livecheck.regex "WCSLIB version (\\d+\\.\\d+\(\\.\\d+\)?)" |
---|
26 | |
---|
27 | -variant gcc44 conflicts gcc45 gcc46 gcc47 description {Build with GCC 4.4; enables Fortran support} { |
---|
28 | +variant gcc44 conflicts gcc45 gcc46 gcc47 gcc48 description {Build with GCC 4.4; enables Fortran support} { |
---|
29 | configure.compiler macports-gcc-4.4 |
---|
30 | depends_lib-append port:gcc44 \ |
---|
31 | port:pgplot |
---|
32 | @@ -39,7 +39,7 @@ |
---|
33 | } |
---|
34 | } |
---|
35 | |
---|
36 | -variant gcc45 conflicts gcc44 gcc46 gcc47 description {Build with GCC 4.5; enables Fortran support} { |
---|
37 | +variant gcc45 conflicts gcc44 gcc46 gcc47 gcc48 description {Build with GCC 4.5; enables Fortran support} { |
---|
38 | configure.compiler macports-gcc-4.5 |
---|
39 | depends_lib-append port:gcc45 \ |
---|
40 | port:pgplot |
---|
41 | @@ -49,7 +49,7 @@ |
---|
42 | } |
---|
43 | } |
---|
44 | |
---|
45 | -variant gcc46 conflicts gcc44 gcc45 gcc47 description {Build with GCC 4.6; enables Fortran support} { |
---|
46 | +variant gcc46 conflicts gcc44 gcc45 gcc47 gcc48 description {Build with GCC 4.6; enables Fortran support} { |
---|
47 | configure.compiler macports-gcc-4.6 |
---|
48 | depends_lib-append port:gcc46 \ |
---|
49 | port:pgplot |
---|
50 | @@ -59,7 +59,7 @@ |
---|
51 | } |
---|
52 | } |
---|
53 | |
---|
54 | -variant gcc47 conflicts gcc44 gcc45 gcc46 description {Build with GCC 4.7; enables Fortran support} { |
---|
55 | +variant gcc47 conflicts gcc44 gcc45 gcc46 gcc48 description {Build with GCC 4.7; enables Fortran support} { |
---|
56 | configure.compiler macports-gcc-4.7 |
---|
57 | depends_lib-append port:gcc47 \ |
---|
58 | port:pgplot |
---|
59 | @@ -68,3 +68,13 @@ |
---|
60 | system "install_name_tool -change libwcs.${version}.dylib ${prefix}/lib/libwcs.${version}.dylib ${destroot}${prefix}/lib/libpgsbox.${version}.dylib" |
---|
61 | } |
---|
62 | } |
---|
63 | + |
---|
64 | +variant gcc48 conflicts gcc44 gcc45 gcc46 gcc47 description {Build with GCC 4.8; enables Fortran support} { |
---|
65 | + configure.compiler macports-gcc-4.8 |
---|
66 | + depends_lib-append port:gcc48 \ |
---|
67 | + port:pgplot |
---|
68 | + configure.args-delete --disable-fortran |
---|
69 | + post-destroot { |
---|
70 | + system "install_name_tool -change libwcs.${version}.dylib ${prefix}/lib/libwcs.${version}.dylib ${destroot}${prefix}/lib/libpgsbox.${version}.dylib" |
---|
71 | + } |
---|
72 | +} |
---|