summaryrefslogtreecommitdiffstats
path: root/x11-fonts
diff options
context:
space:
mode:
authoraaron <aaron@FreeBSD.org>2007-03-18 20:26:35 +0000
committeraaron <aaron@FreeBSD.org>2007-03-18 20:26:35 +0000
commit91a19f71c6e4235d17ce0d913410164ea65dc3b0 (patch)
tree3ab816079404a3ebf89f50e981b28a1a7a9eaa1f /x11-fonts
parent174c236bf552301a3407b91a3ad5a763d0ce2930 (diff)
downloadFreeBSD-ports-91a19f71c6e4235d17ce0d913410164ea65dc3b0.zip
FreeBSD-ports-91a19f71c6e4235d17ce0d913410164ea65dc3b0.tar.gz
Adding port x11-fonts/p5-Font-TTFMetrics, a Perl module for parsing TTF files.
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 7ddc8f8..01b23b1 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 0000000..d2c94937
--- /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 0000000..f605a73
--- /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 0000000..69ce628
--- /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 0000000..9ec3783
--- /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
OpenPOWER on IntegriCloud