aboutsummaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorRyan Steinmetz <zi@FreeBSD.org>2013-05-06 18:30:15 +0000
committerRyan Steinmetz <zi@FreeBSD.org>2013-05-06 18:30:15 +0000
commit8b15bfa900cdfaaa77bf3ddabadf8271afbb11ff (patch)
treec24b60dc0110469ede9835243425aabe0e4c2db2 /textproc
parent08c7dca3fa68469d399266b0a40bbca2e984ddfa (diff)
downloadports-8b15bfa900cdfaaa77bf3ddabadf8271afbb11ff.tar.gz
ports-8b15bfa900cdfaaa77bf3ddabadf8271afbb11ff.zip
New port: textproc/p5-Text-Typography:
This module is a thin wrapper for John Gruber's SmartyPants plugin for various CMSs. SmartyPants is a web publishing utility that translates plain ASCII punctuation characters into "smart" typographic punctuation HTML entities. SmartyPants can perform the following transformations: * Straight quotes ( " and ' ) into "curly" quote HTML entities * Backticks-style quotes (``like this'') into "curly" quote HTML entities * Dashes (-- and ---) into en- and em-dash entities * Three consecutive dots (...) into an ellipsis entity WWW: http://search.cpan.org/dist/Text-Typography/
Notes
Notes: svn path=/head/; revision=317539
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/p5-Text-Typography/Makefile17
-rw-r--r--textproc/p5-Text-Typography/distinfo2
-rw-r--r--textproc/p5-Text-Typography/pkg-descr13
-rw-r--r--textproc/p5-Text-Typography/pkg-plist6
5 files changed, 39 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index b0dbb209e4b0..561dddc5b798 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -867,6 +867,7 @@
SUBDIR += p5-Text-Trac
SUBDIR += p5-Text-Trim
SUBDIR += p5-Text-Truncate
+ SUBDIR += p5-Text-Typography
SUBDIR += p5-Text-Unaccent
SUBDIR += p5-Text-VimColor
SUBDIR += p5-Text-WikiCreole
diff --git a/textproc/p5-Text-Typography/Makefile b/textproc/p5-Text-Typography/Makefile
new file mode 100644
index 000000000000..a8b6dacf6d1e
--- /dev/null
+++ b/textproc/p5-Text-Typography/Makefile
@@ -0,0 +1,17 @@
+# Created by: Ryan Steinmetz <zi@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= Text-Typography
+PORTVERSION= 0.01
+CATEGORIES= textproc perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= perl@FreeBSD.org
+COMMENT= Perl module to markup ASCII text with correct typography for HTML
+
+PERL_CONFIGURE= yes
+
+MAN3= Text::Typography.3
+
+.include <bsd.port.mk>
diff --git a/textproc/p5-Text-Typography/distinfo b/textproc/p5-Text-Typography/distinfo
new file mode 100644
index 000000000000..5bac1cbbf2a0
--- /dev/null
+++ b/textproc/p5-Text-Typography/distinfo
@@ -0,0 +1,2 @@
+SHA256 (Text-Typography-0.01.tar.gz) = 591e62d82507c77fe3be057a52f2a6da7fc2a38933c70204ef0f22dc0df91364
+SIZE (Text-Typography-0.01.tar.gz) = 7913
diff --git a/textproc/p5-Text-Typography/pkg-descr b/textproc/p5-Text-Typography/pkg-descr
new file mode 100644
index 000000000000..7bcc72977338
--- /dev/null
+++ b/textproc/p5-Text-Typography/pkg-descr
@@ -0,0 +1,13 @@
+This module is a thin wrapper for John Gruber's SmartyPants plugin for
+various CMSs.
+
+SmartyPants is a web publishing utility that translates plain ASCII
+punctuation characters into "smart" typographic punctuation HTML
+entities. SmartyPants can perform the following transformations:
+
+* Straight quotes ( " and ' ) into "curly" quote HTML entities
+* Backticks-style quotes (``like this'') into "curly" quote HTML entities
+* Dashes (-- and ---) into en- and em-dash entities
+* Three consecutive dots (...) into an ellipsis entity
+
+WWW: http://search.cpan.org/dist/Text-Typography/
diff --git a/textproc/p5-Text-Typography/pkg-plist b/textproc/p5-Text-Typography/pkg-plist
new file mode 100644
index 000000000000..b6e337cc8955
--- /dev/null
+++ b/textproc/p5-Text-Typography/pkg-plist
@@ -0,0 +1,6 @@
+@comment $FreeBSD$
+%%SITE_PERL%%/Text/Typography.pm
+@dirrmtry %%SITE_PERL%%/Text
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/Typography/.packlist
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/Typography
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Text