aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/p5-Excel-Template/Makefile61
-rw-r--r--textproc/p5-Excel-Template/distinfo3
-rw-r--r--textproc/p5-Excel-Template/pkg-descr7
-rw-r--r--textproc/p5-Excel-Template/pkg-plist36
5 files changed, 108 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 5f692e223851..aabf5160fc11 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -291,6 +291,7 @@
SUBDIR += p5-Chess-PGN-Parse
SUBDIR += p5-Data-FormValidator
SUBDIR += p5-DelimMatch
+ SUBDIR += p5-Excel-Template
SUBDIR += p5-Filter-Simple
SUBDIR += p5-FormValidator-Simple
SUBDIR += p5-FreeBSD-Ports
diff --git a/textproc/p5-Excel-Template/Makefile b/textproc/p5-Excel-Template/Makefile
new file mode 100644
index 000000000000..3d77e8c39e82
--- /dev/null
+++ b/textproc/p5-Excel-Template/Makefile
@@ -0,0 +1,61 @@
+# New ports collection makefile for: Excel::Template
+# Date created: 06 December 2005
+# Whom: Espen Tagestad <espen@tagestad.no>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Excel-Template
+PORTVERSION= 0.25
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Excel
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= espen@tagestad.no
+COMMENT= Perl module for templating Excel files
+
+BUILD_DEPENDS= ${SITE_PERL}/IO/Scalar.pm:${PORTSDIR}/devel/p5-IO-stringy \
+ ${SITE_PERL}/Spreadsheet/WriteExcel.pm:${PORTSDIR}/textproc/p5-Spreadsheet-WriteExcel
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+PERL_CONFIGURE= yes
+
+MAN3= Excel::Template.3 \
+ Excel::Template::Base.3 \
+ Excel::Template::Container.3 \
+ Excel::Template::Container::Bold.3 \
+ Excel::Template::Container::Conditional.3 \
+ Excel::Template::Container::Format.3 \
+ Excel::Template::Container::Hidden.3 \
+ Excel::Template::Container::Italic.3 \
+ Excel::Template::Container::KeepLeadingZeros.3 \
+ Excel::Template::Container::Locked.3 \
+ Excel::Template::Container::Loop.3 \
+ Excel::Template::Container::Outline.3 \
+ Excel::Template::Container::Row.3 \
+ Excel::Template::Container::Scope.3 \
+ Excel::Template::Container::Shadow.3 \
+ Excel::Template::Container::Strikeout.3 \
+ Excel::Template::Container::Workbook.3 \
+ Excel::Template::Container::Worksheet.3 \
+ Excel::Template::Context.3 \
+ Excel::Template::Element.3 \
+ Excel::Template::Element::Backref.3 \
+ Excel::Template::Element::Cell.3 \
+ Excel::Template::Element::Formula.3 \
+ Excel::Template::Element::Range.3 \
+ Excel::Template::Element::Var.3 \
+ Excel::Template::Factory.3 \
+ Excel::Template::Format.3 \
+ Excel::Template::Iterator.3 \
+ Excel::Template::TextObject.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500806
+IGNORE= needs Perl 5.8.6 or above (lang/perl5.8)
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/p5-Excel-Template/distinfo b/textproc/p5-Excel-Template/distinfo
new file mode 100644
index 000000000000..8890d6c731d9
--- /dev/null
+++ b/textproc/p5-Excel-Template/distinfo
@@ -0,0 +1,3 @@
+MD5 (Excel-Template-0.25.tar.gz) = 4f4079b1da9dbd6d73fcab35b1cccf3c
+SHA256 (Excel-Template-0.25.tar.gz) = 12bdb07837c68e4460bd6acf5836a55143b7fc6ba9e036959028e76162c4c046
+SIZE (Excel-Template-0.25.tar.gz) = 36832
diff --git a/textproc/p5-Excel-Template/pkg-descr b/textproc/p5-Excel-Template/pkg-descr
new file mode 100644
index 000000000000..22516ef11d9d
--- /dev/null
+++ b/textproc/p5-Excel-Template/pkg-descr
@@ -0,0 +1,7 @@
+The Excel::Template perl module is a module used for templating Excel files.
+Its genesis came from the need to use the same datastructure as HTML::Template,
+but provide Excel files instead. The existing modules don't do the trick, as
+they require replication of logic that's already been done within
+HTML::Template.
+
+WWW: http://search.cpan.org/dist/Excel-Template/
diff --git a/textproc/p5-Excel-Template/pkg-plist b/textproc/p5-Excel-Template/pkg-plist
new file mode 100644
index 000000000000..7cd4e20c0c6c
--- /dev/null
+++ b/textproc/p5-Excel-Template/pkg-plist
@@ -0,0 +1,36 @@
+%%SITE_PERL%%/Excel/Template.pm
+%%SITE_PERL%%/Excel/Template/Base.pm
+%%SITE_PERL%%/Excel/Template/Container.pm
+%%SITE_PERL%%/Excel/Template/Container/Bold.pm
+%%SITE_PERL%%/Excel/Template/Container/Conditional.pm
+%%SITE_PERL%%/Excel/Template/Container/Format.pm
+%%SITE_PERL%%/Excel/Template/Container/Hidden.pm
+%%SITE_PERL%%/Excel/Template/Container/Italic.pm
+%%SITE_PERL%%/Excel/Template/Container/KeepLeadingZeros.pm
+%%SITE_PERL%%/Excel/Template/Container/Locked.pm
+%%SITE_PERL%%/Excel/Template/Container/Loop.pm
+%%SITE_PERL%%/Excel/Template/Container/Outline.pm
+%%SITE_PERL%%/Excel/Template/Container/Row.pm
+%%SITE_PERL%%/Excel/Template/Container/Scope.pm
+%%SITE_PERL%%/Excel/Template/Container/Shadow.pm
+%%SITE_PERL%%/Excel/Template/Container/Strikeout.pm
+%%SITE_PERL%%/Excel/Template/Container/Workbook.pm
+%%SITE_PERL%%/Excel/Template/Container/Worksheet.pm
+%%SITE_PERL%%/Excel/Template/Context.pm
+%%SITE_PERL%%/Excel/Template/Element.pm
+%%SITE_PERL%%/Excel/Template/Element/Backref.pm
+%%SITE_PERL%%/Excel/Template/Element/Cell.pm
+%%SITE_PERL%%/Excel/Template/Element/Formula.pm
+%%SITE_PERL%%/Excel/Template/Element/Range.pm
+%%SITE_PERL%%/Excel/Template/Element/Var.pm
+%%SITE_PERL%%/Excel/Template/Factory.pm
+%%SITE_PERL%%/Excel/Template/Format.pm
+%%SITE_PERL%%/Excel/Template/Iterator.pm
+%%SITE_PERL%%/Excel/Template/TextObject.pm
+%%SITE_PERL%%/mach/auto/Excel/Template/.packlist
+@dirrm %%SITE_PERL%%/mach/auto/Excel/Template
+@dirrm %%SITE_PERL%%/mach/auto/Excel
+@dirrm %%SITE_PERL%%/Excel/Template/Element
+@dirrm %%SITE_PERL%%/Excel/Template/Container
+@dirrm %%SITE_PERL%%/Excel/Template
+@dirrm %%SITE_PERL%%/Excel