aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts/p5-Font-TTFMetrics
diff options
context:
space:
mode:
authoraaron <aaron@FreeBSD.org>2007-03-19 04:26:35 +0800
committeraaron <aaron@FreeBSD.org>2007-03-19 04:26:35 +0800
commit91a19f71c6e4235d17ce0d913410164ea65dc3b0 (patch)
tree3ab816079404a3ebf89f50e981b28a1a7a9eaa1f /x11-fonts/p5-Font-TTFMetrics
parent174c236bf552301a3407b91a3ad5a763d0ce2930 (diff)
downloadfreebsd-ports-gnome-91a19f71c6e4235d17ce0d913410164ea65dc3b0.tar.gz
freebsd-ports-gnome-91a19f71c6e4235d17ce0d913410164ea65dc3b0.tar.zst
freebsd-ports-gnome-91a19f71c6e4235d17ce0d913410164ea65dc3b0.zip
Adding port x11-fonts/p5-Font-TTFMetrics, a Perl module for parsing TTF files.
Diffstat (limited to 'x11-fonts/p5-Font-TTFMetrics')
-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
4 files changed, 49 insertions, 0 deletions
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