aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/p5-Image-Caa
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2006-09-27 16:19:34 +0800
committerclsung <clsung@FreeBSD.org>2006-09-27 16:19:34 +0800
commitda38032b79cb4bf9873b65e8f7d97f7b54478ebe (patch)
tree8113a630b50c722d592d9d770d74ff5a07537aa3 /graphics/p5-Image-Caa
parentf0334d75522be9525665f030a069f3db10944ac6 (diff)
downloadfreebsd-ports-gnome-da38032b79cb4bf9873b65e8f7d97f7b54478ebe.tar.gz
freebsd-ports-gnome-da38032b79cb4bf9873b65e8f7d97f7b54478ebe.tar.zst
freebsd-ports-gnome-da38032b79cb4bf9873b65e8f7d97f7b54478ebe.zip
Add p5-Image-Caa 1.01, colored ASCII Art.
PR: ports/102469 Submitted by: Gea-Suan Lin <gslin at gslin.org>
Diffstat (limited to 'graphics/p5-Image-Caa')
-rw-r--r--graphics/p5-Image-Caa/Makefile35
-rw-r--r--graphics/p5-Image-Caa/distinfo3
-rw-r--r--graphics/p5-Image-Caa/pkg-descr6
-rw-r--r--graphics/p5-Image-Caa/pkg-plist23
4 files changed, 67 insertions, 0 deletions
diff --git a/graphics/p5-Image-Caa/Makefile b/graphics/p5-Image-Caa/Makefile
new file mode 100644
index 000000000000..3eb1c868941b
--- /dev/null
+++ b/graphics/p5-Image-Caa/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: p5-Image-Caa
+# Date created: 2006-08-24
+# Whom: Gea-Suan Lin <gslin@gslin.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Image-Caa
+PORTVERSION= 1.01
+CATEGORIES= graphics perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Image
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= clsung@FreeBSD.org
+COMMENT= Colored ASCII Art
+
+RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Curses.pm:${PORTSDIR}/devel/p5-Curses
+BUILD_DEPENDS= ${RUN_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= Image::Caa.3
+
+post-install:
+ ${MKDIR} ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/demos/* ${EXAMPLESDIR}
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500601
+IGNORE= requires perl 5.6.x or later. Install lang/perl5.8 then try again
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/graphics/p5-Image-Caa/distinfo b/graphics/p5-Image-Caa/distinfo
new file mode 100644
index 000000000000..23c506f2ece8
--- /dev/null
+++ b/graphics/p5-Image-Caa/distinfo
@@ -0,0 +1,3 @@
+MD5 (Image-Caa-1.01.tar.gz) = 8324ccb7040b66c8e606cd424459e62c
+SHA256 (Image-Caa-1.01.tar.gz) = 4a953d2500ceb3f7def0770837765ad113642ba80aa470fcd09d472dc29069d9
+SIZE (Image-Caa-1.01.tar.gz) = 202443
diff --git a/graphics/p5-Image-Caa/pkg-descr b/graphics/p5-Image-Caa/pkg-descr
new file mode 100644
index 000000000000..4eb80d6878a9
--- /dev/null
+++ b/graphics/p5-Image-Caa/pkg-descr
@@ -0,0 +1,6 @@
+This module outputs Image::Magick image objects as ASCII Art, using a
+variety of output dithering modes and output drivers (currently
+supported is a plain old ANSI termical output driver and a curses
+driver).
+
+WWW: http://search.cpan.org/dist/Image-Caa/
diff --git a/graphics/p5-Image-Caa/pkg-plist b/graphics/p5-Image-Caa/pkg-plist
new file mode 100644
index 000000000000..a948451e7226
--- /dev/null
+++ b/graphics/p5-Image-Caa/pkg-plist
@@ -0,0 +1,23 @@
+@comment $FreeBSD$
+%%EXAMPLESDIR%%/curses.pl
+%%EXAMPLESDIR%%/kitten.jpg
+%%EXAMPLESDIR%%/kitten.pl
+%%EXAMPLESDIR%%/portrait.jpg
+%%EXAMPLESDIR%%/portrait.pl
+%%EXAMPLESDIR%%/sunset.jpg
+%%EXAMPLESDIR%%/sunset.pl
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Image/Caa/.packlist
+%%SITE_PERL%%/Image/Caa.pm
+%%SITE_PERL%%/Image/Caa/DitherNone.pm
+%%SITE_PERL%%/Image/Caa/DitherOrdered2.pm
+%%SITE_PERL%%/Image/Caa/DitherOrdered4.pm
+%%SITE_PERL%%/Image/Caa/DitherOrdered8.pm
+%%SITE_PERL%%/Image/Caa/DitherRandom.pm
+%%SITE_PERL%%/Image/Caa/DriverANSI.pm
+%%SITE_PERL%%/Image/Caa/DriverCurses.pm
+%%SITE_PERL%%/Image/Caa/DriverTest.pm
+@dirrmtry %%SITE_PERL%%/Image/Caa
+@dirrmtry %%SITE_PERL%%/Image
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Image/Caa
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Image
+@dirrmtry %%EXAMPLESDIR%%