source: trunk/dports/science/ncview/Portfile @ 50984

Last change on this file since 50984 was 50984, checked in by and.damore@…, 11 years ago

Maintainer email change, second batch, mail without @macports.org domain are put in domain:user form.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $
2
3PortSystem                      1.0
4name                            ncview
5version                         1.93c
6revision                        1
7maintainers                     nnutter.com:m
8platforms                       darwin
9categories                      science
10
11description                     X windows point'n'click NetCDF viewer.
12long_description        Ncview is a visual browser for NetCDF format \
13                                        files. Typically you would use ncview to get \
14                                        a quick and easy, push-button look at your \
15                                        NetCDF files. You can view simple movies of \
16                                        the data, view along various dimensions, take \
17                                        a look at the actual data values, change color \
18                                        maps, invert the data, etc.
19
20homepage                        http://meteora.ucsd.edu/~pierce/ncview_home_page.html
21
22master_sites            ftp://cirrus.ucsd.edu/pub/ncview/
23checksums                       md5 c6a3cbabb9c1a55633fae7d892b301cc \
24                                        sha1 a59cedf61b9d48985a5896469c7320c8dfffd6f3
25
26patchfiles              patch-Makefile.in
27depends_lib             port:netcdf
28
29configure.args          --with-netcdf_incdir=${prefix}/include \
30                        --with-netcdf_libdir=${prefix}/lib \
31                        --with-bindir=${prefix}/bin
32
33destroot.destdir-append MANDIR=${prefix}/share/man/man1
34
35post-destroot {
36        xinstall -m 755 -d ${destroot}${prefix}/lib/ncview
37        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 } {
38
39        xinstall -m 755 ${worksrcpath}/${file} ${destroot}${prefix}/lib/ncview
40}
41        xinstall -m 755 -d ${destroot}${prefix}/share/doc/ncview
42        xinstall -m 755 ${worksrcpath}/README ${destroot}${prefix}/share/doc/ncview
43}
44
45post-activate {
46ui_msg "\n
47The MacPorts X11 app-defaults directory is located at:
48
49        ${prefix}/lib/X11/app-defaults
50
51Therefore, you must set the XFILESEARCHPATH environment variable to your ~/.profile for
52your X11 environment to find the MacPorts app-defaults directory:
53
54        export XFILESEARCHPATH=/usr/X11R6/lib/X11/app-defaults/%N:${prefix}/lib/X11/app-defaults/%N
55\n"
56}
Note: See TracBrowser for help on using the repository browser.