# -*- 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 # $Id: Portfile 145954 2016-02-23 00:41:53Z ryandesign@macports.org $ PortSystem 1.0 PortGroup python 1.0 name scons version 2.4.1 categories devel python license MIT maintainers nomaintainer description Software construction tool long_description \ SCons is an Open Source software construction tool--that is, a \ next-generation build tool. Think of SCons as an improved, \ cross-platform substitute for the classic Make utility with integrated \ functionality similar to autoconf/automake and compiler caches such as \ ccache. platforms darwin supported_archs noarch homepage http://www.scons.org/ master_sites sourceforge:project/scons/scons/${version} checksums rmd160 0fd9476f4d623a4d08a848e332f505d506d476f5 \ sha256 8fc4f42928c69bcbb33e1be94b646f2c700b659693fabc778c192d4d22f753a7 python.default_version 27 patchfiles patch-setup.py patch-scons patch-sconsign patch-scons-time post-patch { reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/script/scons \ ${worksrcpath}/script/sconsign ${worksrcpath}/script/scons-time } post-destroot { xinstall -m 755 -d ${destroot}${prefix}/share/man/man1 \ ${destroot}${prefix}/share/doc/${name} xinstall -m 644 -W ${worksrcpath} CHANGES.txt LICENSE.txt README.txt \ RELEASE.txt ${destroot}${prefix}/share/doc/${name} foreach manfile [glob -tails -directory ${destroot}${python.prefix}/share/man/man1 *] { ln -s ${python.prefix}/share/man/man1/${manfile} \ ${destroot}${prefix}/share/man/man1/${manfile} } } livecheck.regex /${name}-(\[0-9.\]+)${extract.suffix}