pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/pdiff Initial version of pdiff-0.9b
details: https://anonhg.NetBSD.org/pkgsrc/rev/5025bebb3f50
branches: trunk
changeset: 514318:5025bebb3f50
user: heinz <heinz%pkgsrc.org@localhost>
date: Sat Jun 10 19:53:54 2006 +0000
description:
Initial version of pdiff-0.9b
Pdiff is an image comparison utility that makes use of a computational
model of the human visual system to compare two images.
diffstat:
graphics/pdiff/DESCR | 2 ++
graphics/pdiff/Makefile | 43 +++++++++++++++++++++++++++++++++++++++++++
graphics/pdiff/PLIST | 2 ++
graphics/pdiff/distinfo | 5 +++++
4 files changed, 52 insertions(+), 0 deletions(-)
diffs (68 lines):
diff -r 2c5c47e5d05b -r 5025bebb3f50 graphics/pdiff/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/pdiff/DESCR Sat Jun 10 19:53:54 2006 +0000
@@ -0,0 +1,2 @@
+Pdiff is an image comparison utility that makes use of a computational
+model of the human visual system to compare two images.
diff -r 2c5c47e5d05b -r 5025bebb3f50 graphics/pdiff/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/pdiff/Makefile Sat Jun 10 19:53:54 2006 +0000
@@ -0,0 +1,43 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/06/10 19:53:54 heinz Exp $
+#
+
+DISTNAME= pdiff0.9b-src
+PKGNAME= pdiff-0.9b
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pdiff/}
+EXTRACT_SUFX= .zip
+
+MAINTAINER= heinz%NetBSD.org@localhost
+HOMEPAGE= http://pdiff.sourceforge.net/
+COMMENT= Image comparison through perceptually based image metric
+
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+
+EXTRACT_OPTS+= -d pdiff
+
+WRKSRC= ${WRKDIR}/pdiff
+USE_LANGUAGES+= c++
+
+BUILD_DEPENDS+= cmake>=2:../../devel/cmake
+
+OPSYSVARS+= LIBTIFFNAME
+LIBTIFFNAME.*= libtiff.so
+LIBTIFFNAME.Darwin= libtiff.dylib
+
+CMAKEFLAGS.pdiff+= -DCMAKE_INSTALL_PREFIX:PATH=${PREFIX}
+CMAKEFLAGS.pdiff+= -DTIFF_INCLUDE_DIR:PATH=${BUILDLINK_PREFIX.tiff}/include
+CMAKEFLAGS.pdiff+= -DTIFF_LIBRARY:PATH=${BUILDLINK_PREFIX.tiff}/lib/${LIBTIFFNAME}
+
+post-extract:
+ ${MV} ${WRKSRC}/compareargs.cpp ${WRKSRC}/CompareArgs.cpp
+ ${MV} ${WRKSRC}/metric.cpp ${WRKSRC}/Metric.cpp
+
+do-configure:
+ cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
+ ${LOCALBASE}/bin/cmake ${CMAKEFLAGS.pdiff} .
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/perceptualdiff ${PREFIX}/bin/.
+
+.include "../../graphics/tiff/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 2c5c47e5d05b -r 5025bebb3f50 graphics/pdiff/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/pdiff/PLIST Sat Jun 10 19:53:54 2006 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/06/10 19:53:54 heinz Exp $
+bin/perceptualdiff
diff -r 2c5c47e5d05b -r 5025bebb3f50 graphics/pdiff/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/pdiff/distinfo Sat Jun 10 19:53:54 2006 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/06/10 19:53:54 heinz Exp $
+
+SHA1 (pdiff0.9b-src.zip) = 4769fbca93450586c4d19f131c40c23efe4da50e
+RMD160 (pdiff0.9b-src.zip) = e5cca72b83bbf82f51723ca9729b74e18ee0452f
+Size (pdiff0.9b-src.zip) = 19802 bytes
Home |
Main Index |
Thread Index |
Old Index