summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorimil <imil@pkgsrc.org>2009-03-04 19:22:20 +0000
committerimil <imil@pkgsrc.org>2009-03-04 19:22:20 +0000
commit23a0e536360652578fab46d2481da06555b93856 (patch)
tree5ff7467df113f6828eaede01e46b8212d7574dad /graphics
parent340907b734630695bf7e6b2deaaec1696f5c0130 (diff)
downloadpkgsrc-23a0e536360652578fab46d2481da06555b93856.tar.gz
The Puzzle library is designed to quickly find visually similar images
(GIF, PNG, JPG), even if they have been resized, recompressed, recolored or slightly modified. The library is free, lightweight yet very fast, configurable, easy to use and it has been designed with security in mind. OK'd by cube@
Diffstat (limited to 'graphics')
-rw-r--r--graphics/libpuzzle/DESCR5
-rw-r--r--graphics/libpuzzle/Makefile31
-rw-r--r--graphics/libpuzzle/PLIST13
-rw-r--r--graphics/libpuzzle/distinfo5
4 files changed, 54 insertions, 0 deletions
diff --git a/graphics/libpuzzle/DESCR b/graphics/libpuzzle/DESCR
new file mode 100644
index 00000000000..f47bd386b21
--- /dev/null
+++ b/graphics/libpuzzle/DESCR
@@ -0,0 +1,5 @@
+The Puzzle library is designed to quickly find visually similar images
+(GIF, PNG, JPG), even if they have been resized, recompressed, recolored or
+slightly modified.
+The library is free, lightweight yet very fast, configurable, easy to use and
+it has been designed with security in mind.
diff --git a/graphics/libpuzzle/Makefile b/graphics/libpuzzle/Makefile
new file mode 100644
index 00000000000..9332d92fb35
--- /dev/null
+++ b/graphics/libpuzzle/Makefile
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/03/04 19:22:20 imil Exp $
+#
+
+DISTNAME= libpuzzle-0.9
+CATEGORIES= graphics
+MASTER_SITES= ftp://ftp.pureftpd.org/pub/pure-ftpd/misc/libpuzzle/releases/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= imil@gcu.info
+HOMEPAGE= http://libpuzzle.pureftpd.org/project/libpuzzle
+COMMENT= Libpuzzle is designed to quickly find visually similar images
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_LANGUAGES= c c++
+
+EGDIR= ${PREFIX}/share/doc/libpuzzle
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+INSTALLATION_DIRS= ${EGDIR} ${PKGMANDIR}/man3 ${PKGMANDIR}/man8
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/AUTHORS ${DESTDIR}${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/COPYING ${DESTDIR}${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/NEWS ${DESTDIR}${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/THANKS ${DESTDIR}${EGDIR}
+
+.include "../../graphics/gd/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/libpuzzle/PLIST b/graphics/libpuzzle/PLIST
new file mode 100644
index 00000000000..c6fbd46a4f1
--- /dev/null
+++ b/graphics/libpuzzle/PLIST
@@ -0,0 +1,13 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/03/04 19:22:20 imil Exp $
+bin/puzzle-diff
+include/puzzle.h
+lib/libpuzzle.la
+man/man3/libpuzzle.3
+man/man3/puzzle_set.3
+man/man8/puzzle-diff.8
+share/doc/libpuzzle/AUTHORS
+share/doc/libpuzzle/COPYING
+share/doc/libpuzzle/NEWS
+share/doc/libpuzzle/README
+share/doc/libpuzzle/THANKS
+@dirrm share/doc/libpuzzle
diff --git a/graphics/libpuzzle/distinfo b/graphics/libpuzzle/distinfo
new file mode 100644
index 00000000000..54ab8c3730c
--- /dev/null
+++ b/graphics/libpuzzle/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/03/04 19:22:20 imil Exp $
+
+SHA1 (libpuzzle-0.9.tar.bz2) = 64f2c24fc1954ccd0d6428ce7c7df3ec213cce56
+RMD160 (libpuzzle-0.9.tar.bz2) = f78f6bc3f3a9a32324aba11d330d9d69d05ec4fd
+Size (libpuzzle-0.9.tar.bz2) = 454251 bytes