aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2006-09-27 08:19:34 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2006-09-27 08:19:34 +0000
commit07350a07474fcb73d0d534d0a2cc0a7a8bc8c07b (patch)
treee4efb591fa40f444b8a48c654646a6ab462b16f2 /graphics
parentd106e93a8787158092b94c56a749ba7118839743 (diff)
downloadports-07350a07474fcb73d0d534d0a2cc0a7a8bc8c07b.tar.gz
ports-07350a07474fcb73d0d534d0a2cc0a7a8bc8c07b.zip
Add p5-Image-Caa 1.01, colored ASCII Art.
PR: ports/102469 Submitted by: Gea-Suan Lin <gslin at gslin.org>
Notes
Notes: svn path=/head/; revision=173953
Diffstat (limited to 'graphics')
-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 4d7e769081f4..fa73bc52e2fe 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 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%%