[40941] trunk/dports/x11/grace/Portfile
raimue at macports.org
raimue at macports.org
Sat Oct 18 11:16:55 PDT 2008
Revision: 40941
http://trac.macports.org/changeset/40941
Author: raimue at macports.org
Date: 2008-10-18 11:16:55 -0700 (Sat, 18 Oct 2008)
Log Message:
-----------
x11/grace:
Update to version 5.1.22, closes #16910
Modified Paths:
--------------
trunk/dports/x11/grace/Portfile
Modified: trunk/dports/x11/grace/Portfile
===================================================================
--- trunk/dports/x11/grace/Portfile 2008-10-18 18:00:05 UTC (rev 40940)
+++ trunk/dports/x11/grace/Portfile 2008-10-18 18:16:55 UTC (rev 40941)
@@ -4,7 +4,7 @@
PortSystem 1.0
name grace
-version 5.1.21
+version 5.1.22
revision 1
categories x11 math science print
platforms darwin
@@ -21,8 +21,11 @@
ftp://ftp.u-aizu.ac.jp/pub/SciEng/math/${sub} \
http://gd.tuwien.ac.at/visual/${sub} \
http://ftp.chg.ru/pub/math/${sub}
-checksums md5 db02dee3c68179c41452e652bd469bb9
+checksums md5 672356466f18fe59ed21a8fb44f9851d \
+ sha1 3ce88c7c264d2de73b8935f835a1c1f8e368c78f \
+ rmd160 ca7b1abe240de7cd3dbdc52d5182020c410b9772
+
depends_lib lib:libX11.6:XFree86 \
port:openmotif \
port:libpng \
@@ -30,8 +33,11 @@
port:jpeg \
port:zlib
-configure.pre_args --prefix=${prefix}/lib --with-helpviewer="open ${prefix}/share/doc/${name}/`basename %s`"
+patchfiles patch-configure.diff
+configure.pre_args --prefix=${prefix}/lib \
+ --with-helpviewer="open ${prefix}/share/doc/${name}/`basename %s`"
+
post-destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/doc
file delete ${destroot}${prefix}/bin
@@ -40,6 +46,11 @@
file rename ${destroot}${prefix}/lib/grace/examples ${destroot}${prefix}/share/doc/${name}/examples
file rename ${destroot}${prefix}/lib/grace/include/grace_np.h ${destroot}${prefix}/include/grace_np.h
file rename ${destroot}${prefix}/lib/grace/lib/libgrace_np.a ${destroot}${prefix}/lib/libgrace_np.a
- system "cd ${destroot}${prefix}/share/doc/${name} && ln -s .. doc"
+ system "cd ${destroot}${prefix}/share/doc/${name} && ln -s . doc"
system "cd ${destroot}${prefix}/share && mv doc/grace/*.1 man/man1/"
}
+
+variant netcdf description {Support for NetCDF data files} {
+ depends_lib-append port:netcdf
+ configure.args-append --enable-netcdf
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20081018/0865204b/attachment.html
More information about the macports-changes
mailing list