Ticket #15146: Portfile

File Portfile, 1.2 KB (added by aronnax@…, 17 years ago)

New portfile

Line 
1# $Id: Portfile 30192 2007-10-22 20:37:59Z jmpp@macports.org $
2
3PortSystem                      1.0
4PortGroup                       python25 1.0
5name                            scons
6version                         0.98.2
7categories                      devel python
8maintainers                     landonf@macports.org openmaintainer
9description                     Software construction tool
10long_description \
11        SCons is an Open Source software construction tool--that is, a \
12        next-generation build tool. Think of SCons as an improved, \
13        cross-platform substitute for the classic Make utility with integrated \
14        functionality similar to autoconf/automake and compiler caches such as \
15        ccache.
16
17platforms                       darwin
18
19homepage                        http://www.scons.org/
20master_sites            sourceforge
21
22checksums                       md5 35479899ef4199c42ca4e068c99c586f \
23                                sha1 3dc8a1e224c0d10686b28c058717d24e7bcb1783 \
24                                rmd160 122598ef60b9a2067e88627098fb92b75ebd9df0
25
26patchfiles                      patch-setup.py patch-scons patch-sconsign
27post-patch {
28        reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/script/scons \
29                ${worksrcpath}/script/sconsign
30}
31
32post-destroot {
33        xinstall -m 755 -d ${destroot}${prefix}/share/man/man1 \
34                ${destroot}${prefix}/share/doc/${name}
35        xinstall -m 644 -W ${worksrcpath} CHANGES.txt LICENSE.txt README.txt \
36                RELEASE.txt ${destroot}${prefix}/share/doc/${name}
37}
38