<pre style='margin:0'>
Kurt Hindenburg (kurthindenburg) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/4e5e6731d14bdcf4a290346d0fe1a0786babd505">https://github.com/macports/macports-ports/commit/4e5e6731d14bdcf4a290346d0fe1a0786babd505</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 4e5e6731d14bdcf4a290346d0fe1a0786babd505
</span>Author: Kurt Hindenburg <khindenburg@macports.org>
AuthorDate: Fri Jun 30 09:56:02 2017 -0400

<span style='display:block; white-space:pre;color:#404040;'>    xfig: update to 3.2.6a; change to use fig2dev
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    closes https://trac.macports.org/ticket/52080
</span>---
 graphics/xfig/Portfile | 51 ++++++++++++--------------------------------------
 1 file changed, 12 insertions(+), 39 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/xfig/Portfile b/graphics/xfig/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index c1f09d1..24bb628 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/xfig/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/xfig/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3,7 +3,7 @@
</span> PortSystem 1.0
 
 name                xfig
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version             3.2.5c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version             3.2.6a
</span> categories          graphics x11
 license             Permissive
 maintainers         nomaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -18,13 +18,11 @@ long_description    \
</span> 
 homepage            http://xfig.org/
 platforms           darwin
<span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites        sourceforge:mcj
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites        sourceforge:project/mcj
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+use_xz              yes
</span> 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-distname            ${name}.${version}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-distfiles           ${distname}.full${extract.suffix}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums           rmd160  e1c496dabd70520319f18bf1f591ecd910feff3c \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    sha256  ea628f975b79ab175ab29220cc118274466497f6217f2989928317be2993a1f9
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums           rmd160  740793039ec8a6c14eca92f70f2f3096c31e4183 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    sha256  a87aeb5d424aadb84ede137291bbe8649551209a807c94f0956fc323b819267c
</span> 
 depends_lib         port:Xaw3d \
                     port:xorg-libXi \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -33,38 +31,8 @@ depends_lib         port:Xaw3d \
</span>                     port:zlib
 
 depends_run         port:ghostscript \
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                    port:transfig
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-use_xmkmf           yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-xmkmf.args-append   -DUseSeparateConfDir=NO -DBuildHtmlManPages=NO
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles          patch-Imakefile.diff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    patch-fig.h.diff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    patch-f_util.c.diff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    patch-w_keyboard.c.diff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    patch-w_export.c.diff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    patch-w_print.c.diff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    patch-w_util.c.diff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    patch-main_c.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:fig2dev
</span> 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-post-extract {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    foreach d "${worksrcpath}/Doc ${worksrcpath}/Libraries" {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        fs-traverse x ${d} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-            if {[file isdirectory ${x}]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                file attributes ${x} -permissions 0755
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-            } else {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                file attributes ${x} -permissions 0644
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-            }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-post-patch {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    reinplace "s|__PREFIX|${prefix}|g" ${worksrcpath}/Imakefile
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    reinplace "s|__DESTROOT|${destroot}|g" ${worksrcpath}/Imakefile
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-destroot.target install.all install.man
</span> post-destroot {
     set docdir ${destroot}${prefix}/share/doc/${name}
     xinstall -d ${docdir}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -85,4 +53,9 @@ if {[string match "*gcc-4.2" ${configure.compiler}]} {
</span>     }
 }
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.regex     xfig.(\[0-9.a-z\]+).full${extract.suffix}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+test.run            yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+test.target         check
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.type      regex
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.url       https://sourceforge.net/projects/mcj/rss
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.regex     ${name}-(\[0-9.a-z\]+)${extract.suffix}
</span></pre><pre style='margin:0'>

</pre>