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

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

bc: add missing libedit dependency, in a new libedit variant, which is the default (#31192)

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