[38235] trunk/dports/math

raimue at macports.org raimue at macports.org
Sun Jul 13 05:18:27 PDT 2008


Revision: 38235
          http://trac.macosforge.org/projects/macports/changeset/38235
Author:   raimue at macports.org
Date:     2008-07-13 05:18:27 -0700 (Sun, 13 Jul 2008)
Log Message:
-----------
math/xmgr:
New port, closes #15928.

Added Paths:
-----------
    trunk/dports/math/xmgr/
    trunk/dports/math/xmgr/Portfile
    trunk/dports/math/xmgr/files/
    trunk/dports/math/xmgr/files/patch-main.c

Added: trunk/dports/math/xmgr/Portfile
===================================================================
--- trunk/dports/math/xmgr/Portfile	                        (rev 0)
+++ trunk/dports/math/xmgr/Portfile	2008-07-13 12:18:27 UTC (rev 38235)
@@ -0,0 +1,52 @@
+# $Id$
+
+PortSystem          1.0
+
+name                xmgr
+version             4.1.2
+categories          math science
+maintainers         mac.com:mlund
+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
+distname            ${name}-${version}
+patchfiles          patch-main.c
+fetch.use_epsv      no
+master_sites        ftp://plasma-gate.weizmann.ac.il/pub/xmgr4/src \
+                    ftp://wauug.erols.com/pub/X-Windows/xmgr4/src \
+                    ftp://freedom7.swmed.edu/pub/mirrors/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/
+}


Property changes on: trunk/dports/math/xmgr/Portfile
___________________________________________________________________
Name: svn:keywords
   + Id
Name: svn:eol-style
   + native

Added: trunk/dports/math/xmgr/files/patch-main.c
===================================================================
--- trunk/dports/math/xmgr/files/patch-main.c	                        (rev 0)
+++ trunk/dports/math/xmgr/files/patch-main.c	2008-07-13 12:18:27 UTC (rev 38235)
@@ -0,0 +1,11 @@
+--- src/main.c	Wed May 13 18:47:17 1998
++++ src/main.c	Thu Feb 17 11:14:33 2005
+@@ -164,7 +164,7 @@
+ 	strcpy(xmgrdir, s);
+     }
+ #ifndef GR_HELPVIEWER
+-    strcpy(help_viewer, "netscape -noraise -remote openURL\\(%s,newwindow\\) >>/dev/null 2>&1 || netscape %s");
++    strcpy(help_viewer, "open\\(%s,newwindow\\) >>/dev/null 2>&1 || open %s");
+ #else
+     strcpy(help_viewer, GR_HELPVIEWER);
+ #endif


Property changes on: trunk/dports/math/xmgr/files/patch-main.c
___________________________________________________________________
Name: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080713/2390a074/attachment-0001.html 


More information about the macports-changes mailing list