source: trunk/dports/devel/macstl/Portfile

Last change on this file was 111055, checked in by jmr@…, 4 years ago

macstl: set license, remove old universal workaround

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# $Id: Portfile 111055 2013-09-14 01:19:32Z ryandesign@macports.org $
2
3PortSystem              1.0
4PortGroup               xcode 1.0
5
6name                    macstl
7version                 0.3.1
8categories              devel
9# Reciprocal Public License 1.1
10license                 Restrictive
11maintainers             nomaintainer
12description             C++ header library
13
14long_description \
15        The C++ header library designed to bring the Macintosh \
16        into the world of modern generic programming, and deliver \
17        the surprising speed of SIMD in an intuitive cross-platform package.
18
19homepage                http://www.pixelglow.com/macstl/
20master_sites    http://www.pixelglow.com/downloads/
21extract.suffix  .tgz
22
23checksums               md5 28288965464ed69718d616f7596939bb \
24                                sha1 009e8ffdba976e3c09cbf3ff21091535771e86d9 \
25                                rmd160 1485e24d9be7b5ed75ed62237208271d183edd86
26
27worksrcdir              ${name}/mac
28
29patchfiles              patch-macstl.xcodeproj-project.pbxproj
30
31xcode.target                    ${name}
32set xcode.configuration "\"Optimized for PowerPC and Intel\""
33xcode.destroot.type             framework
34
35if {![variant_isset universal] && ![catch {exec machine} machine]} {
36        if {[regexp {ppc(7[45]|95)} $machine _ number]} {
37                switch [string index ${number} 0] {
38                        7 { set model G4 }
39                        9 { set model G5 }
40                }
41
42                if {[info exists model]} {
43                        set xcode.configuration "\"Optimized for ${model}\""
44                }
45        }
46}
Note: See TracBrowser for help on using the repository browser.