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