# -*- 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.7.0 revision 1 checksums rmd160 6b65ec3ce4b1125e5fd53557c963e19b884f942d \ sha256 d9fcd831700ce373ecd30ac55e9d7eff20754215cff5967c4972237d614a326e \ size 3220744 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} # Keep the python version synchronized with ports that need extra python modules # in their scons scripts, including: cantera python.default_version \ 312 patchfiles python-interp.patch post-patch { reinplace -W ${worksrcpath}/SCons/Utilities "1s|__PYTHON__|${python.bin}|" \ ConfigureCache.py sconsign.py } patchfiles-append stdlib.patch 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} } }