source: trunk/dports/devel/scons/Portfile

Last change on this file was 145954, checked in by ryandesign@…, 17 months ago

scons: update to 2.4.1 (#50690)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 145954 2016-02-23 00:41:53Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                scons
8version             2.4.1
9categories          devel python
10license             MIT
11maintainers         nomaintainer
12
13description         Software construction tool
14long_description \
15    SCons is an Open Source software construction tool--that is, a \
16    next-generation build tool. Think of SCons as an improved, \
17    cross-platform substitute for the classic Make utility with integrated \
18    functionality similar to autoconf/automake and compiler caches such as \
19    ccache.
20
21platforms           darwin
22supported_archs     noarch
23
24homepage            http://www.scons.org/
25master_sites        sourceforge:project/scons/scons/${version}
26
27checksums           rmd160  0fd9476f4d623a4d08a848e332f505d506d476f5 \
28                    sha256  8fc4f42928c69bcbb33e1be94b646f2c700b659693fabc778c192d4d22f753a7
29
30python.default_version  27
31
32patchfiles          patch-setup.py patch-scons patch-sconsign patch-scons-time
33post-patch {
34    reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/script/scons \
35        ${worksrcpath}/script/sconsign ${worksrcpath}/script/scons-time
36}
37
38post-destroot {
39    xinstall -m 755 -d ${destroot}${prefix}/share/man/man1 \
40        ${destroot}${prefix}/share/doc/${name}
41    xinstall -m 644 -W ${worksrcpath} CHANGES.txt LICENSE.txt README.txt \
42        RELEASE.txt ${destroot}${prefix}/share/doc/${name}
43    foreach manfile [glob -tails -directory ${destroot}${python.prefix}/share/man/man1 *] {
44        ln -s ${python.prefix}/share/man/man1/${manfile} \
45            ${destroot}${prefix}/share/man/man1/${manfile}
46    }
47}
48
49livecheck.regex     /${name}-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.