# $Id: Portfile 147088 2016-03-26 09:44:32Z takeshi@macports.org $ PortSystem 1.0 name xmgr version 4.1.2 revision 3 categories math science license BSD maintainers nomaintainer description ACE/gr 2D plotting tool (Ancestor to Grace) long_description ACE/gr, also known as Xmgr, is a 2D plotting tool for the X Window System. \ While ACE/gr has a convenient point-and-click interface, most parameter\ settings and operations are available through a command line interface.\ NOTE: The development of ACE/gr is frozen, but is continued as Grace -- new users\ should try that instead. This port is for those who cannot come to terms with the\ updated UI in Grace. homepage http://plasma-gate.weizmann.ac.il/Xmgr/ platforms darwin patchfiles patch-main.c patch-motifutils.c fetch.use_epsv no master_sites ftp://plasma-gate.weizmann.ac.il/pub/xmgr4/src checksums md5 2c6240bbd0c287cf8419aea48d73a2a3 \ sha1 7e679de2d48ca0de8dcb0435910df3f3d7a2c2ac \ rmd160 5f8b08b5e2cea0ca4e2c8b9d7d590f7bdb93a4ee depends_lib port:openmotif configure.args --disable-f77 --disable-netcdf --host=mac \ --enable-acegr-home=${prefix}/share/xmgr variant netcdf description {Build with netcdf file support} { depends_lib-append port:netcdf configure.args-delete --disable-netcdf } build.target use_parallel_build yes destroot { # html-docs and grconvert must reside in acegr-home file copy ${worksrcpath}/src/xmgr ${destroot}${prefix}/bin/ file mkdir ${destroot}${prefix}/share/xmgr/bin file copy ${worksrcpath}/grconvert/grconvert ${destroot}${prefix}/share/xmgr/bin/ file delete ${worksrcpath}/doc/Makefile file copy ${worksrcpath}/doc ${destroot}${prefix}/share/xmgr/ file delete ${worksrcpath}/examples/Makefile file copy ${worksrcpath}/examples ${destroot}${prefix}/share/xmgr/ }