source: trunk/dports/aqua/Platypus44/Portfile @ 98135

Last change on this file since 98135 was 98135, checked in by and.damore@…, 7 years ago

port platypus44: removing livecheck since this version is abandoned upstream, nomantainer

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