[96258] trunk/dports/math/bc/Portfile

mww at macports.org mww at macports.org
Mon Aug 6 10:00:21 PDT 2012


Revision: 96258
          https://trac.macports.org/changeset/96258
Author:   mww at macports.org
Date:     2012-08-06 10:00:20 -0700 (Mon, 06 Aug 2012)
Log Message:
-----------
bc: version 1.06.95; add readline variant (default is kept using libedit); #34363

Modified Paths:
--------------
    trunk/dports/math/bc/Portfile

Modified: trunk/dports/math/bc/Portfile
===================================================================
--- trunk/dports/math/bc/Portfile	2012-08-06 16:48:29 UTC (rev 96257)
+++ trunk/dports/math/bc/Portfile	2012-08-06 17:00:20 UTC (rev 96258)
@@ -3,10 +3,9 @@
 PortSystem 1.0
 
 name                bc
-version             1.06
-revision            1
+version             1.06.95
 categories          math
-maintainers         mww
+maintainers         mww openmaintainer
 license             GPL-2
 description      arbitrary precision numeric processing language
 long_description \
@@ -17,13 +16,11 @@
     standard.
 homepage            http://www.gnu.org/software/bc/
 platforms           darwin
-master_sites        gnu
-checksums           md5     d44b5dddebd8a7a7309aea6c36fda117 \
-                    sha1    c8f258a7355b40a485007c40865480349c157292 \
-                    rmd160  e0394a090ad42f289a80de1dd26d2cf591f88481
+master_sites        http://alpha.gnu.org/gnu/bc/
+use_bzip2           yes
+checksums           rmd160  d58c2d7a1f4b7bfa910f26e5809f3169a6e0da76 \
+                    sha256  7ee4abbcfac03d8a6e1a8a3440558a3d239d6b858585063e745c760957725ecc
 
-variant universal {}
-
 configure.args      --infodir=${prefix}/share/info \
                     --mandir=${prefix}/share/man \
                     --with-libedit
@@ -32,7 +29,14 @@
     file delete -force ${destroot}${prefix}/share/info/dir
 }
 
+variant universal {}
+
+variant readline description {use GNU readline instead of libedit} {
+    depends_lib port:readline
+    configure.args-delete --with-libedit
+    configure.args-append --with-readline
+}
+
 livecheck.type      regex
-livecheck.url       http://ftp.gnu.org/gnu/bc/?C=M&O=D
+livecheck.url       http://alpha.gnu.org/gnu/bc/
 livecheck.regex     bc-(\[0-9\.\]+\[0-9\])\\.
-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120806/744ced99/attachment.html>


More information about the macports-changes mailing list