aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/visprint/Makefile35
-rw-r--r--graphics/visprint/distinfo3
-rw-r--r--graphics/visprint/files/patch-visprint.c10
-rw-r--r--graphics/visprint/pkg-descr9
5 files changed, 58 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index 993c5cd5878e..048e91677b25 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -664,6 +664,7 @@
SUBDIR += vigra
SUBDIR += vips
SUBDIR += visionegg
+ SUBDIR += visprint
SUBDIR += vp
SUBDIR += vvv
SUBDIR += whirlgif
diff --git a/graphics/visprint/Makefile b/graphics/visprint/Makefile
new file mode 100644
index 000000000000..53080ef57320
--- /dev/null
+++ b/graphics/visprint/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: visprint
+# Date created: 11 November 2006
+# Whom: stas
+#
+# $FreeBSD$
+#
+
+PORTNAME= visprint
+PORTVERSION= 2.0
+CATEGORIES= graphics
+MASTER_SITES= http://www.tastyrabbit.net/visprint/download/
+
+MAINTAINER= stas@FreeBSD.org
+COMMENT= Creates fractal fingerprint images based on any data
+
+LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
+
+CFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib -lpng
+
+MANCOMPRESSED= yes
+
+PLIST_FILES= bin/visprint
+
+MAN1= visprint.1
+
+do-build:
+ (cd ${WRKSRC} && ${CC} ${CFLAGS} -c visprint.c)
+ (cd ${WRKSRC} && ${CC} ${LDFLAGS} visprint.o -o visprint)
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/visprint ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/visprint.1.gz ${PREFIX}/man/man1
+
+.include <bsd.port.mk>
diff --git a/graphics/visprint/distinfo b/graphics/visprint/distinfo
new file mode 100644
index 000000000000..e715d4bc696a
--- /dev/null
+++ b/graphics/visprint/distinfo
@@ -0,0 +1,3 @@
+MD5 (visprint-2.0.tar.gz) = f40a2e90779b105b43a72c2aada161d1
+SHA256 (visprint-2.0.tar.gz) = f153e2feacd2eaa71014fa0a62bd93088c936b2dea7f0c480d308be9906a5526
+SIZE (visprint-2.0.tar.gz) = 14411
diff --git a/graphics/visprint/files/patch-visprint.c b/graphics/visprint/files/patch-visprint.c
new file mode 100644
index 000000000000..0f9ad8382f2f
--- /dev/null
+++ b/graphics/visprint/files/patch-visprint.c
@@ -0,0 +1,10 @@
+--- visprint.c.orig Sat Nov 11 18:58:22 2006
++++ visprint.c Sat Nov 11 18:58:25 2006
+@@ -33,7 +33,6 @@
+ #include <string.h>
+ #include <fcntl.h>
+ #include <png.h>
+-#include <sys/io.h>
+
+ #define MAX_RES 1000
+ #define DEFAULT_RES 300
diff --git a/graphics/visprint/pkg-descr b/graphics/visprint/pkg-descr
new file mode 100644
index 000000000000..4e096440a221
--- /dev/null
+++ b/graphics/visprint/pkg-descr
@@ -0,0 +1,9 @@
+Visprint makes fractal fingerprint png images based on the contents of any
+file. The image will be different for almost every file with even slightly
+different contents. Visprint uses the IFS fractal generation process,
+pioneered by Michael Barnsley. It is a way to create images which are
+self-similar to infinite depths. In other words, the picture is made up of
+smaller versions of itself.
+
+Author: Goiz "Samhain" <hackerbunny@tastyrabbit.net>
+WWW: http://www.tastyrabbit.net/visprint/