summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2006-09-27 08:19:34 +0000
committerclsung <clsung@FreeBSD.org>2006-09-27 08:19:34 +0000
commitda38032b79cb4bf9873b65e8f7d97f7b54478ebe (patch)
tree8113a630b50c722d592d9d770d74ff5a07537aa3
parentf0334d75522be9525665f030a069f3db10944ac6 (diff)
downloadFreeBSD-ports-da38032b79cb4bf9873b65e8f7d97f7b54478ebe.zip
FreeBSD-ports-da38032b79cb4bf9873b65e8f7d97f7b54478ebe.tar.gz
Add p5-Image-Caa 1.01, colored ASCII Art.
PR: ports/102469 Submitted by: Gea-Suan Lin <gslin at gslin.org>
-rw-r--r--graphics/Makefile1
-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
5 files changed, 68 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index 4d7e769..fa73bc5 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -448,6 +448,7 @@
SUBDIR += p5-GraphViz-Data-Structure
SUBDIR += p5-GraphViz-Traverse
SUBDIR += p5-Graphics-ColorNames
+ SUBDIR += p5-Image-Caa
SUBDIR += p5-Image-Compare
SUBDIR += p5-Image-ExifTool
SUBDIR += p5-Image-Grab
diff --git a/graphics/p5-Image-Caa/Makefile b/graphics/p5-Image-Caa/Makefile
new file mode 100644
index 0000000..3eb1c86
--- /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 0000000..23c506f
--- /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 0000000..4eb80d6
--- /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 0000000..a948451
--- /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%%
OpenPOWER on IntegriCloud