|
Revision 28953, 1.6 KB
(checked in by nox@…, 16 months ago)
|
|
launch:
- Now uses xcode.destroot.path instead of installing the binary manually.
- Added universal support.
- Removed cd.
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Id
|
| Line | |
|---|
| 1 | # $Id$ |
|---|
| 2 | |
|---|
| 3 | PortSystem 1.0 |
|---|
| 4 | PortGroup xcode 1.0 |
|---|
| 5 | |
|---|
| 6 | name launch |
|---|
| 7 | version 1.0.1 |
|---|
| 8 | categories aqua |
|---|
| 9 | maintainers nomaintainer |
|---|
| 10 | description command-line launcher for Mac OS X in the spirit of open |
|---|
| 11 | |
|---|
| 12 | long_description \ |
|---|
| 13 | Apple provides a simple command-line launching program called open \ |
|---|
| 14 | with Mac OS X. It offers few options - launching applications by name \ |
|---|
| 15 | or by path, launching TextEdit, or opening a number of applications, \ |
|---|
| 16 | documents, folders, or URLs. With the exception of special support for \ |
|---|
| 17 | TextEdit (open -a), launch does all this and more. |
|---|
| 18 | |
|---|
| 19 | homepage http://web.sabi.net/nriley/software/ |
|---|
| 20 | master_sites ${homepage} |
|---|
| 21 | |
|---|
| 22 | checksums md5 0c9f963701cdbe3272e2634cc3693b0d \ |
|---|
| 23 | sha1 fe22ea94418db5243bff8302596f12bdd0cc5c9f \ |
|---|
| 24 | rmd160 b118756cc60fe25f89a5f34417b68afe67eaf3f5 |
|---|
| 25 | |
|---|
| 26 | post-patch { |
|---|
| 27 | reinplace -E "/(MACOSX_DEPLOYMENT_TARGET|SDKROOT) =/d" \ |
|---|
| 28 | ${worksrcpath}/${name}.pbproj/project.pbxproj |
|---|
| 29 | } |
|---|
| 30 | |
|---|
| 31 | xcode.destroot.path ${prefix}/bin |
|---|
| 32 | |
|---|
| 33 | post-destroot { |
|---|
| 34 | xinstall -m 0444 ${worksrcpath}/${name}.1 \ |
|---|
| 35 | ${destroot}${prefix}/share/man/man1 |
|---|
| 36 | |
|---|
| 37 | set docdir ${prefix}/share/doc/${name}-${version} |
|---|
| 38 | xinstall -d ${destroot}${docdir} |
|---|
| 39 | xinstall -m 0644 ${worksrcpath}/README ${destroot}${docdir} |
|---|
| 40 | } |
|---|
| 41 | |
|---|
| 42 | variant universal { |
|---|
| 43 | post-patch { |
|---|
| 44 | reinplace -E "/OTHER_CFLAGS =/s|\"\"|\"${configure.universal_cflags}\"|" \ |
|---|
| 45 | ${worksrcpath}/${name}.pbproj/project.pbxproj |
|---|
| 46 | reinplace -E "/OTHER_LDFLAGS =/s|\"\"|\"${configure.universal_ldflags}\"|" \ |
|---|
| 47 | ${worksrcpath}/${name}.pbproj/project.pbxproj |
|---|
| 48 | } |
|---|
| 49 | } |
|---|
| 50 | |
|---|
| 51 | livecheck.check none |
|---|