source: trunk/dports/devel/odcctools/Portfile @ 57378

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

Change deprecated svn.tag to svn.revision
See http://lists.macosforge.org/pipermail/macports-dev/2009-August/009699.html

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 57378 2009-09-10 08:38:23Z ryandesign@macports.org $
3
4PortSystem 1.0
5
6name            odcctools
7version         20061117
8categories      devel
9maintainers     nomaintainer
10homepage        http://odcctools.macosforge.org/
11platforms       darwin
12
13description     Darwin cctools build system.
14long_description \
15    The odcctools project is geared towards improving the \
16    Darwin cctools build system and code base to support \
17    Darwin development. Darwin cctools has several \
18    components, including the assembler odas(1), the \
19    static linker odld(1), various tools for manipulating \
20    and analyzing Mach-O and fat files, and support \
21    libraries.
22
23fetch.type      svn
24svn.revision    150
25svn.url         http://svn.macosforge.org/repository/${name}/trunk ${name}
26
27worksrcdir      ${name}/${name}
28
29set od_extract  ""
30extract {
31    system "cd ${workpath}/${name} && ./extract.sh $od_extract"
32}
33
34depends_build   bin:svn:subversion
35
36configure.args  --mandir=${prefix}/share/man \
37                --program-prefix=od
38
39build.target    default
40
41use_parallel_build  yes
42
43post-destroot {
44    set mandir ${destroot}${prefix}/share/man/man1
45    foreach manpage [glob -d ${mandir} *.1] {
46        file rename ${manpage} [strsed ${manpage} "s%${mandir}/%${mandir}/od%"]
47    }
48}
49
50variant nosdk description {Without SDK} {
51    set od_extract "--nosdk"
52}
53
54if {"darwin" == ${os.platform}} {
55if {${os.major} < 8 || ${os.major} > 9} {
56    depends_build-append    port:gnutar
57    pre-extract {
58        system "cd ${workpath}/${name} && patch -p0 < ${filespath}/patch-extract.sh"
59    }
60}
61}
62
63livecheck.type  none
Note: See TracBrowser for help on using the repository browser.