source: trunk/dports/aqua/gimp-app/Portfile @ 90341

Last change on this file since 90341 was 90341, checked in by devans@…, 5 years ago

gimp-app: bump version to 2.6.12, remove outdated help notes.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 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 90341 2012-03-02 20:43:22Z devans@macports.org $
3
4PortSystem 1.0
5PortGroup  xcode 1.0
6
7name            gimp-app
8version         2.6.12
9license         GPL-2
10maintainers     nomaintainer
11description     GIMP.app application bundle
12long_description ${description}
13
14categories      aqua graphics
15homepage        http://gimp-app.sourceforge.net
16
17depends_run     path:bin/gimp:gimp2
18
19master_sites    ${homepage}
20
21distfiles       GIMPskel.zip
22use_zip         yes
23
24checksums       sha1    e923c2b145814db35a747ef947ba1ce7da32edbc \
25                rmd160  c61d0e566d87c772b98cf7d8d8338994c4ce23d9
26
27worksrcdir      GIMPskel/ScriptExecCocoa
28
29set gimpapp     ${workpath}/GIMPskel/GIMP.app
30
31post-extract {
32    delete ${gimpapp}/Contents/Resources/script
33}
34
35patchfiles      patch-ScriptExec.xcodeproj-project.pbxproj.diff
36
37pre-build {
38    # clean up old precompiled headers just in case
39    system "cd ${worksrcpath} && ${xcodebuildcmd} clean"
40}
41
42post-destroot {
43    xinstall -m 755 \
44        ${destroot}${applications_dir}/ScriptExec.app/Contents/MacOS/ScriptExec \
45        ${gimpapp}/Contents/MacOS/GIMP
46
47    ln -s ${prefix}/bin/gimp ${gimpapp}/Contents/Resources/script
48
49    xinstall -d ${destroot}${applications_dir}
50    copy ${gimpapp} ${destroot}${applications_dir}
51
52    delete ${destroot}${applications_dir}/ScriptExec.app
53}
54
55# gimp2 is not universal
56universal_variant no
Note: See TracBrowser for help on using the repository browser.