[41688] trunk/dports/graphics/wings

bfulgham at macports.org bfulgham at macports.org
Sat Nov 8 20:23:01 PST 2008


Revision: 41688
          http://trac.macports.org/changeset/41688
Author:   bfulgham at macports.org
Date:     2008-11-08 20:23:01 -0800 (Sat, 08 Nov 2008)
Log Message:
-----------
Update wings to the currently shipping software.
Correct Portfile with proper modeline and use spaces (not tabs)

Modified Paths:
--------------
    trunk/dports/graphics/wings/Portfile
    trunk/dports/graphics/wings/files/wings.sh

Modified: trunk/dports/graphics/wings/Portfile
===================================================================
--- trunk/dports/graphics/wings/Portfile	2008-11-09 03:57:41 UTC (rev 41687)
+++ trunk/dports/graphics/wings/Portfile	2008-11-09 04:23:01 UTC (rev 41688)
@@ -1,45 +1,49 @@
 # $Id$
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 
 PortSystem 1.0
 
-name			wings
-version			0.98.32a
-revision		1
-categories		graphics erlang
-platforms		darwin
-maintainers		bfulgham at macports.org
-description		Erlang 3D Modeler
-long_description	Wings 3D is a subdivision modeler inspired by \
-				Nendo and Mirai from Izware.
+name                wings
+version             0.99.04a
+categories          graphics erlang
+platforms           darwin
+maintainers         bfulgham at macports.org
+description         Erlang 3D Modeler
+long_description    Wings 3D is a subdivision modeler inspired by \
+                    Nendo and Mirai from Izware.
 
-homepage		http://www.wings3d.com/
-master_sites		sourceforge
-checksums		md5 9ac33a6ec298c251a7e6ebaaf28f6cd5
+homepage            http://www.wings3d.com/
+master_sites        sourceforge
+checksums           md5 148f28cd97c8d3d2426b34b53c385cb5
 
-depends_build		port:esdl port:erlang
+depends_build       port:esdl port:erlang
 
-use_configure		no
-use_bzip2		yes
+use_configure       no
+use_bzip2           yes
 
-build.target		
-destroot.target			
+build.env           ESDL_PATH=${prefix}/lib/erlang/lib/esdl-0.96.0626
+build.target
+destroot.target	
 
-set wingsdest	${destroot}${prefix}/lib/erlang/lib/wings-${version}
+set wingsdest       ${destroot}${prefix}/lib/erlang/lib/wings-${version}
 
-post-destroot		{
-	xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name}
-	xinstall -m 0644 -W ${worksrcpath} README AUTHORS license.terms ${destroot}${prefix}/share/doc/${name}
+post-destroot  {
+    xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name}
+    xinstall -m 0644 -W ${worksrcpath} README AUTHORS license.terms ${destroot}${prefix}/share/doc/${name}
 
-	xinstall -d -m 0755 ${destroot}${prefix}/bin
-	xinstall -m 755 ${filespath}/wings.sh ${destroot}${prefix}/bin
-	reinplace "s|__PREFIX__|${prefix}|g" ${destroot}${prefix}/bin/wings.sh
+    xinstall -d -m 0755 ${destroot}${prefix}/bin
+    xinstall -m 755 ${filespath}/wings.sh ${destroot}${prefix}/bin
+    reinplace "s|__PREFIX__|${prefix}|g" ${destroot}${prefix}/bin/wings.sh
 
-	system "cd ${destroot}${prefix}/bin && ln -s wings.sh wings"
+    system "cd ${destroot}${prefix}/bin && ln -s wings.sh wings"
 
-	xinstall -d -m 0755 ${wingsdest}/patches
+    xinstall -d -m 0755 ${wingsdest}/patches
 
-	file copy ${worksrcpath}/plugins ${wingsdest}
-	file copy ${worksrcpath}/ebin ${wingsdest}
-	file copy ${worksrcpath}/fonts ${wingsdest}
-	file copy ${worksrcpath}/icons ${wingsdest}
+    file copy ${worksrcpath}/plugins ${wingsdest}
+    file copy ${worksrcpath}/ebin ${wingsdest}
+    file copy ${worksrcpath}/fonts ${wingsdest}
+    file copy ${worksrcpath}/icons ${wingsdest}
+
+    # Get rid of bad files
+    system "cd ${wingsdest}/icons/purpletube && rm \~*"
 }

Modified: trunk/dports/graphics/wings/files/wings.sh
===================================================================
--- trunk/dports/graphics/wings/files/wings.sh	2008-11-09 03:57:41 UTC (rev 41687)
+++ trunk/dports/graphics/wings/files/wings.sh	2008-11-09 04:23:01 UTC (rev 41688)
@@ -1,2 +1,2 @@
 #!/bin/sh
-__PREFIX__/bin/erl -run wings_start start_halt
+exec __PREFIX__/bin/erl -smp disable -run wings_start start_halt ${1+"$@"}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081108/d9acadd7/attachment-0001.html>


More information about the macports-changes mailing list