summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorsten Veller <tove@gentoo.org>2009-07-22 08:40:14 +0000
committerTorsten Veller <tove@gentoo.org>2009-07-22 08:40:14 +0000
commitedcbb7529b457e5ef4322d11f27b4c3b82ec3f6c (patch)
tree2ff1e35dea01aa4fec8dce7220ea534c606978eb /dev-perl/Template-Toolkit
parentdrop x11-libs/liboldX from portage (diff)
downloadgentoo-2-edcbb7529b457e5ef4322d11f27b4c3b82ec3f6c.tar.gz
gentoo-2-edcbb7529b457e5ef4322d11f27b4c3b82ec3f6c.tar.bz2
gentoo-2-edcbb7529b457e5ef4322d11f27b4c3b82ec3f6c.zip
Version bump
(Portage version: 2.2_rc33/cvs/Linux i686)
Diffstat (limited to 'dev-perl/Template-Toolkit')
-rw-r--r--dev-perl/Template-Toolkit/ChangeLog10
-rw-r--r--dev-perl/Template-Toolkit/Template-Toolkit-2.22.ebuild46
2 files changed, 54 insertions, 2 deletions
diff --git a/dev-perl/Template-Toolkit/ChangeLog b/dev-perl/Template-Toolkit/ChangeLog
index 880bb9bbcb41..cdf748be56f4 100644
--- a/dev-perl/Template-Toolkit/ChangeLog
+++ b/dev-perl/Template-Toolkit/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-perl/Template-Toolkit
-# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/Template-Toolkit/ChangeLog,v 1.52 2009/05/02 10:31:56 tove Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/Template-Toolkit/ChangeLog,v 1.53 2009/07/22 08:40:14 tove Exp $
+
+*Template-Toolkit-2.22 (22 Jul 2009)
+
+ 22 Jul 2009; Torsten Veller <tove@gentoo.org>
+ +Template-Toolkit-2.22.ebuild:
+ Version bump
02 May 2009; Torsten Veller <tove@gentoo.org>
-Template-Toolkit-2.15.ebuild:
diff --git a/dev-perl/Template-Toolkit/Template-Toolkit-2.22.ebuild b/dev-perl/Template-Toolkit/Template-Toolkit-2.22.ebuild
new file mode 100644
index 000000000000..016794633bab
--- /dev/null
+++ b/dev-perl/Template-Toolkit/Template-Toolkit-2.22.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/Template-Toolkit/Template-Toolkit-2.22.ebuild,v 1.1 2009/07/22 08:40:14 tove Exp $
+
+MODULE_AUTHOR=ABW
+inherit perl-module
+
+DESCRIPTION="The Template Toolkit"
+
+SLOT="0"
+LICENSE="|| ( Artistic GPL-2 )"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="xml gd mysql postgres latex"
+
+DEPEND="dev-perl/text-autoformat
+ mysql? ( dev-perl/DBD-mysql )
+ postgres? ( dev-perl/DBD-Pg )
+ >=dev-perl/AppConfig-1.56
+ dev-lang/perl"
+PDEPEND="dev-perl/text-autoformat
+ xml? ( dev-perl/Template-XML )
+ gd? ( dev-perl/Template-GD )
+ mysql? ( dev-perl/Template-DBI )
+ latex? ( dev-perl/Template-Latex )
+ postgres? ( dev-perl/Template-DBI )"
+
+#The installer tries to install to /usr/local/tt2...,
+#and asks for user input, so we change myconf to ensure that
+# 1) make install doesn't violate the sandbox rule
+# 2) perl Makefile.pl just uses reasonable defaults, and doesn't ask for input
+myconf="TT_XS_ENABLE=y TT_ACCEPT=y TT_QUIET=y
+ TT_DOCS=y TT_SPLASH_DOCS=y TT_EXAMPLES=y
+ TT_PREFIX=${D}/usr/share/template-toolkit2
+ TT_IMAGES=/usr/share/template-toolkit2/images"
+
+mydoc="README"
+
+src_unpack() {
+ perl-module_src_unpack
+
+ # uncomment these functions
+ # do we really want this?
+ # splash_images(); html_docs(); html_docstyle();html_examples();
+ sed -i 's/^#\(splash_images\|html_\)/\1/' "${S}"/Makefile.PL || die
+}
+SRC_TEST=do