source: trunk/dports/math/bc/Portfile

Last change on this file was 96498, checked in by mww@…, 5 years ago

bc: marks as installs_libs:no

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# $Id: Portfile 96498 2012-08-12 10:38:51Z 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
25installs_libs       no
26
27configure.args      --infodir=${prefix}/share/info \
28                    --mandir=${prefix}/share/man
29
30post-destroot {
31    file delete -force ${destroot}${prefix}/share/info/dir
32}
33
34variant libedit conflicts readline description {use libedit for command input editing} {
35    depends_lib-append port:libedit
36    configure.args-append --with-libedit
37}
38
39variant readline conflicts libedit description {use GNU readline for command input editing} {
40    depends_lib-append port:readline
41    configure.args-append --with-readline
42}
43
44if {![variant_isset libedit] && ![variant_isset readline]} {
45    default_variants +libedit
46}
47
48livecheck.type      regex
49livecheck.url       http://alpha.gnu.org/gnu/bc/
50livecheck.regex     bc-(\[0-9\.\]+\[0-9\])\\.
Note: See TracBrowser for help on using the repository browser.