[55117] trunk/dports/science/ncview/Portfile
ryandesign at macports.org
ryandesign at macports.org
Thu Aug 6 17:32:59 PDT 2009
Revision: 55117
http://trac.macports.org/changeset/55117
Author: ryandesign at macports.org
Date: 2009-08-06 17:32:59 -0700 (Thu, 06 Aug 2009)
Log Message:
-----------
ncview: whitespace changes only (tabs to spaces)
Modified Paths:
--------------
trunk/dports/science/ncview/Portfile
Modified: trunk/dports/science/ncview/Portfile
===================================================================
--- trunk/dports/science/ncview/Portfile 2009-08-07 00:08:27 UTC (rev 55116)
+++ trunk/dports/science/ncview/Portfile 2009-08-07 00:32:59 UTC (rev 55117)
@@ -1,58 +1,58 @@
# $Id$
-PortSystem 1.0
-name ncview
-version 1.93e
-maintainers nomaintainer
-platforms darwin
-categories science
+PortSystem 1.0
-description X windows point'n'click NetCDF viewer.
-long_description Ncview is a visual browser for NetCDF format \
- files. Typically you would use ncview to get \
- a quick and easy, push-button look at your \
- NetCDF files. You can view simple movies of \
- the data, view along various dimensions, take \
- a look at the actual data values, change color \
- maps, invert the data, etc.
+name ncview
+version 1.93e
+maintainers nomaintainer
+platforms darwin
+categories science
-homepage http://meteora.ucsd.edu/~pierce/ncview_home_page.html
+description X windows point'n'click NetCDF viewer.
+long_description Ncview is a visual browser for NetCDF format \
+ files. Typically you would use ncview to get \
+ a quick and easy, push-button look at your \
+ NetCDF files. You can view simple movies of \
+ the data, view along various dimensions, take \
+ a look at the actual data values, change color \
+ maps, invert the data, etc.
-master_sites ftp://cirrus.ucsd.edu/pub/ncview/
-checksums md5 f992aa20d03bfce5bdcaf7dec5452287 \
- sha1 6a61c60ec7bd51ce2297d48457e4a79126e4827d \
- rmd160 4eef540b166b08fc79f5e27ba6a55c30c8461233
+homepage http://meteora.ucsd.edu/~pierce/ncview_home_page.html
-patchfiles patch-Makefile.in
-depends_lib port:netcdf
+master_sites ftp://cirrus.ucsd.edu/pub/ncview/
+checksums md5 f992aa20d03bfce5bdcaf7dec5452287 \
+ sha1 6a61c60ec7bd51ce2297d48457e4a79126e4827d \
+ rmd160 4eef540b166b08fc79f5e27ba6a55c30c8461233
-configure.args --with-netcdf_incdir=${prefix}/include \
- --with-netcdf_libdir=${prefix}/lib \
- --with-bindir=${prefix}/bin
+patchfiles patch-Makefile.in
+depends_lib port:netcdf
-use_parallel_build yes
+configure.args --with-netcdf_incdir=${prefix}/include \
+ --with-netcdf_libdir=${prefix}/lib \
+ --with-bindir=${prefix}/bin
-destroot.destdir-append MANDIR=${prefix}/share/man/man1
+use_parallel_build yes
+destroot.destdir-append MANDIR=${prefix}/share/man/man1
+
post-destroot {
- xinstall -m 755 -d ${destroot}${prefix}/lib/ncview
- foreach file { 3gauss.ncmap 3saw.ncmap default.ncmap detail.ncmap hotres.ncmap nc_overlay.earth.lat-lon.p8deg nc_overlay.lat-lon-grid.20x60 nc_overlay.lat-lon-grid.10x30 } {
-
- xinstall -m 755 ${worksrcpath}/${file} ${destroot}${prefix}/lib/ncview
+ xinstall -m 755 -d ${destroot}${prefix}/lib/ncview
+ foreach file { 3gauss.ncmap 3saw.ncmap default.ncmap detail.ncmap hotres.ncmap nc_overlay.earth.lat-lon.p8deg nc_overlay.lat-lon-grid.20x60 nc_overlay.lat-lon-grid.10x30 } {
+ xinstall -m 755 ${worksrcpath}/${file} ${destroot}${prefix}/lib/ncview
+ }
+ xinstall -m 755 -d ${destroot}${prefix}/share/doc/ncview
+ xinstall -m 755 ${worksrcpath}/README ${destroot}${prefix}/share/doc/ncview
}
- xinstall -m 755 -d ${destroot}${prefix}/share/doc/ncview
- xinstall -m 755 ${worksrcpath}/README ${destroot}${prefix}/share/doc/ncview
-}
post-activate {
-ui_msg "\n
+ ui_msg "\n
The MacPorts X11 app-defaults directory is located at:
- ${prefix}/lib/X11/app-defaults
+ ${prefix}/lib/X11/app-defaults
Therefore, you must set the XFILESEARCHPATH environment variable to your ~/.profile for
your X11 environment to find the MacPorts app-defaults directory:
- export XFILESEARCHPATH=/usr/X11R6/lib/X11/app-defaults/%N:${prefix}/lib/X11/app-defaults/%N
+ export XFILESEARCHPATH=/usr/X11R6/lib/X11/app-defaults/%N:${prefix}/lib/X11/app-defaults/%N
\n"
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090806/8886d36a/attachment.html>
More information about the macports-changes
mailing list