aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-HTML-Fraction
diff options
context:
space:
mode:
authorAnton Berezin <tobez@FreeBSD.org>2005-10-24 08:27:03 +0000
committerAnton Berezin <tobez@FreeBSD.org>2005-10-24 08:27:03 +0000
commit60197a30f645f78b2ca3b15c2429bb9d1a95c4bf (patch)
treef1db2b6331faf4bf8dcac37e1aed610e446e9d13 /textproc/p5-HTML-Fraction
parent1e640624a4c9a1531374ee4ab260b96ed296bf1d (diff)
Notes
Diffstat (limited to 'textproc/p5-HTML-Fraction')
-rw-r--r--textproc/p5-HTML-Fraction/Makefile28
-rw-r--r--textproc/p5-HTML-Fraction/distinfo2
-rw-r--r--textproc/p5-HTML-Fraction/pkg-descr7
-rw-r--r--textproc/p5-HTML-Fraction/pkg-plist5
4 files changed, 42 insertions, 0 deletions
diff --git a/textproc/p5-HTML-Fraction/Makefile b/textproc/p5-HTML-Fraction/Makefile
new file mode 100644
index 000000000000..c89b81a3f16a
--- /dev/null
+++ b/textproc/p5-HTML-Fraction/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: textproc/p5-HTML-Fraction
+# Date created: 24 October 2005
+# Whom: Anton Berezin <tobez@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= HTML-Fraction
+PORTVERSION= 0.40
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= HTML
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= tobez@FreeBSD.org
+COMMENT= HTML::Fraction - Encode fractions as HTML entities
+
+PERL_CONFIGURE= yes
+
+MAN3= HTML::Fraction.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+IGNORE= requires perl 5.6.0 or later. Install lang/perl5.8 and try again
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/p5-HTML-Fraction/distinfo b/textproc/p5-HTML-Fraction/distinfo
new file mode 100644
index 000000000000..bc4cdbc723c3
--- /dev/null
+++ b/textproc/p5-HTML-Fraction/distinfo
@@ -0,0 +1,2 @@
+MD5 (HTML-Fraction-0.40.tar.gz) = 9d1dd0fa7760bcbc0a4c4a423dbe59e7
+SIZE (HTML-Fraction-0.40.tar.gz) = 3380
diff --git a/textproc/p5-HTML-Fraction/pkg-descr b/textproc/p5-HTML-Fraction/pkg-descr
new file mode 100644
index 000000000000..c85ea5078daf
--- /dev/null
+++ b/textproc/p5-HTML-Fraction/pkg-descr
@@ -0,0 +1,7 @@
+The HTML::Fraction encodes fractions as HTML entities. Some very common
+fractions have HTML entities (eg 1/2 is &frac12;). Additionally, common
+vulgar fractions have Unicode characters (eg 1/5 is &#8533;). This
+module takes a string and encodes fractions as entities: this means that
+it will look pretty in the browser.
+
+WWW: http://search.cpan.org/dist/HTML-Fraction/
diff --git a/textproc/p5-HTML-Fraction/pkg-plist b/textproc/p5-HTML-Fraction/pkg-plist
new file mode 100644
index 000000000000..da8db5f66ece
--- /dev/null
+++ b/textproc/p5-HTML-Fraction/pkg-plist
@@ -0,0 +1,5 @@
+%%SITE_PERL%%/HTML/Fraction.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/HTML/Fraction/.packlist
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/HTML/Fraction 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/HTML 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/HTML 2>/dev/null || true