# $Id: Portfile 28953 2007-09-12 18:59:13Z nox@macports.org $ PortSystem 1.0 PortGroup xcode 1.0 name launch version 1.0.1 categories aqua maintainers nomaintainer description command-line launcher for Mac OS X in the spirit of open long_description \ Apple provides a simple command-line launching program called open \ with Mac OS X. It offers few options - launching applications by name \ or by path, launching TextEdit, or opening a number of applications, \ documents, folders, or URLs. With the exception of special support for \ TextEdit (open -a), launch does all this and more. homepage http://web.sabi.net/nriley/software/ master_sites ${homepage} checksums md5 0c9f963701cdbe3272e2634cc3693b0d \ sha1 fe22ea94418db5243bff8302596f12bdd0cc5c9f \ rmd160 b118756cc60fe25f89a5f34417b68afe67eaf3f5 post-patch { reinplace -E "/(MACOSX_DEPLOYMENT_TARGET|SDKROOT) =/d" \ ${worksrcpath}/${name}.pbproj/project.pbxproj } xcode.destroot.path ${prefix}/bin post-destroot { xinstall -m 0444 ${worksrcpath}/${name}.1 \ ${destroot}${prefix}/share/man/man1 set docdir ${prefix}/share/doc/${name}-${version} xinstall -d ${destroot}${docdir} xinstall -m 0644 ${worksrcpath}/README ${destroot}${docdir} } variant universal { post-patch { reinplace -E "/OTHER_CFLAGS =/s|\"\"|\"${configure.universal_cflags}\"|" \ ${worksrcpath}/${name}.pbproj/project.pbxproj reinplace -E "/OTHER_LDFLAGS =/s|\"\"|\"${configure.universal_ldflags}\"|" \ ${worksrcpath}/${name}.pbproj/project.pbxproj } } livecheck.check none