source: trunk/dports/math/bc/Portfile @ 96258

Last change on this file since 96258 was 96258, checked in by mww@…, 8 years ago

bc: version 1.06.95; add readline variant (default is kept using libedit); #34363

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
RevLine 
[20333]1# $Id: Portfile 96258 2012-08-06 17:00:20Z mww@macports.org $
[6036]2
3PortSystem 1.0
[83632]4
[85543]5name                bc
[96258]6version             1.06.95
[85543]7categories          math
[96258]8maintainers         mww openmaintainer
[85543]9license             GPL-2
[6036]10description      arbitrary precision numeric processing language
11long_description \
[85543]12    bc is an arbitrary precision numeric processing language. \
13    Syntax is similar to C, but differs in many substantial \
14    areas. It supports interactive execution of statements. \
15    bc is a utility included in the POSIX P1003.2/D11 draft \
16    standard.
17homepage            http://www.gnu.org/software/bc/
18platforms           darwin
[96258]19master_sites        http://alpha.gnu.org/gnu/bc/
20use_bzip2           yes
21checksums           rmd160  d58c2d7a1f4b7bfa910f26e5809f3169a6e0da76 \
22                    sha256  7ee4abbcfac03d8a6e1a8a3440558a3d239d6b858585063e745c760957725ecc
[6036]23
[85543]24configure.args      --infodir=${prefix}/share/info \
25                    --mandir=${prefix}/share/man \
26                    --with-libedit
[6036]27
28post-destroot {
[85543]29    file delete -force ${destroot}${prefix}/share/info/dir
[6036]30}
[28595]31
[96258]32variant universal {}
33
34variant readline description {use GNU readline instead of libedit} {
35    depends_lib port:readline
36    configure.args-delete --with-libedit
37    configure.args-append --with-readline
38}
39
[85543]40livecheck.type      regex
[96258]41livecheck.url       http://alpha.gnu.org/gnu/bc/
[85543]42livecheck.regex     bc-(\[0-9\.\]+\[0-9\])\\.
Note: See TracBrowser for help on using the repository browser.