source: trunk/dports/devel/ftjam/Portfile

Last change on this file was 125078, checked in by ryandesign@…, 3 years ago

ftjam: rewrite master_sites to avoid redirects; fix livecheck

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# -*- 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
2# $Id: Portfile 125078 2014-09-04 18:33:28Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                ftjam
7version             2.5.2
8categories          devel
9platforms           darwin
10license             Permissive
11maintainers         nomaintainer
12
13# Attempts to install the same executable.
14conflicts           jam
15
16description         a software build tool like make
17long_description    FTJam is an improvement built upon Perforce Jam \
18                    (or Classic Jam). It is backward compatible with \
19                    Perforce Jam 2.3.
20homepage            http://freetype.sourceforge.net/jam/
21master_sites        sourceforge:project/freetype/ftjam/${version}/
22
23checksums           md5 b06c4c91405ef152ae59712d4fb1b80b \
24                    sha1 d23c7bb2e21afcacd8dc6086209ff767284a336c \
25                    rmd160 03f8eb7949005dda4265a8156d20f3dd5a4d1e93
26
27use_configure       no
28
29destroot {
30    system "install -m 755 ${worksrcpath}/bin.*/jam ${destroot}${prefix}/bin/"
31    system "install -m 755 ${worksrcpath}/bin.*/mkjambase ${destroot}${prefix}/bin/"
32    xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}/
33    xinstall -m 644 ${worksrcpath}/Jam.html ${destroot}${prefix}/share/doc/${name}/
34    xinstall -m 644 ${worksrcpath}/Jambase.html ${destroot}${prefix}/share/doc/${name}/
35    xinstall -m 644 ${worksrcpath}/Jamfile.html ${destroot}${prefix}/share/doc/${name}/
36}
37
38livecheck.type      regex
39livecheck.url       http://sourceforge.net/projects/freetype/files/ftjam/
40livecheck.regex     ${name}/(\[0-9.\]+)/
Note: See TracBrowser for help on using the repository browser.