source: trunk/dports/lang/objc/Portfile @ 29789

Last change on this file since 29789 was 29789, checked in by ryandesign@…, 13 years ago

Set svn:keywords of all portfiles to Id as per current requirements

  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1# $Id: Portfile 29789 2007-10-10 07:16:12Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                    objc
6version                 3.2.8
7categories              lang
8platforms               darwin
9maintainers             mww
10description             The Portable Object Compiler is an Objective-C compiler
11long_description        \
12        This is an independent implementation of Objective C - independent of \
13        Stepstone\'s, NeXT's, GNU\'s (Free Software Foundation) or SunSoft\'s \
14        Objective C implementation. Like the GNU compiler, the "objc" grammar \
15        is written in YACC. The lexical ananlyzer is written in LEX, and the \
16        compiler itself in the Bourne shell and in Objective C. (the optional \
17        Objective C link editor is written in AWK).
18
19homepage                http://users.pandora.be/stes/compiler.html
20master_sites            http://users.pandora.be/stes/
21checksums               sha1 b315a9d68e975a5751b28b48bd44468df26509a1
22distfiles               objc-${version}.tar.gz objc-bootstrap-${version}.tar.gz
23checksums               objc-${version}.tar.gz sha1 b315a9d68e975a5751b28b48bd44468df26509a1 \
24                        objc-bootstrap-${version}.tar.gz sha1 07558d72d314c14d66f3817297944db7512a1790
25patchfiles              patch-src-cakit-intmodp.m
26
27depends_lib             port:byacc
28
29set cc  /usr/bin/gcc
30platform darwin 8 {
31        set cc                  /usr/bin/gcc-4.0
32        configure.compiler      gcc-4.0
33}
34
35pre-configure {
36        # bootstrap
37        file mkdir ${workpath}/bootstrap
38        system "cd ${workpath}/objc-bootstrap-${version} && \
39                CC=${cc} ./configure --prefix=${workpath}/bootstrap && \
40                make && \
41                make install"
42}
43
44configure.env   PATH=${workpath}/bootstrap/bin:$env(PATH)
45configure.args  --build=i386-apple-freebsd
46
47build.env       PATH=${workpath}/bootstrap/bin:$env(PATH)
48build.target
49
50destroot.destdir        INSTALLDIR=${destroot}${prefix}
51post-destroot {
52        file delete -force ${destroot}${prefix}/share/man
53        file rename ${destroot}${prefix}/man ${destroot}${prefix}/share/man
54}
55
56livecheck.check regex
57livecheck.url   ${homepage}
58livecheck.regex objc-(\[0-9.\]+)\\.tar\\.gz
59
Note: See TracBrowser for help on using the repository browser.