# -*- 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 PortSystem 1.0 PortGroup python 1.0 name scons version 4.5.2 revision 0 checksums rmd160 2c3a91e7ec832b8384d17b659134c2c457232b3e \ sha256 ce26aac95d350a79a4192196b0beac3cb24f4ccabce0123eb28d3370f576f072 \ size 3194724 categories devel python supported_archs noarch platforms {darwin any} license MIT maintainers {ryandesign @ryandesign} openmaintainer description A 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. homepage https://www.scons.org master_sites sourceforge:project/scons/scons/${version} distname SCons-${version} python.default_version \ 311 patchfiles python-interp.patch post-patch { reinplace -W ${worksrcpath}/SCons/Utilities "s|__PYTHON__|${python.bin}|" \ ConfigureCache.py sconsign.py } post-destroot { xinstall -m 0755 -d \ ${destroot}${prefix}/share/doc/${name} xinstall -m 0644 -W ${worksrcpath} \ LICENSE README.rst \ ${destroot}${prefix}/share/doc/${name} file mkdir ${destroot}${python.prefix}/share/man/man1 foreach manfile [glob -tails -directory ${destroot}${python.prefix} *.1] { move ${destroot}${python.prefix}/${manfile} \ ${destroot}${python.prefix}/share/man/man1/${manfile} ln -s ${python.prefix}/share/man/man1/${manfile} \ ${destroot}${prefix}/share/man/man1/${manfile} } }