Subject: pkg/12822: new p5-Template-Toolkit pkg
To: None <gnats-bugs@gnats.netbsd.org>
From: None <nathan.ahlstrom@medtronic.com>
List: netbsd-bugs
Date: 05/03/2001 17:33:28
>Number:         12822
>Category:       pkg
>Synopsis:       new pkg p5-Template-Toolkit
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu May 03 15:36:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Nathan Ahlstrom
>Release:        pkgsrc from 03 May 2001
>Organization:
	me
>Environment:
System: NetBSD bsd 1.5.1_BETA NetBSD 1.5.1_BETA (BSD) #2: Wed May 2 12:54:59 CDT 2001 root@bsd:/usr/src/sys/arch/i386/compile/BSD i386


>Description:
	This is a useful template library module for perl5.
>How-To-Repeat:
	Attempt to get slashcode running and notice this is one of the
	perl modules required.
>Fix:
	Attached is a shar archive of the www/p5-Template-Toolkit pkg.
	Here is the URL for the ChangeLog:
	http://search.cpan.org/doc/ABW/Template-Toolkit-2.01/Changes


# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	p5-Template-Toolkit
#	p5-Template-Toolkit/pkg
#	p5-Template-Toolkit/pkg/DESCR
#	p5-Template-Toolkit/pkg/PLIST
#	p5-Template-Toolkit/patches
#	p5-Template-Toolkit/patches/patch-aa
#	p5-Template-Toolkit/Makefile
#	p5-Template-Toolkit/distinfo
#
echo c - p5-Template-Toolkit
mkdir -p p5-Template-Toolkit > /dev/null 2>&1
echo c - p5-Template-Toolkit/pkg
mkdir -p p5-Template-Toolkit/pkg > /dev/null 2>&1
echo x - p5-Template-Toolkit/pkg/DESCR
sed 's/^X//' >p5-Template-Toolkit/pkg/DESCR << 'END-of-p5-Template-Toolkit/pkg/DESCR'
XDBI is a database access Application Programming Interface (API)
Xfor the Perl Language. The DBI API Specification defines a set
Xof functions, variables and conventions that provide a consistent
Xdatabase interface independant of the actual database being used.
X
XWith this module you can now have your httpd (apache) logs redirected
Xinto a database table for future querying.
END-of-p5-Template-Toolkit/pkg/DESCR
echo x - p5-Template-Toolkit/pkg/PLIST
sed 's/^X//' >p5-Template-Toolkit/pkg/PLIST << 'END-of-p5-Template-Toolkit/pkg/PLIST'
X@comment $NetBSD$
END-of-p5-Template-Toolkit/pkg/PLIST
echo c - p5-Template-Toolkit/patches
mkdir -p p5-Template-Toolkit/patches > /dev/null 2>&1
echo x - p5-Template-Toolkit/patches/patch-aa
sed 's/^X//' >p5-Template-Toolkit/patches/patch-aa << 'END-of-p5-Template-Toolkit/patches/patch-aa'
X+++ Makefile.PL	Thu May  3 17:24:04 2001
X@@ -83,8 +83,7 @@
X foreach my $mods ( [ Text::Autoformat => \&check_taf ],
X 		   [ XML::DOM   => \&check_dom   ],
X 		   [ XML::RSS   => \&check_rss   ],
X-		   [ DBI        => \&dbi_config  ] ) {
X+		   [ XML::XPath => \&check_xpath ] ) {
X     my ($module, $code) = ref $mods ? @$mods : ($mods, 0);
X 
X     printf("  %-16s ", $module);
X@@ -127,7 +126,7 @@
X 
X EOF
X 
X-if (prompt('Do you want to install these components?', 'y') =~ /^y/i) {
X+if (0) { #prompt('Do you want to install these components?', 'y') =~ /^y/i) {
X     print <<EOF;
X 
X You can chose any directory for the installation of the additional
END-of-p5-Template-Toolkit/patches/patch-aa
echo x - p5-Template-Toolkit/Makefile
sed 's/^X//' >p5-Template-Toolkit/Makefile << 'END-of-p5-Template-Toolkit/Makefile'
X# $NetBSD$
X#
X
XDISTNAME=	Template-Toolkit-2.01
XPKGNAME=	p5-${DISTNAME}
XCATEGORIES=	www perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN:=Template/}
X
XMAINTAINER=	packages@NetBSD.org
XCOMMENT=	All sorts of templates for various text formats
X
XDEPENDS+=	ap-DBI-*:../../www/ap-DBI
XDEPENDS+=	p5-XML-Parser>=2.30:../../textproc/p5-XML-Parser
XDEPENDS+=	p5-XML-RSS>=0.9:../../textproc/p5-XML-RSS
XDEPENDS+=	p5-libxml-enno>=1.04:../../textproc/p5-libxml-enno
XDEPENDS+=	p5-XML-XPath>=1.08:../../textproc/p5-XML-XPath
XDEPENDS+=	p5-Text-Autoformat-*:../../textproc/p5-Text-Autoformat
XDEPENDS+=	p5-Pod-POM-*:../../textproc/p5-Pod-POM
XDEPENDS+=	p5-AppConfig-*:../../devel/p5-AppConfig
X
XUSE_PERL5=	# defined
XPERL5_PACKLIST=	${PERL5_SITEARCH}/auto/Template/.packlist
X
Xdo-configure:
X	@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
X
X.include "../../mk/bsd.pkg.mk"
END-of-p5-Template-Toolkit/Makefile
echo x - p5-Template-Toolkit/distinfo
sed 's/^X//' >p5-Template-Toolkit/distinfo << 'END-of-p5-Template-Toolkit/distinfo'
X$NetBSD$
X
XSHA1 (Template-Toolkit-2.01.tar.gz) = e41ebc31f33f21b8647e222a21ec1a950389fc67
XSize (Template-Toolkit-2.01.tar.gz) = 589429 bytes
XSHA1 (patch-aa) = d3fc7ec9d4247b8df470dcf557e025e45da0d3bd
END-of-p5-Template-Toolkit/distinfo
exit

>Release-Note:
>Audit-Trail:
>Unformatted: