summaryrefslogtreecommitdiff
path: root/x11-fonts
diff options
context:
space:
mode:
authorAaron Dalton <aaron@FreeBSD.org>2007-03-18 20:26:35 +0000
committerAaron Dalton <aaron@FreeBSD.org>2007-03-18 20:26:35 +0000
commit1d404301beeba01092598f3c06f4f59ffdc3af33 (patch)
tree215935d01ba69691a40568c95b95cac3a6adf479 /x11-fonts
parentChase libgpod version bump. (diff)
Adding port x11-fonts/p5-Font-TTFMetrics, a Perl module for parsing TTF files.
Notes
Notes: svn path=/head/; revision=187676
Diffstat (limited to 'x11-fonts')
-rw-r--r--x11-fonts/Makefile1
-rw-r--r--x11-fonts/p5-Font-TTFMetrics/Makefile28
-rw-r--r--x11-fonts/p5-Font-TTFMetrics/distinfo3
-rw-r--r--x11-fonts/p5-Font-TTFMetrics/pkg-descr13
-rw-r--r--x11-fonts/p5-Font-TTFMetrics/pkg-plist5
5 files changed, 50 insertions, 0 deletions
diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile
index 7ddc8f83045b..01b23b18637b 100644
--- a/x11-fonts/Makefile
+++ b/x11-fonts/Makefile
@@ -54,6 +54,7 @@
SUBDIR += nucleus
SUBDIR += p5-Font-AFM
SUBDIR += p5-Font-TTF
+ SUBDIR += p5-Font-TTFMetrics
SUBDIR += p5-type1inst
SUBDIR += pcf2bdf
SUBDIR += ppantsfonts
diff --git a/x11-fonts/p5-Font-TTFMetrics/Makefile b/x11-fonts/p5-Font-TTFMetrics/Makefile
new file mode 100644
index 000000000000..d2c94937301c
--- /dev/null
+++ b/x11-fonts/p5-Font-TTFMetrics/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: p5-Font-TTFMetrics
+# Date created: 18 Mar 2007
+# Whom: Aaron Dalton <aaron@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Font-TTFMetrics
+PORTVERSION= 0.1
+CATEGORIES= x11-fonts perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Font
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= aaron@FreeBSD.org
+COMMENT= A parser for the TTF file
+
+MAN3= Font::TTFMetrics.3
+
+PERL_CONFIGURE= yes
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+IGNORE= requires at least Perl 5.6. Please install lang/perl5.8 and try again
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/x11-fonts/p5-Font-TTFMetrics/distinfo b/x11-fonts/p5-Font-TTFMetrics/distinfo
new file mode 100644
index 000000000000..f605a7376f37
--- /dev/null
+++ b/x11-fonts/p5-Font-TTFMetrics/distinfo
@@ -0,0 +1,3 @@
+MD5 (Font-TTFMetrics-0.1.tar.gz) = 87295ec80f49a2f088925d35fae77cc8
+SHA256 (Font-TTFMetrics-0.1.tar.gz) = 2cd27f322f5a9e7ca79325eb196b032c985a85807143df7eb02367f0c6672ec8
+SIZE (Font-TTFMetrics-0.1.tar.gz) = 14372
diff --git a/x11-fonts/p5-Font-TTFMetrics/pkg-descr b/x11-fonts/p5-Font-TTFMetrics/pkg-descr
new file mode 100644
index 000000000000..69ce6289e40a
--- /dev/null
+++ b/x11-fonts/p5-Font-TTFMetrics/pkg-descr
@@ -0,0 +1,13 @@
+Font::TTFMetrics encapsulates the font metrics of a true type font file. A
+true type font file contains several tables which need to be parsed before
+any useful information could be gathered about the font. There is the
+excellent module for parsing TTF font in CPAN by Martin Hosken, Font::TTF.
+But in my opinion the use of Font::TTF requires intimate knowledge of TTF
+font format. This module was written to support the use of TTF in Pastel
+2D graphics library in Perl. Three factors prompted me to write this
+module: first, I required a fast module to access TTF file. Second, all
+the access required was read-only. Last, I wanted a user friendly, higher
+level API to access TTF file.
+
+WWW: http://search.cpan.org/dist/Font-TTFMetrics
+Author: Malay <curiouser@ccmb.res.in>
diff --git a/x11-fonts/p5-Font-TTFMetrics/pkg-plist b/x11-fonts/p5-Font-TTFMetrics/pkg-plist
new file mode 100644
index 000000000000..9ec37838b5b0
--- /dev/null
+++ b/x11-fonts/p5-Font-TTFMetrics/pkg-plist
@@ -0,0 +1,5 @@
+%%SITE_PERL%%/Font/TTFMetrics.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Font/TTFMetrics/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Font/TTFMetrics
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Font
+@dirrmtry %%SITE_PERL%%/Font