summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-06-12 14:13:55 +0000
committerrillig <rillig@pkgsrc.org>2006-06-12 14:13:55 +0000
commitf8c156cd7d5e42bd4a3c17afa04be3152a53b17a (patch)
tree8eb6bce453aa038935ad21450bb8a15bdac1f4f0
parent1e303220e29ec5afab907519f41bca49fe1e1734 (diff)
downloadpkgsrc-f8c156cd7d5e42bd4a3c17afa04be3152a53b17a.tar.gz
Imported xfractint.
Xfractint draws a wide variety of fractals. Xfractint is a port of the IBM PC program fractint. Xfractint has online documentation which should be referenced for most operation information. Note that the online documentation is from fractint, and does not always accurately describe xfractint.
-rw-r--r--math/xfractint/DESCR5
-rw-r--r--math/xfractint/Makefile23
-rw-r--r--math/xfractint/PLIST1
-rw-r--r--math/xfractint/distinfo6
-rw-r--r--math/xfractint/patches/patch-aa17
5 files changed, 52 insertions, 0 deletions
diff --git a/math/xfractint/DESCR b/math/xfractint/DESCR
new file mode 100644
index 00000000000..2cda4e827bd
--- /dev/null
+++ b/math/xfractint/DESCR
@@ -0,0 +1,5 @@
+Xfractint draws a wide variety of fractals. Xfractint is a port of the
+IBM PC program fractint. Xfractint has online documentation which
+should be referenced for most operation information. Note that the
+online documentation is from fractint, and does not always accurately
+describe xfractint.
diff --git a/math/xfractint/Makefile b/math/xfractint/Makefile
new file mode 100644
index 00000000000..13c8024ccf4
--- /dev/null
+++ b/math/xfractint/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/06/12 14:13:55 rillig Exp $
+#
+
+DISTNAME= xfrac310
+PKGNAME= xfractint-3.10
+CATEGORIES= math
+MASTER_SITES= http://spanky.triumf.ca/pub/fractals/programs/unix/
+EXTRACT_SUFX= .zip
+
+MAINTAINER= rillig@NetBSD.org
+HOMEPAGE= http://spanky.triumf.ca/pub/fractals/programs/unix/
+COMMENT= Fractint for X11
+
+WRKSRC= ${WRKDIR}
+USE_LIBTOOL= yes
+
+MAKE_FLAGS+= BINDIR=${PREFIX}/bin
+MAKE_FLAGS+= MANDIR=${PREFIX}/${PKGMANDIR}/man1
+BUILD_TARGET= xfractint
+BUILDLINK_TRANSFORM+= l:ncurses:curses
+
+.include "../../mk/curses.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/math/xfractint/PLIST b/math/xfractint/PLIST
new file mode 100644
index 00000000000..40b5b8e202b
--- /dev/null
+++ b/math/xfractint/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/06/12 14:13:55 rillig Exp $
diff --git a/math/xfractint/distinfo b/math/xfractint/distinfo
new file mode 100644
index 00000000000..d04fccbca66
--- /dev/null
+++ b/math/xfractint/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/06/12 14:13:55 rillig Exp $
+
+SHA1 (xfrac310.zip) = 420de4ca20623b4fe6b6367a269e5525b6bff3af
+RMD160 (xfrac310.zip) = ede481d77f8f5b71a6cef9d7ec4b2e09d9662f5b
+Size (xfrac310.zip) = 1074760 bytes
+SHA1 (patch-aa) = c3635fc834ab66888fae6bb6daf8d61864a53641
diff --git a/math/xfractint/patches/patch-aa b/math/xfractint/patches/patch-aa
new file mode 100644
index 00000000000..1eac45f85a0
--- /dev/null
+++ b/math/xfractint/patches/patch-aa
@@ -0,0 +1,17 @@
+$NetBSD: patch-aa,v 1.1.1.1 2006/06/12 14:13:55 rillig Exp $
+
+Solaris does not define __sighandler_t.
+
+--- unixscr.c.orig 1999-04-29 06:12:03.000000000 +0200
++++ unixscr.c 2006-06-12 16:01:41.382816500 +0200
+@@ -44,6 +44,10 @@
+ # define FNDELAY O_NONBLOCK
+ #endif
+
++#if defined(__sun)
++typedef int (*__sighandler_t)(int);
++#endif
++
+ /* Check if there is a character waiting for us. */
+ #define input_pending() (ioctl(0,FIONREAD,&iocount),(int)iocount)
+