[99346] trunk/dports/x11/grace

ryandesign at macports.org ryandesign at macports.org
Fri Nov 2 21:31:23 PDT 2012


Revision: 99346
          http://trac.macports.org//changeset/99346
Author:   ryandesign at macports.org
Date:     2012-11-02 21:31:23 -0700 (Fri, 02 Nov 2012)
Log Message:
-----------
grace: update to 5.1.23 (#36848); use openbrowser as help viewer

Modified Paths:
--------------
    trunk/dports/x11/grace/Portfile
    trunk/dports/x11/grace/files/patch-configure.diff

Removed Paths:
-------------
    trunk/dports/x11/grace/files/patch-libpng-1.5.diff

Modified: trunk/dports/x11/grace/Portfile
===================================================================
--- trunk/dports/x11/grace/Portfile	2012-11-03 04:07:34 UTC (rev 99345)
+++ trunk/dports/x11/grace/Portfile	2012-11-03 04:31:23 UTC (rev 99346)
@@ -4,8 +4,7 @@
 PortSystem 1.0
 
 name			    grace
-version			    5.1.22
-revision		    7
+version			    5.1.23
 categories		    x11 math science print
 license             GPL-2+
 platforms		    darwin
@@ -17,12 +16,10 @@
 homepage		    http://plasma-gate.weizmann.ac.il/Grace/
 set sub			    grace/src/stable/
 master_sites	    ftp://ftp.fu-berlin.de/unix/graphics/${sub} \
-				    ftp://ftp.u-aizu.ac.jp/pub/SciEng/math/${sub} \
-				    freebsd
+				    ftp://ftp.u-aizu.ac.jp/pub/SciEng/math/${sub}
 
-checksums		    md5 672356466f18fe59ed21a8fb44f9851d \
-                    sha1 3ce88c7c264d2de73b8935f835a1c1f8e368c78f \
-                    rmd160 ca7b1abe240de7cd3dbdc52d5182020c410b9772 
+checksums           rmd160  c990d0f0b836eb6d6e3080c47015a86aca074494 \
+                    sha256  69527950fd9c056a76b7a6bf4ac37a9b87acc565c12a941ffae3c9c5a822ca10
 
 depends_lib \
 	port:xorg-libXmu \
@@ -34,12 +31,12 @@
 	port:jpeg \
 	port:zlib
 
+depends_run         port:openbrowser
 
-patchfiles          patch-configure.diff \
-                    patch-libpng-1.5.diff
+patchfiles          patch-configure.diff
 
 configure.pre_args  --prefix=${prefix}/lib
-configure.args      --with-helpviewer="open ${prefix}/share/doc/${name}/`basename %s`" \
+configure.args      --with-helpviewer="${prefix}/bin/openbrowser ${prefix}/share/doc/${name}/`basename %s`" \
                     --x-include=${prefix}/include --x-lib=${prefix}/lib
 
 post-destroot {

Modified: trunk/dports/x11/grace/files/patch-configure.diff
===================================================================
--- trunk/dports/x11/grace/files/patch-configure.diff	2012-11-03 04:07:34 UTC (rev 99345)
+++ trunk/dports/x11/grace/files/patch-configure.diff	2012-11-03 04:31:23 UTC (rev 99346)
@@ -1,7 +1,7 @@
---- configure.orig	2008-10-18 17:30:12.000000000 +0200
-+++ configure	2008-10-18 17:30:15.000000000 +0200
-@@ -15609,15 +15609,13 @@
- cat >>conftest.$ac_ext <<_ACEOF
+--- configure.orig	2012-09-30 18:31:36.000000000 -0500
++++ configure	2012-11-02 22:52:16.000000000 -0500
+@@ -8220,15 +8220,13 @@
+   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  /* end confdefs.h.  */
  
 -#include <stdio.h>

Deleted: trunk/dports/x11/grace/files/patch-libpng-1.5.diff
===================================================================
--- trunk/dports/x11/grace/files/patch-libpng-1.5.diff	2012-11-03 04:07:34 UTC (rev 99345)
+++ trunk/dports/x11/grace/files/patch-libpng-1.5.diff	2012-11-03 04:31:23 UTC (rev 99346)
@@ -1,19 +0,0 @@
---- src/rstdrv.c.orig
-+++ src/rstdrv.c
-@@ -54,6 +54,7 @@
- 
- #ifdef HAVE_LIBPNG
- #  include <png.h>
-+#  include <zlib.h>
- #endif
- 
- #ifndef NONE_GUI
-@@ -885,7 +886,7 @@ static void rstImagePng(gdImagePtr ihandle, FILE *prstream)
-         return;
-     }
- 
--    if (setjmp(png_ptr->jmpbuf)) {
-+    if (setjmp(png_jmpbuf(png_ptr))) {
-         png_destroy_write_struct(&png_ptr, &info_ptr);
-         return;
-     }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121102/eb623c5f/attachment-0001.html>


More information about the macports-changes mailing list