source: trunk/dports/shells/bash/Portfile @ 76857

Last change on this file since 76857 was 76857, checked in by raimue@…, 6 years ago

shells/bash: Update to version 4.2.7

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.5 KB
Line 
1# $Id: Portfile 76857 2011-03-11 00:24:35Z raimue@macports.org $
2
3PortSystem 1.0
4
5name                bash
6set bash_version    4.2
7set bash_patchlevel 7
8version             ${bash_version}.${bash_patchlevel}
9distname            ${name}-${bash_version}
10categories          shells
11platforms           darwin freebsd
12license             GPL-3
13maintainers         raimue
14description         Bash (bourne-again shell) is a UNIX command interpreter
15long_description    \
16    Bash is an sh-compatible shell that incorporates useful     \
17    features from the Korn shell (ksh) and C shell (csh). It is     \
18    intended to conform to the IEEE POSIX P1003.2/ISO 9945.2 Shell  \
19    and Tools standard. It offers functional improvements over sh   \
20    for both programming and interactive use. In addition, most     \
21    sh scripts can be run by Bash without modification.
22homepage            http://www.gnu.org/software/bash/bash.html
23
24master_sites        gnu
25patch_sites         gnu:${name}/${distname}-patches
26checksums           ${distname}${extract.suffix} \
27                    md5     3fb927c7c33022f1c327f14a81c0d4b0 \
28                    sha1    487840ab7134eb7901fbb2e49b0ee3d22de15cb8 \
29                    rmd160  df7ae51783f039a1234d3b720ffcf4bfa5d09673
30
31# Generate patchfiles
32for {set i 1} {$i <= $bash_patchlevel} {incr i} {
33    patchfiles-append \
34        [format "%s%s-%03d" $name [strsed ${bash_version} {g/\.//}] $i]
35}
36
37checksums-append \
38    bash42-001 sha1 c069f07492c9199bc7cff71a4f032f668ba4ea0a \
39    bash42-002 sha1 75b6726656a08e47172704545c57a290e29075e9 \
40    bash42-003 sha1 c18390edcc87c347cade67d9c1653f1f220ce64d \
41    bash42-004 sha1 e10f0e8d3c24c10efffbca4605acb966393901ff \
42    bash42-005 sha1 c1dd32f9aab963830cb9bf5c0973eefa4d7f8881 \
43    bash42-006 sha1 4ae28b47a46850db3a5936ff0fafb9056f15329f \
44    bash42-007 sha1 31cf0373b1d4d61540474b6f527bf7675e8773f3
45
46depends_build           bin:grep:grep \
47                        bin:bison:bison
48depends_lib             port:gettext \
49                        port:readline
50
51configure.ldflags-append \
52    "-Wl,-search_paths_first -lncurses"
53configure.args          --mandir=${prefix}/share/man --with-installed-readline \
54                        --infodir=${prefix}/share/info
55
56if {[variant_isset universal]} {
57    configure.args-append "CFLAGS_FOR_BUILD=\"${configure.universal_cflags}\""
58}
59
60livecheck.type          master_sites
61livecheck.url           http://ftp.gnu.org/gnu/${name}/${name}-${bash_version}-patches/?C=M&O=D
62livecheck.version       [format %03d ${bash_patchlevel}]
63livecheck.regex         ${name}[strsed ${bash_version} {g/\.//}]-(\\d\\d\\d)
Note: See TracBrowser for help on using the repository browser.