summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2006-07-23 14:41:36 +0000
committerclsung <clsung@FreeBSD.org>2006-07-23 14:41:36 +0000
commitac5a09aaf9f7ecb2985821a73aaf5075d422fd76 (patch)
tree2329987decaf3af5261acca5e02635970f239efa
parentca4986561f7771fc0ea3896384ca8b501ca7e3fa (diff)
downloadFreeBSD-ports-ac5a09aaf9f7ecb2985821a73aaf5075d422fd76.zip
FreeBSD-ports-ac5a09aaf9f7ecb2985821a73aaf5075d422fd76.tar.gz
Add p5-Image-Compare 0.2, compare two images in a variety of ways.
PR: ports/100739 Submitted by: Gea-Suan Lin <gslin at gslin.org>
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/p5-Image-Compare/Makefile31
-rw-r--r--graphics/p5-Image-Compare/distinfo3
-rw-r--r--graphics/p5-Image-Compare/pkg-descr6
-rw-r--r--graphics/p5-Image-Compare/pkg-plist6
5 files changed, 47 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index 6b86d04..8e98459 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -437,6 +437,7 @@
SUBDIR += p5-GraphViz-Data-Structure
SUBDIR += p5-GraphViz-Traverse
SUBDIR += p5-Graphics-ColorNames
+ SUBDIR += p5-Image-Compare
SUBDIR += p5-Image-ExifTool
SUBDIR += p5-Image-Grab
SUBDIR += p5-Image-Imlib2
diff --git a/graphics/p5-Image-Compare/Makefile b/graphics/p5-Image-Compare/Makefile
new file mode 100644
index 0000000..6edcf56
--- /dev/null
+++ b/graphics/p5-Image-Compare/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: p5-Image-Compare
+# Date created: 2006-07-23
+# Whom: Gea-Suan Lin <gslin@gslin.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Image-Compare
+PORTVERSION= 0.2
+CATEGORIES= graphics perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Image
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= gslin@gslin.org
+COMMENT= Compare two images in a variety of ways
+
+RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Imager.pm:${PORTSDIR}/graphics/p5-Imager \
+ ${SITE_PERL}/Regexp/Common.pm:${PORTSDIR}/textproc/p5-Regexp-Common
+
+PERL_CONFIGURE= yes
+
+MAN3= Image::Compare.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600 # Inherited from graphics/p5-Imager
+IGNORE= requires perl 5.6.0 or later. Install lang/perl5.8 and try again
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/graphics/p5-Image-Compare/distinfo b/graphics/p5-Image-Compare/distinfo
new file mode 100644
index 0000000..daf91fd
--- /dev/null
+++ b/graphics/p5-Image-Compare/distinfo
@@ -0,0 +1,3 @@
+MD5 (Image-Compare-0.2.tar.gz) = 7c2dda9a12cd63ab8127896627beddd6
+SHA256 (Image-Compare-0.2.tar.gz) = d9b878c266517a956cb6b2b5e8542498b145ec8ebe42292cae70b4b1b7d77768
+SIZE (Image-Compare-0.2.tar.gz) = 15774
diff --git a/graphics/p5-Image-Compare/pkg-descr b/graphics/p5-Image-Compare/pkg-descr
new file mode 100644
index 0000000..2b11f8f
--- /dev/null
+++ b/graphics/p5-Image-Compare/pkg-descr
@@ -0,0 +1,6 @@
+This library implements a system by which 2 image files can be
+compared, using a variety of comparison methods. In general, those
+methods operate on the images on a pixel-by-pixel basis and reporting
+statistics or data based on color value comparisons.
+
+WWW: http://search.cpan.org/dist/Image-Compare/
diff --git a/graphics/p5-Image-Compare/pkg-plist b/graphics/p5-Image-Compare/pkg-plist
new file mode 100644
index 0000000..09cc5a7
--- /dev/null
+++ b/graphics/p5-Image-Compare/pkg-plist
@@ -0,0 +1,6 @@
+@comment $FreeBSD$
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Image/Compare/.packlist
+%%SITE_PERL%%/Image/Compare.pm
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Image/Compare
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Image
+@dirrmtry %%SITE_PERL%%/Image
OpenPOWER on IntegriCloud