[42266] trunk/dports/math/yacas/Portfile

mcalhoun at macports.org mcalhoun at macports.org
Mon Nov 17 13:56:37 PST 2008


Revision: 42266
          http://trac.macports.org/changeset/42266
Author:   mcalhoun at macports.org
Date:     2008-11-17 13:56:36 -0800 (Mon, 17 Nov 2008)
Log Message:
-----------
yacas: update version 1.1.10 -> 1.2.2; fixes #17126 (maintainer timeout)

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

Modified: trunk/dports/math/yacas/Portfile
===================================================================
--- trunk/dports/math/yacas/Portfile	2008-11-17 21:53:03 UTC (rev 42265)
+++ trunk/dports/math/yacas/Portfile	2008-11-17 21:56:36 UTC (rev 42266)
@@ -1,10 +1,13 @@
 # $Id$
 
 PortSystem 1.0
+
 name		yacas
-version		1.1.10
+version		1.2.2
 categories	math
-maintainers	olt at bogosoft.com
+platforms       darwin
+homepage        http://yacas.sourceforge.net/
+maintainers	bogosoft.com:olt
 description	Yet Another Computer Algebra System
 long_description YACAS is an easy to use, general purpose Computer Algebra\
 	System, a program for symbolic manipulation of mathematical\
@@ -12,21 +15,31 @@
 	symbolic as well as arbitrary-precision numerical computations.  The\
 	system has a library of scripts that implement many of the symbolic\
 	algebra operations - new algorithms can be easily added to the library.
+
 master_sites	http://yacas.sourceforge.net/backups/
-checksums   md5 bc391471ea02a2e226d5b2658c1150ac \
-            sha1 c59d138345da0ec365cfe3e018c9ebe0d81e310c \
-            rmd160 38e0dce2cf461ab76573b82a5d0d95b9dce290db
 
-patchfiles  patch-Makefile.in
+checksums   md5 329f149ca3ceb976a7e596b56fc3cba5 \
+            sha1 8e753c22c207a5aa5e9fd2a9d519605d5b73d5b9 \
+            rmd160 6c49ca60e4f1f92e7d30e8d91b6126e55d77321b
 
-depends_build	bin:perl:perl5.8
 
-configure.args-append   --disable-shared
+# perl is used to build documentation
+# ${prefix}/share/yacas/manmake/txt2yacasdoc.pl requires perl after build
+depends_lib	path:bin/perl:perl5
 
+post-patch {
+    #Ensure that the correct perl is used
+    foreach f {ytxt2tex Makefile.in book2ys.sh book2xml.sh book2txt.sh book2TeX.sh} {
+        reinplace -E "s|(\[^a-zA-Z_\])perl |\\1${prefix}/bin/perl |g" ${worksrcpath}/manmake/${f}
+    }
+    foreach f [glob -directory ${worksrcpath}/manmake *.pl] {
+         reinplace  "s|/usr/bin/perl|${prefix}/bin/perl|g" ${f}
+    }
+}
+
+configure.args-append   --with-html-dir=${prefix}/share/doc/${name}
+
 test.run	yes
 
-variant gmp {
-	# for faster arbitrary precision arithmetics
-	depends_lib-append	lib:libgmp.4:gmp
-	configure.args-append	--with-numlib=gmp
-}
+livecheck.url    http://yacas.sourceforge.net/downloads.html
+livecheck.regex  "version (\\d(?:\\.\\d+)*)"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081117/863d7f64/attachment-0001.html>


More information about the macports-changes mailing list