source: trunk/dports/math/xmgr/Portfile

Last change on this file was 147088, checked in by takeshi@…, 16 months ago

rev bump ports that depend on netcdf. See #50911

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 KB
Line 
1# $Id: Portfile 147088 2016-03-26 09:44:32Z ryandesign@macports.org $
2
3PortSystem          1.0
4
5name                xmgr
6version             4.1.2
7revision            3
8categories          math science
9license             BSD
10maintainers         nomaintainer
11description         ACE/gr 2D plotting tool (Ancestor to Grace)
12long_description    ACE/gr, also known as Xmgr, is a 2D plotting tool for the X Window System. \
13                    While ACE/gr has a convenient point-and-click interface, most parameter\
14                    settings and operations are available through a command line interface.\
15                    NOTE: The development of ACE/gr is frozen, but is continued as Grace -- new users\
16                    should try that instead. This port is for those who cannot come to terms with the\
17                    updated UI in Grace.
18
19homepage            http://plasma-gate.weizmann.ac.il/Xmgr/
20platforms           darwin
21patchfiles          patch-main.c patch-motifutils.c
22fetch.use_epsv      no
23master_sites        ftp://plasma-gate.weizmann.ac.il/pub/xmgr4/src
24
25checksums           md5 2c6240bbd0c287cf8419aea48d73a2a3 \
26                    sha1 7e679de2d48ca0de8dcb0435910df3f3d7a2c2ac \
27                    rmd160 5f8b08b5e2cea0ca4e2c8b9d7d590f7bdb93a4ee
28
29depends_lib         port:openmotif
30
31configure.args      --disable-f77 --disable-netcdf --host=mac \
32                    --enable-acegr-home=${prefix}/share/xmgr
33
34variant netcdf description {Build with netcdf file support} {
35  depends_lib-append       port:netcdf
36  configure.args-delete    --disable-netcdf
37}
38
39build.target
40use_parallel_build  yes
41
42destroot {
43  # html-docs and grconvert must reside in acegr-home
44  file copy ${worksrcpath}/src/xmgr ${destroot}${prefix}/bin/
45  file mkdir ${destroot}${prefix}/share/xmgr/bin
46  file copy ${worksrcpath}/grconvert/grconvert ${destroot}${prefix}/share/xmgr/bin/
47  file delete ${worksrcpath}/doc/Makefile
48  file copy ${worksrcpath}/doc ${destroot}${prefix}/share/xmgr/
49  file delete ${worksrcpath}/examples/Makefile
50  file copy ${worksrcpath}/examples ${destroot}${prefix}/share/xmgr/
51}
Note: See TracBrowser for help on using the repository browser.