source: trunk/dports/aqua/Platypus44/Portfile

Last change on this file was 114325, checked in by ryandesign@…, 4 years ago

use eq and ne instead of == and != when comparing ${os.platform} and ${os.subplatform}

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.2 KB
Line 
1# $Id: Portfile 114325 2013-12-05 09:20:31Z ryandesign@macports.org $
2
3PortSystem          1.0
4PortGroup           xcode 1.0
5
6name                Platypus44
7version             4.4
8license             GPL-2
9categories          aqua devel
10maintainers         nomaintainer
11conflicts           Platypus
12description         Program for creating application wrappers around scripts - obsolete version supporting PowerPC (PPC)
13
14long_description    Platypus is a program for creating application \
15    wrappers around scripts, i.e. creating Mac OS X applications that execute a \
16    script they are bundled with. Scripts can thus be run transparently from \
17    the graphical window environment without having to resort to using the \
18    command line interface. It supports drag and drop on created apps, running \
19    as root using Authentication Manager and more.  This ${version} version is \
20    the last one to support PPC. \
21
22homepage            http://www.sveinbjorn.org/platypus/
23master_sites        http://www.sveinbjorn.org/files/software/platypus/
24distname            platypus${version}.src
25use_zip             yes
26
27checksums           md5     e6fe23f7037a873394b70bcc62843940 \
28                    sha1    31faa5ea5e3e266a213aa3dd3c1fa1173e611110 \
29                    rmd160  0708e489de457d79cecb8192f1747459df8402c8
30
31worksrcdir          "[string trimright ${name} 4]-${version}-Source"
32
33supported_archs     i386 ppc
34
35build.target        platypus ScriptExec Platypus
36destroot.target     Platypus
37
38if {${os.platform} eq "darwin" && ${os.major} >= 10} {
39    universal_variant   no
40}
41
42patchfiles          project.pbxproj.patch
43post-patch {
44    reinplace "s|/usr/local|${prefix}|" ${worksrcpath}/CommandLineTool/platypus.1 ${worksrcpath}/CommonDefs.h
45}
46
47post-destroot {
48    reinplace "s|/usr/local|${destroot}${prefix}|g" ${worksrcpath}/Scripts/InstallCommandLineTool.sh
49
50    # there is no English.lproj when building on Tiger and Leopard but there is one on SL
51    if {${os.platform} eq "darwin" && 10 > ${os.major}} {
52        reinplace "s|English.lproj/||g" ${worksrcpath}/Scripts/InstallCommandLineTool.sh
53    }
54
55    exec /bin/bash ${worksrcpath}/Scripts/InstallCommandLineTool.sh ${destroot}${applications_dir}/Platypus.app/Contents/Resources
56}
57
58livecheck.type      none
59
Note: See TracBrowser for help on using the repository browser.