aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/p5-Text-ClearSilver/Makefile26
-rw-r--r--textproc/p5-Text-ClearSilver/distinfo2
-rw-r--r--textproc/p5-Text-ClearSilver/files/patch-build_cs.pl11
-rw-r--r--textproc/p5-Text-ClearSilver/pkg-descr4
-rw-r--r--textproc/p5-Text-ClearSilver/pkg-plist13
6 files changed, 57 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 1115a6481dd2..4188543c05aa 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -774,6 +774,7 @@
SUBDIR += p5-Text-Capitalize
SUBDIR += p5-Text-CharWidth
SUBDIR += p5-Text-Chomp
+ SUBDIR += p5-Text-ClearSilver
SUBDIR += p5-Text-Context
SUBDIR += p5-Text-Context-EitherSide
SUBDIR += p5-Text-DHCPLeases
diff --git a/textproc/p5-Text-ClearSilver/Makefile b/textproc/p5-Text-ClearSilver/Makefile
new file mode 100644
index 000000000000..c111a106fbb3
--- /dev/null
+++ b/textproc/p5-Text-ClearSilver/Makefile
@@ -0,0 +1,26 @@
+# $FreeBSD$
+
+PORTNAME= Text-ClearSilver
+PORTVERSION= 0.10.5.4
+CATEGORIES= textproc perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= kuriyama@FreeBSD.org
+COMMENT= Perl extension to the ClearSilver template engine
+
+TEST_DEPENDS= \
+ p5-Test-Requires>0:${PORTSDIR}/devel/p5-Test-Requires \
+ p5-Mouse>0:${PORTSDIR}/devel/p5-Mouse
+
+PERL_CONFIGURE= yes
+USE_GMAKE= yes
+CONFIGURE_ENV= MAKE=${LOCALBASE}/bin/gmake
+
+MAN3= Text::ClearSilver.3 \
+ Text::ClearSilver::Compat.3 \
+ Text::ClearSilver::FunctionSet.3 \
+ Text::ClearSilver::FunctionSet::html.3 \
+ Text::ClearSilver::FunctionSet::string.3
+
+.include <bsd.port.mk>
diff --git a/textproc/p5-Text-ClearSilver/distinfo b/textproc/p5-Text-ClearSilver/distinfo
new file mode 100644
index 000000000000..323fe3752187
--- /dev/null
+++ b/textproc/p5-Text-ClearSilver/distinfo
@@ -0,0 +1,2 @@
+SHA256 (Text-ClearSilver-0.10.5.4.tar.gz) = 43b5efe656b6e8f7ad1b4f23f9ba126d8ac90b83f6dfc328e1cbe052c95c1ca0
+SIZE (Text-ClearSilver-0.10.5.4.tar.gz) = 511672
diff --git a/textproc/p5-Text-ClearSilver/files/patch-build_cs.pl b/textproc/p5-Text-ClearSilver/files/patch-build_cs.pl
new file mode 100644
index 000000000000..d4a43cdc375a
--- /dev/null
+++ b/textproc/p5-Text-ClearSilver/files/patch-build_cs.pl
@@ -0,0 +1,11 @@
+--- tool/build_cs.pl.orig 2013-01-19 19:25:13.456439936 +0900
++++ tool/build_cs.pl 2013-01-19 19:25:22.046439456 +0900
+@@ -37,7 +37,7 @@
+ }
+ die "$0 stopped";
+ };
+-xsystem('make');
++xsystem('gmake');
+
+ sub xsystem {
+ print "@_\n";
diff --git a/textproc/p5-Text-ClearSilver/pkg-descr b/textproc/p5-Text-ClearSilver/pkg-descr
new file mode 100644
index 000000000000..5b068ca948db
--- /dev/null
+++ b/textproc/p5-Text-ClearSilver/pkg-descr
@@ -0,0 +1,4 @@
+Text::ClearSilver is a Perl binding to the ClearSilver template
+engine.
+
+WWW: http://search.cpan.org/dist/Text-ClearSilver/
diff --git a/textproc/p5-Text-ClearSilver/pkg-plist b/textproc/p5-Text-ClearSilver/pkg-plist
new file mode 100644
index 000000000000..9a5ee51f3ee2
--- /dev/null
+++ b/textproc/p5-Text-ClearSilver/pkg-plist
@@ -0,0 +1,13 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/ClearSilver/.packlist
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/ClearSilver/ClearSilver.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/ClearSilver/ClearSilver.so
+%%SITE_PERL%%/%%PERL_ARCH%%/Text/ClearSilver.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Text/ClearSilver/Compat.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Text/ClearSilver/FunctionSet.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Text/ClearSilver/FunctionSet/html.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Text/ClearSilver/FunctionSet/string.pm
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Text/ClearSilver/FunctionSet
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Text/ClearSilver
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Text
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/ClearSilver
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Text