source: trunk/dports/aqua/inkscape-app/Portfile

Last change on this file was 124351, checked in by ryandesign@…, 3 years ago

inkscape-app: fix destroot failure on case-sensitive filesystems

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# -*- 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
2# $Id: Portfile 124351 2014-08-22 23:52:05Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           github 1.0
6
7github.setup        piksels-and-lines-orchestra inkscape 628ca88bdb258c0be08a5aa6337ed6df31190326
8name                inkscape-app
9version             0.48
10revision            1
11license             GPL-2+
12maintainers         nomaintainer
13description         Inkscape.app application bundle
14long_description    ${description}
15
16categories          aqua graphics
17homepage            http://www.inkscape.org
18
19depends_run         bin:inkscape:inkscape
20
21# we only need to download the icns file
22master_sites        ${github.raw}/${git.branch}/packaging/macosx/Resources
23
24distfiles           Inkscape.icns
25
26checksums           rmd160  a0dc6e65125ad2d4554728515996c473b9aac671 \
27                    sha256  0ae10f9edd037c72b445d797e8be257dde94ef19d3df19e6aeabb1c0ec87fcca
28
29extract.mkdir       yes
30use_configure       no
31
32extract {
33    copy ${distpath}/Inkscape.icns ${worksrcpath}
34}
35
36build {}
37
38destroot {
39    set inkapp ${destroot}${applications_dir}/Inkscape.app
40    xinstall -d ${inkapp}/Contents/MacOS
41    xinstall -d ${inkapp}/Contents/Resources
42
43    xinstall -m 644 ${filespath}/Info.plist ${inkapp}/Contents/
44    xinstall -m 644 ${worksrcpath}/Inkscape.icns ${inkapp}/Contents/Resources/
45    xinstall -m 755 ${filespath}/Inkscape ${inkapp}/Contents/MacOS
46
47    reinplace -W ${inkapp}/Contents/MacOS "s,@@PREFIX@@,${prefix},g" Inkscape
48}
49
50livecheck.type      none
Note: See TracBrowser for help on using the repository browser.