|
Revision 33413, 1.3 KB
(checked in by ryandesign@…, 12 months ago)
|
|
These ports build from source but build a universal version by default, and no effort has yet been expended to change this. The port defines an empty universal variant and selects it by default. Now additionally ensure that this default selection cannot be overridden, since to do so would be inaccurate.
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Id
|
| Line | |
|---|
| 1 | # $Id$ |
|---|
| 2 | |
|---|
| 3 | PortSystem 1.0 |
|---|
| 4 | name binclocken |
|---|
| 5 | version 1.6 |
|---|
| 6 | categories aqua |
|---|
| 7 | maintainers nomaintainer |
|---|
| 8 | description useless floating binary LED clock for your desktop |
|---|
| 9 | long_description \ |
|---|
| 10 | I was given a ThinkGeek binary clock by a friend (in a \ |
|---|
| 11 | not-so-transparent attempt to force me to learn binary \ |
|---|
| 12 | math). It sucks. It runs fast, very fast, gaining about \ |
|---|
| 13 | 5 minutes per day, making it totally useless. So this is \ |
|---|
| 14 | my revenge on the world. Plus, I was drunk when I wrote it. |
|---|
| 15 | homepage http://www.jschilling.net/sw_binclocken.php |
|---|
| 16 | platforms darwin |
|---|
| 17 | |
|---|
| 18 | dist_subdir ${name}/${version} |
|---|
| 19 | |
|---|
| 20 | master_sites http://homepage.mac.com/johnnycat/sfw/ |
|---|
| 21 | distname BinClockenSource |
|---|
| 22 | use_zip yes |
|---|
| 23 | |
|---|
| 24 | checksums \ |
|---|
| 25 | md5 8ef87b0450c10346e8013cae69ceba8b \ |
|---|
| 26 | sha1 05801f4ef3481bda4fda7aaf4772318ff45297cd \ |
|---|
| 27 | rmd160 82468ef839aaaa6f00a6719ffe250b025cff16f5 |
|---|
| 28 | |
|---|
| 29 | use_configure no |
|---|
| 30 | |
|---|
| 31 | build.type pbx |
|---|
| 32 | build.target |
|---|
| 33 | build.args -configuration Deployment |
|---|
| 34 | |
|---|
| 35 | destroot { |
|---|
| 36 | set appPath ${destroot}/Applications/MacPorts |
|---|
| 37 | file mkdir ${appPath} |
|---|
| 38 | file copy ${worksrcpath}/build/Deployment/BinClocken.app ${appPath}/BinClocken.app |
|---|
| 39 | } |
|---|
| 40 | |
|---|
| 41 | default_variants +universal |
|---|
| 42 | variant universal {} |
|---|
| 43 | pre-fetch { |
|---|
| 44 | if {![variant_isset universal]} { |
|---|
| 45 | return -code error "${name} is only available in a universal version" |
|---|
| 46 | } |
|---|
| 47 | } |
|---|