source: trunk/dports/devel/boost-jam/Portfile

Last change on this file was 95899, checked in by jmr@…, 5 years ago

correct license formatting

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 95899 2012-07-26 10:56:29Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name             boost-jam
6version          3.1.18
7categories       devel
8maintainers      gmail.com:jon.olsson
9license          Boost-1
10description      Boost.Jam (BJam) is a build tool based on FTJam
11long_description \
12        Boost.Jam (BJam) is a build tool based on FTJam, \
13        which in turn is based on Perforce Jam. It contains \
14        significant improvements made to facilitate its use \
15        in the Boost Build System, but should be backward \
16        compatible with Perforce Jam.
17homepage         http://www.boost.org/
18master_sites     sourceforge:boost
19extract.suffix   .tgz
20checksums        md5 f790e022d658db38db5cc4aeeccad3f1 \
21                 sha1 3f2fe83add40691b9a5f9ebe5ea8a2264a808370 \
22                 rmd160 b25c123b82662323cc2cc4a67096ece4a0da47d6
23platforms        darwin
24
25patchfiles       patch-strings.c patch-build.sh
26post-patch {
27        reinplace "s|/usr/share/boost-build|${prefix}/share/boost-build|" \
28                ${worksrcpath}/jambase.c
29}
30
31configure {
32        reinplace "s|__CC__|${configure.cc}|" ${worksrcpath}/build.sh
33}
34
35build.env        LOCATE_TARGET=bin
36build.cmd        ./build.sh
37build.target
38build.args       -s tool.darwin.cc=${configure.cc}
39
40destroot {
41        xinstall -m 0755 ${worksrcpath}/bin/bjam ${destroot}${prefix}/bin
42
43        # Port netxx still expects to find program jam (removed in r13734)
44        xinstall -d -m 0755 ${destroot}${prefix}/lib/bjam/bin/
45        ln -s ${prefix}/bin/bjam ${destroot}${prefix}/lib/bjam/bin/jam
46}
47
48livecheck.regex "<title>${name} (.*) released.*</title>"
Note: See TracBrowser for help on using the repository browser.