source: trunk/dports/graphics/wings/Portfile

Last change on this file was 50980, checked in by and.damore@…, 8 years ago

Maintainers batch change, removed @macports.org

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# $Id: Portfile 50980 2009-05-14 19:41:55Z ryandesign@macports.org $
2# -*- 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
3
4PortSystem 1.0
5
6name                wings
7version             0.99.04a
8categories          graphics erlang
9platforms           darwin
10maintainers         bfulgham
11description         Erlang 3D Modeler
12long_description    Wings 3D is a subdivision modeler inspired by \
13                    Nendo and Mirai from Izware.
14
15homepage            http://www.wings3d.com/
16master_sites        sourceforge
17checksums           md5 148f28cd97c8d3d2426b34b53c385cb5
18
19depends_build       port:esdl port:erlang
20
21use_configure       no
22use_bzip2           yes
23
24build.env           ESDL_PATH=${prefix}/lib/erlang/lib/esdl-0.96.0626
25build.target
26destroot.target 
27
28set wingsdest       ${destroot}${prefix}/lib/erlang/lib/wings-${version}
29
30post-destroot  {
31    xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name}
32    xinstall -m 0644 -W ${worksrcpath} README AUTHORS license.terms ${destroot}${prefix}/share/doc/${name}
33
34    xinstall -d -m 0755 ${destroot}${prefix}/bin
35    xinstall -m 755 ${filespath}/wings.sh ${destroot}${prefix}/bin
36    reinplace "s|__PREFIX__|${prefix}|g" ${destroot}${prefix}/bin/wings.sh
37
38    system "cd ${destroot}${prefix}/bin && ln -s wings.sh wings"
39
40    xinstall -d -m 0755 ${wingsdest}/patches
41
42    file copy ${worksrcpath}/plugins ${wingsdest}
43    file copy ${worksrcpath}/ebin ${wingsdest}
44    file copy ${worksrcpath}/fonts ${wingsdest}
45    file copy ${worksrcpath}/icons ${wingsdest}
46
47    # Get rid of bad files
48    system "cd ${wingsdest}/icons/purpletube && rm \~*"
49}
Note: See TracBrowser for help on using the repository browser.