summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-04-23 16:52:21 +0000
committerijliao <ijliao@FreeBSD.org>2001-04-23 16:52:21 +0000
commit54ccf787b9a244ac931513915ae8fe92701b6de1 (patch)
treeb746fd476f4a3b239732fb87dea64a20922d40f2
parent47553f43b2bb708f64b2317c53eb23f554486d36 (diff)
downloadFreeBSD-ports-54ccf787b9a244ac931513915ae8fe92701b6de1.zip
FreeBSD-ports-54ccf787b9a244ac931513915ae8fe92701b6de1.tar.gz
add surf
Visualize some real algebraic geometry
-rw-r--r--math/Makefile1
-rw-r--r--math/surf/Makefile28
-rw-r--r--math/surf/distinfo1
-rw-r--r--math/surf/pkg-comment1
-rw-r--r--math/surf/pkg-descr14
-rw-r--r--math/surf/pkg-plist3
6 files changed, 48 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index dd56d3b..6e31a75 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -97,6 +97,7 @@
SUBDIR += spin
SUBDIR += ss
SUBDIR += superlu
+ SUBDIR += surf
SUBDIR += thx_1138
SUBDIR += topaz
SUBDIR += umatrix
diff --git a/math/surf/Makefile b/math/surf/Makefile
new file mode 100644
index 0000000..a6bc4b8
--- /dev/null
+++ b/math/surf/Makefile
@@ -0,0 +1,28 @@
+# ex:ts=8
+# New ports collection makefile for: surf
+# Date created: Apr 23, 2001
+# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= surf
+PORTVERSION= 1.0.3
+CATEGORIES= math
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= ijliao@FreeBSD.org
+
+LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
+ tiff.4:${PORTSDIR}/graphics/tiff
+
+USE_GTK= yes
+USE_NEWGCC= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+MAN1= surf.1
+
+.include <bsd.port.mk>
diff --git a/math/surf/distinfo b/math/surf/distinfo
new file mode 100644
index 0000000..d7b46d0
--- /dev/null
+++ b/math/surf/distinfo
@@ -0,0 +1 @@
+MD5 (surf-1.0.3.tar.gz) = 4d0cea15d9e771e60920dbb25979d1f3
diff --git a/math/surf/pkg-comment b/math/surf/pkg-comment
new file mode 100644
index 0000000..9e6e760
--- /dev/null
+++ b/math/surf/pkg-comment
@@ -0,0 +1 @@
+Visualize some real algebraic geometry
diff --git a/math/surf/pkg-descr b/math/surf/pkg-descr
new file mode 100644
index 0000000..67800fa
--- /dev/null
+++ b/math/surf/pkg-descr
@@ -0,0 +1,14 @@
+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.
+
+The algorithms should be stable enough not to be confused by curve/surface
+singularities in codimension greater than one and the degree of the surface
+or curve. This has been achieved quite a bit. We have drawn curves of degree
+up to 30 and surfaces of degree up to 20 successfully. However, there are
+examples of curves/surfaces of lower degree where surf fails to produce
+perfect images. This happens especially if the equation of the curve/surface
+is not reduced. Best results are achieved using reduced equations. On the
+other hand, surf displays the Fermat-curves accurately for degree up to 98.
+
+WWW: http://surf.sourceforge.net/
diff --git a/math/surf/pkg-plist b/math/surf/pkg-plist
new file mode 100644
index 0000000..e9dd51e
--- /dev/null
+++ b/math/surf/pkg-plist
@@ -0,0 +1,3 @@
+bin/surf
+share/surf/surf.xpm
+@dirrm share/surf
OpenPOWER on IntegriCloud