aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-12-12 18:28:20 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-12-12 18:28:20 +0000
commitd834ffca413f6c8b4f0e4251bcb177cfa71d8f44 (patch)
tree779cf3eff84021efd55da87573c88f41155f0fb4 /graphics
parent244262f66a506cd99ceef63e744c818ed023b0a0 (diff)
downloadports-d834ffca413f6c8b4f0e4251bcb177cfa71d8f44.tar.gz
ports-d834ffca413f6c8b4f0e4251bcb177cfa71d8f44.zip
Notes
Diffstat (limited to 'graphics')
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/libpuzzle/Makefile37
-rw-r--r--graphics/libpuzzle/distinfo3
-rw-r--r--graphics/libpuzzle/pkg-descr7
-rw-r--r--graphics/libpuzzle/pkg-plist6
5 files changed, 54 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index ad1b15f43868..1621c20bfcb6 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -377,6 +377,7 @@
SUBDIR += libpano12
SUBDIR += libpano13
SUBDIR += libpcd
+ SUBDIR += libpuzzle
SUBDIR += libqglviewer
SUBDIR += libqrencode
SUBDIR += librsvg
diff --git a/graphics/libpuzzle/Makefile b/graphics/libpuzzle/Makefile
new file mode 100644
index 000000000000..56cf6ccc720a
--- /dev/null
+++ b/graphics/libpuzzle/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: libpuzzle
+# Date created: 2007-12-05
+# Whom: Bapt <baptiste.daroussin@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= libpuzzle
+PORTVERSION= 0.9
+CATEGORIES= graphics
+MASTER_SITES= ftp://ftp.pureftpd.org/pub/pure-ftpd/misc/libpuzzle/releases/
+
+MAINTAINER= baptiste.daroussin@gmail.com
+COMMENT= A library to find similar pictures
+
+LIB_DEPENDS= gd.4:${PORTSDIR}/graphics/gd
+
+USE_BZIP2= yes
+GNU_CONFIGURE= yes
+USE_LDCONFIG= yes
+
+PORTDOCS= AUTHORS COPYING NEWS README THANKS
+
+MAN3= libpuzzle.3 puzzle_set.3
+MAN8= puzzle-diff.8
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/AUTHORS ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/COPYING ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/NEWS ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/THANKS ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/graphics/libpuzzle/distinfo b/graphics/libpuzzle/distinfo
new file mode 100644
index 000000000000..d8d298b7ce45
--- /dev/null
+++ b/graphics/libpuzzle/distinfo
@@ -0,0 +1,3 @@
+MD5 (libpuzzle-0.9.tar.bz2) = dd9f2fbc528dff94d3551ee58d1c249b
+SHA256 (libpuzzle-0.9.tar.bz2) = 2adc467631fa7510e1c2b1137b3e2ee4e3dd57e7adab0c295248766b77d20ff3
+SIZE (libpuzzle-0.9.tar.bz2) = 454251
diff --git a/graphics/libpuzzle/pkg-descr b/graphics/libpuzzle/pkg-descr
new file mode 100644
index 000000000000..859347867f35
--- /dev/null
+++ b/graphics/libpuzzle/pkg-descr
@@ -0,0 +1,7 @@
+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.
+
+WWW: http://libpuzzle.pureftpd.org/project/libpuzzle
diff --git a/graphics/libpuzzle/pkg-plist b/graphics/libpuzzle/pkg-plist
new file mode 100644
index 000000000000..f1aa20cbd47d
--- /dev/null
+++ b/graphics/libpuzzle/pkg-plist
@@ -0,0 +1,6 @@
+bin/puzzle-diff
+include/puzzle.h
+lib/libpuzzle.a
+lib/libpuzzle.la
+lib/libpuzzle.so
+lib/libpuzzle.so.1