Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

root/trunk/dports/aqua/binclocken/Portfile

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
3PortSystem 1.0
4name             binclocken
5version          1.6
6categories       aqua
7maintainers      nomaintainer
8description      useless floating binary LED clock for your desktop
9long_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.
15homepage         http://www.jschilling.net/sw_binclocken.php
16platforms        darwin
17
18dist_subdir      ${name}/${version}
19
20master_sites     http://homepage.mac.com/johnnycat/sfw/
21distname         BinClockenSource
22use_zip          yes
23
24checksums \
25        md5 8ef87b0450c10346e8013cae69ceba8b \
26        sha1 05801f4ef3481bda4fda7aaf4772318ff45297cd \
27        rmd160 82468ef839aaaa6f00a6719ffe250b025cff16f5
28
29use_configure    no
30
31build.type       pbx
32build.target
33build.args       -configuration Deployment
34
35destroot {
36        set appPath ${destroot}/Applications/MacPorts
37        file mkdir ${appPath}
38        file copy ${worksrcpath}/build/Deployment/BinClocken.app ${appPath}/BinClocken.app
39}
40
41default_variants +universal
42variant universal {}
43pre-fetch {
44        if {![variant_isset universal]} {
45                return -code error "${name} is only available in a universal version"
46        }
47}
Note: See TracBrowser for help on using the browser.