# -*- 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 no_x11 { 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}/ }