|
Revision 38908, 1.5 KB
(checked in by ryandesign@…, 5 months ago)
|
|
IcyJuice: use ${applications_dir}
|
-
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 IcyJuice |
|---|
| 7 | set my_name "Icy Juice" |
|---|
| 8 | version 1.0.2 |
|---|
| 9 | categories aqua net |
|---|
| 10 | maintainers nomaintainer |
|---|
| 11 | homepage http://www.mitzpettel.com/software/icyjuice.html |
|---|
| 12 | description Cocoa ICQ client |
|---|
| 13 | |
|---|
| 14 | long_description IcyJuice is a cocoa icq client with file transfers \ |
|---|
| 15 | support and multiple accounts lists. |
|---|
| 16 | |
|---|
| 17 | master_sites http://www.mitzpettel.com/download/ |
|---|
| 18 | distname ${name}${version}src |
|---|
| 19 | extract.suffix .tgz |
|---|
| 20 | |
|---|
| 21 | checksums md5 83fe12d8472733d799703fb9a0d84bee \ |
|---|
| 22 | sha1 1d8789eb1cf1e2d3d1d939e4a2705ad0c24aadba \ |
|---|
| 23 | rmd160 fbdaa97dea9a52ca1fcbae41e50339cef0a9b243 |
|---|
| 24 | |
|---|
| 25 | # Dummy configure to enable universal variant |
|---|
| 26 | use_configure yes |
|---|
| 27 | configure {} |
|---|
| 28 | |
|---|
| 29 | if {! [variant_isset universal]} { |
|---|
| 30 | set arch ${os.arch} |
|---|
| 31 | if {! [string compare ${os.arch} powerpc]} { |
|---|
| 32 | set arch ppc |
|---|
| 33 | } |
|---|
| 34 | |
|---|
| 35 | xcode.build.settings-append ARCHS=${arch} |
|---|
| 36 | xcode.destroot.settings-append ARCHS=${arch} |
|---|
| 37 | } |
|---|
| 38 | |
|---|
| 39 | # We cannot use xcode.project here because of #12429. |
|---|
| 40 | #xcode.project "Icy Juice.xcodeproj" |
|---|
| 41 | build.args "-project \"${my_name}.xcodeproj\"" |
|---|
| 42 | destroot.args "-project \"${my_name}.xcodeproj\"" |
|---|
| 43 | |
|---|
| 44 | # Can be removed once MacPorts 1.7.0 is released |
|---|
| 45 | if {![info exists applications_dir]} { |
|---|
| 46 | set applications_dir /Applications/MacPorts |
|---|
| 47 | } |
|---|
| 48 | |
|---|
| 49 | post-destroot { |
|---|
| 50 | xinstall -d ${destroot}${applications_dir} |
|---|
| 51 | copy ${worksrcpath}/build/${xcode.configuration}/${my_name}.app \ |
|---|
| 52 | ${destroot}${applications_dir} |
|---|
| 53 | } |
|---|
| 54 | |
|---|
| 55 | livecheck.check regex |
|---|
| 56 | livecheck.url ${homepage} |
|---|
| 57 | livecheck.regex "version (\\d+(?:\\.\\d+)*)" |
|---|