aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2003-01-07 11:14:23 +0800
committerijliao <ijliao@FreeBSD.org>2003-01-07 11:14:23 +0800
commit9cc7ad1e45d326dbeeabf331522c905311cab802 (patch)
tree887698f7cfd260b20b73ab77919b6cebd611a146 /math
parent5e1a9620670aa89954aba5825a3c9c7a944dff11 (diff)
downloadfreebsd-ports-gnome-9cc7ad1e45d326dbeeabf331522c905311cab802.tar.gz
freebsd-ports-gnome-9cc7ad1e45d326dbeeabf331522c905311cab802.tar.zst
freebsd-ports-gnome-9cc7ad1e45d326dbeeabf331522c905311cab802.zip
add glgraph 0.2.6
An OpenGL based function grapher
Diffstat (limited to 'math')
-rw-r--r--math/Makefile1
-rw-r--r--math/glgraph/Makefile34
-rw-r--r--math/glgraph/distinfo1
-rw-r--r--math/glgraph/pkg-comment1
-rw-r--r--math/glgraph/pkg-descr4
-rw-r--r--math/glgraph/pkg-plist3
6 files changed, 44 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index fbf5dd6704e7..f2621012146d 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -39,6 +39,7 @@
SUBDIR += gdcalc
SUBDIR += geg
SUBDIR += gexpr
+ SUBDIR += glgraph
SUBDIR += glove
SUBDIR += glpk
SUBDIR += gnumeric
diff --git a/math/glgraph/Makefile b/math/glgraph/Makefile
new file mode 100644
index 000000000000..29de9f5a0843
--- /dev/null
+++ b/math/glgraph/Makefile
@@ -0,0 +1,34 @@
+# ex:ts=8
+# Ports collection makefile for: glgraph
+# Date created: Jan 7, 2003
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= glgraph
+PORTVERSION= 0.2.6
+CATEGORIES= math
+MASTER_SITES= http://glgraph.kaosu.ch/downl/
+DISTNAME= ${PORTNAME}_${PORTVERSION}
+
+MAINTAINER= ports@FreeBSD.org
+
+RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/OpenGL.pm:${PORTSDIR}/graphics/p5-OpenGL \
+ ${SITE_PERL}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes \
+ ${SITE_PERL}/Math/Trig.pm:${PORTSDIR}/math/p5-Math-Trig \
+ import:${PORTSDIR}/graphics/ImageMagick
+
+USE_BZIP2= yes
+USE_PERL5_RUN= yes
+NO_BUILD= yes
+WRKSRC= ${WRKDIR}/${PORTNAME}
+
+do-install:
+ @${INSTALL_SCRIPT} ${WRKSRC}/glgraph ${PREFIX}/bin
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/documentation.html ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/math/glgraph/distinfo b/math/glgraph/distinfo
new file mode 100644
index 000000000000..6b6f39ee059f
--- /dev/null
+++ b/math/glgraph/distinfo
@@ -0,0 +1 @@
+MD5 (glgraph_0.2.6.tar.bz2) = 6fb17521170701f83d035b48df9db02b
diff --git a/math/glgraph/pkg-comment b/math/glgraph/pkg-comment
new file mode 100644
index 000000000000..864b6e4ec4c4
--- /dev/null
+++ b/math/glgraph/pkg-comment
@@ -0,0 +1 @@
+An OpenGL based function grapher
diff --git a/math/glgraph/pkg-descr b/math/glgraph/pkg-descr
new file mode 100644
index 000000000000..7e07bda40305
--- /dev/null
+++ b/math/glgraph/pkg-descr
@@ -0,0 +1,4 @@
+GLgraph visualize mathematical functions. It can handle 3 unknowns (x,z,t) and
+can produce a 4D function with 3 space and 1 time dimension.
+
+WWW: http://glgraph.kaosu.ch/
diff --git a/math/glgraph/pkg-plist b/math/glgraph/pkg-plist
new file mode 100644
index 000000000000..68ad67cef005
--- /dev/null
+++ b/math/glgraph/pkg-plist
@@ -0,0 +1,3 @@
+bin/glgraph
+%%PORTDOCS%%%%DOCSDIR%%/documentation.html
+%%PORTDOCS%%@dirrm %%DOCSDIR%%