# $Id: Portfile 100568 2012-12-15 22:29:34Z ryandesign@macports.org $ PortSystem 1.0 PortGroup xcode 1.0 name Platypus44 version 4.4 license GPL-2 categories aqua devel maintainers nomaintainer conflicts Platypus description Program for creating application wrappers around scripts - obsolete version supporting PowerPC (PPC) long_description Platypus is a program for creating application \ wrappers around scripts, i.e. creating Mac OS X applications that execute a \ script they are bundled with. Scripts can thus be run transparently from \ the graphical window environment without having to resort to using the \ command line interface. It supports drag and drop on created apps, running \ as root using Authentication Manager and more. This ${version} version is \ the last one to support PPC. \ homepage http://www.sveinbjorn.org/platypus/ master_sites http://www.sveinbjorn.org/files/software/platypus/ distname platypus${version}.src use_zip yes checksums md5 e6fe23f7037a873394b70bcc62843940 \ sha1 31faa5ea5e3e266a213aa3dd3c1fa1173e611110 \ rmd160 0708e489de457d79cecb8192f1747459df8402c8 worksrcdir "[string trimright ${name} 4]-${version}-Source" supported_archs i386 ppc build.target platypus ScriptExec Platypus destroot.target Platypus if {"darwin" == ${os.platform} && ${os.major} >= 10} { universal_variant no } patchfiles project.pbxproj.patch post-patch { reinplace "s|/usr/local|${prefix}|" ${worksrcpath}/CommandLineTool/platypus.1 ${worksrcpath}/CommonDefs.h } post-destroot { reinplace "s|/usr/local|${destroot}${prefix}|g" ${worksrcpath}/Scripts/InstallCommandLineTool.sh # there is no English.lproj when building on Tiger and Leopard but there is one on SL if {"darwin" == ${os.platform} && 10 > ${os.major}} { reinplace "s|English.lproj/||g" ${worksrcpath}/Scripts/InstallCommandLineTool.sh } exec /bin/bash ${worksrcpath}/Scripts/InstallCommandLineTool.sh ${destroot}${applications_dir}/Platypus.app/Contents/Resources } livecheck.type none