aboutsummaryrefslogtreecommitdiff
path: root/graphics/p5-GD-TextUtil
diff options
context:
space:
mode:
authorAde Lovett <ade@FreeBSD.org>2000-02-24 17:18:05 +0000
committerAde Lovett <ade@FreeBSD.org>2000-02-24 17:18:05 +0000
commitacabb051fcc521e27f40a79047277636f1bb1fbc (patch)
treeac36ede3eb220538e2b954fa4441c38f53d48256 /graphics/p5-GD-TextUtil
parentd961141ac6092a13ac54a3f36bf70af28d977a1f (diff)
downloadports-acabb051fcc521e27f40a79047277636f1bb1fbc.tar.gz
ports-acabb051fcc521e27f40a79047277636f1bb1fbc.zip
p5-GD-TextUtil provides three modules for text utilities
for use with the GD drawing package. PR: 16883 Submitted by: Dmitry Sivachenko <dima@Chg.RU>
Notes
Notes: svn path=/head/; revision=26260
Diffstat (limited to 'graphics/p5-GD-TextUtil')
-rw-r--r--graphics/p5-GD-TextUtil/Makefile27
-rw-r--r--graphics/p5-GD-TextUtil/distinfo1
-rw-r--r--graphics/p5-GD-TextUtil/pkg-comment1
-rw-r--r--graphics/p5-GD-TextUtil/pkg-descr19
-rw-r--r--graphics/p5-GD-TextUtil/pkg-plist6
5 files changed, 54 insertions, 0 deletions
diff --git a/graphics/p5-GD-TextUtil/Makefile b/graphics/p5-GD-TextUtil/Makefile
new file mode 100644
index 000000000000..f9262eb8189f
--- /dev/null
+++ b/graphics/p5-GD-TextUtil/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: p5-GD-TextUtil
+# Version required: 0.70
+# Date created: 21 February 2000
+# Whom: Dmitry Sivachenko <dima@Chg.RU>
+#
+# $FreeBSD$
+#
+
+DISTNAME= GDTextUtil-0.70
+PKGNAME= p5-GD-TextUtil-0.70
+CATEGORIES= graphics perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= GD
+
+MAINTAINER= dima@Chg.RU
+
+RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/GD.pm:${PORTSDIR}/graphics/p5-GD
+
+USE_PERL5= YES
+
+MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+MAN3= GD::Text.3 GD::Text::Wrap.3 GD::Text::Align.3
+
+do-configure:
+ @cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${PERL5} Makefile.PL
+
+.include <bsd.port.mk>
diff --git a/graphics/p5-GD-TextUtil/distinfo b/graphics/p5-GD-TextUtil/distinfo
new file mode 100644
index 000000000000..a2e2796483b6
--- /dev/null
+++ b/graphics/p5-GD-TextUtil/distinfo
@@ -0,0 +1 @@
+MD5 (GDTextUtil-0.70.tar.gz) = a19fa86a89c8fc4dd26f1992a785c2d5
diff --git a/graphics/p5-GD-TextUtil/pkg-comment b/graphics/p5-GD-TextUtil/pkg-comment
new file mode 100644
index 000000000000..a5704881a925
--- /dev/null
+++ b/graphics/p5-GD-TextUtil/pkg-comment
@@ -0,0 +1 @@
+Text utilities for use with GD drawing package
diff --git a/graphics/p5-GD-TextUtil/pkg-descr b/graphics/p5-GD-TextUtil/pkg-descr
new file mode 100644
index 000000000000..0e70829237b6
--- /dev/null
+++ b/graphics/p5-GD-TextUtil/pkg-descr
@@ -0,0 +1,19 @@
+This are Text utilities for use with the GD drawing package. This
+package provides three modules:
+
+GD::Text:
+ Provides information about a font, irrespective of whether the font
+ is a TTF or builtin font.
+
+GD::Text::Align
+ Align a string around a coordinate, left, right, center, top, bottom
+ or center.
+
+GD::Text::Wrap
+ Wrap a long string between a right and left margin, starting at a
+ certain y coordinate. Layout the text flush left, flush right,
+ center, or justified.
+
+
+--dima
+dima@Chg.RU
diff --git a/graphics/p5-GD-TextUtil/pkg-plist b/graphics/p5-GD-TextUtil/pkg-plist
new file mode 100644
index 000000000000..472be7a1d598
--- /dev/null
+++ b/graphics/p5-GD-TextUtil/pkg-plist
@@ -0,0 +1,6 @@
+lib/perl5/site_perl/%%PERL_VER%%/GD/Text.pm
+lib/perl5/site_perl/%%PERL_VER%%/GD/Text/Wrap.pm
+lib/perl5/site_perl/%%PERL_VER%%/GD/Text/Align.pm
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/GDTextUtil/.packlist
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/GD/Text
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/GD 2>/dev/null || true