aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorwen <wen@FreeBSD.org>2009-10-25 10:24:37 +0800
committerwen <wen@FreeBSD.org>2009-10-25 10:24:37 +0800
commit65a809768371900934929303d5490a4b0df70b6d (patch)
tree61de85b26ee9aa09fa4d0a9338f08cb6676282da /graphics
parentc16f46d20fd0e3b9ac14897cc371af7bcab0350d (diff)
downloadfreebsd-ports-gnome-65a809768371900934929303d5490a4b0df70b6d.tar.gz
freebsd-ports-gnome-65a809768371900934929303d5490a4b0df70b6d.tar.zst
freebsd-ports-gnome-65a809768371900934929303d5490a4b0df70b6d.zip
This uses the the Imager to find the average gray value
for a image. WWW: http://search.cpan.org/dist/Imager-AverageGray/ PR: ports/139893 Submitted by: "Zane C.B." <vvelox@vvelox.net> Approved by: mentors(implicit)
Diffstat (limited to 'graphics')
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/p5-Imager-AverageGray/Makefile23
-rw-r--r--graphics/p5-Imager-AverageGray/distinfo3
-rw-r--r--graphics/p5-Imager-AverageGray/pkg-descr4
-rw-r--r--graphics/p5-Imager-AverageGray/pkg-plist5
5 files changed, 36 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index 6d5b08331c3f..05c7d8cef677 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -620,6 +620,7 @@
SUBDIR += p5-Image-Size
SUBDIR += p5-Image-Size-FillFullSelect
SUBDIR += p5-Imager
+ SUBDIR += p5-Imager-AverageGray
SUBDIR += p5-Imager-Graph
SUBDIR += p5-Imager-Plot
SUBDIR += p5-Imager-QRCode
diff --git a/graphics/p5-Imager-AverageGray/Makefile b/graphics/p5-Imager-AverageGray/Makefile
new file mode 100644
index 000000000000..8f6c09825c1c
--- /dev/null
+++ b/graphics/p5-Imager-AverageGray/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: graphics/p5-Imager/AverageGray
+# Date created: 2009-10-24
+# Whom: vvelox@vvelox.net
+#
+# $FreeBSD$
+#
+
+PORTNAME= Imager-AverageGray
+PORTVERSION= 0.0.0
+CATEGORIES= graphics perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= vvelox@vvelox.net
+COMMENT= Finds the average gray for a Imager object or image
+
+RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Imager.pm:${PORTSDIR}/graphics/p5-Imager/
+
+PERL_CONFIGURE= yes
+
+MAN3= Imager::AverageGray.3
+
+.include <bsd.port.mk>
diff --git a/graphics/p5-Imager-AverageGray/distinfo b/graphics/p5-Imager-AverageGray/distinfo
new file mode 100644
index 000000000000..155c47cab14d
--- /dev/null
+++ b/graphics/p5-Imager-AverageGray/distinfo
@@ -0,0 +1,3 @@
+MD5 (Imager-AverageGray-0.0.0.tar.gz) = 69c6de7a2742875c774654efd4428e4b
+SHA256 (Imager-AverageGray-0.0.0.tar.gz) = 42b97dee722b53fe97341f8714aef15c4ca04dadbb5c137afdec14d2409866a1
+SIZE (Imager-AverageGray-0.0.0.tar.gz) = 3475
diff --git a/graphics/p5-Imager-AverageGray/pkg-descr b/graphics/p5-Imager-AverageGray/pkg-descr
new file mode 100644
index 000000000000..2fd48446a002
--- /dev/null
+++ b/graphics/p5-Imager-AverageGray/pkg-descr
@@ -0,0 +1,4 @@
+This uses the the Imager to find the average gray value
+for a image.
+
+WWW: http://search.cpan.org/dist/Imager-AverageGray/
diff --git a/graphics/p5-Imager-AverageGray/pkg-plist b/graphics/p5-Imager-AverageGray/pkg-plist
new file mode 100644
index 000000000000..616304ab680f
--- /dev/null
+++ b/graphics/p5-Imager-AverageGray/pkg-plist
@@ -0,0 +1,5 @@
+%%SITE_PERL%%/Imager/AverageGray.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Imager/AverageGray/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Imager/AverageGray
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Imager
+@dirrmtry %%SITE_PERL%%/Imager