source: trunk/dports/shells/bash/Portfile

Last change on this file was 152753, checked in by raimue@…, 10 months ago

shells/bash: update to version 4.4

Correct license as it actually contains the "or any later version" phrase.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.2 KB
Line 
1# $Id: Portfile 152753 2016-09-16 13:49:07Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                bash
6set bash_version    4.4
7set bash_patchlevel 0
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
26dist_subdir         ${name}/${bash_version}_1
27checksums           ${distname}${extract.suffix} \
28                    rmd160  48869b3a460007d05c02ef99745477b2e526fdec \
29                    sha256  d86b3392c1202e8ff5a423b302e6284db7f8f435ea9f39b5b1b20fd3ac36dfcb
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
37#checksums-append \
38#    bash44-001 sha1 abc123...
39
40depends_build           bin:grep:grep \
41                        bin:bison:bison
42depends_lib             port:gettext \
43                        port:ncurses
44
45variant universal {}
46
47configure.ldflags-append \
48    "-Wl,-search_paths_first -lncurses"
49configure.args          --mandir=${prefix}/share/man \
50                        --infodir=${prefix}/share/info \
51                        --without-installed-readline \
52                        CFLAGS_FOR_BUILD="[get_canonical_archflags]"
53
54# Always source .bashrc when connecting remotely with ssh, #40603
55configure.cflags-append -DSSH_SOURCE_BASHRC
56
57livecheck.type          regex
58livecheck.url           http://ftp.gnu.org/gnu/${name}/${name}-${bash_version}-patches/?C=M&O=D
59livecheck.version       [format %03d ${bash_patchlevel}]
60livecheck.regex         ${name}[strsed ${bash_version} {g/\.//}]-(\\d\\d\\d)
Note: See TracBrowser for help on using the repository browser.