[38399] trunk/dports/math

jmr at macports.org jmr at macports.org
Fri Jul 18 08:40:52 PDT 2008


Revision: 38399
          http://trac.macosforge.org/projects/macports/changeset/38399
Author:   jmr at macports.org
Date:     2008-07-18 08:40:52 -0700 (Fri, 18 Jul 2008)
Log Message:
-----------
New port: surf (#15101)

Added Paths:
-----------
    trunk/dports/math/surf/
    trunk/dports/math/surf/Portfile

Added: trunk/dports/math/surf/Portfile
===================================================================
--- trunk/dports/math/surf/Portfile	                        (rev 0)
+++ trunk/dports/math/surf/Portfile	2008-07-18 15:40:52 UTC (rev 38399)
@@ -0,0 +1,43 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem          1.0
+
+name                surf
+version             1.0.5
+categories          math
+maintainers         gmail.com:shreevatsa.public \
+                    openmaintainer
+description         Visualization of real algebraic geometry.
+long_description \
+    surf is a tool to visualize some real algebraic geometry: \
+    plane algebraic curves, algebraic surfaces and hyperplane sections of surfaces. \
+    surf is script driven and has (optionally) a nifty GUI using the Gtk widget set.
+
+homepage            http://surf.sourceforge.net/
+platforms           darwin
+
+master_sites        sourceforge
+
+checksums           md5     e19fbfdeffd60e8b178be89aeb43f7b1 \
+                    sha1    b40e3813fb0339ce4d7716d5e77206882df25d5f \
+                    rmd160  aa48172bb938831b20c19f16596e37182de44802
+
+depends_lib         port:gmp \
+                    port:flex \
+                    port:gtk1
+
+configure.args      --mandir=${prefix}/share/man
+
+variant nox11 description "Build without a GUI" {
+    depends_lib-delete port:gtk1
+    configure.args-append --disable-gui
+}
+
+post-destroot {
+    copy ${worksrcpath}/examples ${destroot}${prefix}/share/${name}/
+    system "chmod -R 755 ${destroot}${prefix}/share/${name}/examples/* && \
+        chmod -R 644 ${destroot}${prefix}/share/${name}/examples/*/*"
+    xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}
+    xinstall -m 644 ${worksrcpath}/docs/manual.sgml ${destroot}${prefix}/share/doc/${name}/
+}


Property changes on: trunk/dports/math/surf/Portfile
___________________________________________________________________
Name: svn:keywords
   + Id
Name: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080718/0e93fd90/attachment.html 


More information about the macports-changes mailing list