pkgsrc/www/p5-Template-Toolkit/Makefile
veego 63ad910dee SVR4 packages have a limit of 9 chars for a package name.
The automatic truncation in gensolpkg doesn't work for packages which
have the same package name for the first 5-6 chars.
e.g. amanda-server and amanda-client would be named amanda and amanda.
Now, we add a SVR4_PKGNAME and use amacl for amanda-client and amase for
amanda-server.
All svr4 packages also have a vendor tag, so we have to reserve some chars
for this tag, which is normaly 3 or 4 chars. Thats why we can only use 6
or 5 chars for SVR4_PKGNAME. I used 5 for all the packages, to give the
vendor tag enough room.
All p5-* packages and a few other packages have now a SVR4_PKGNAME.
2001-10-18 15:20:01 +00:00

35 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.3 2001/10/18 15:20:51 veego Exp $
#
DISTNAME= Template-Toolkit-2.04
PKGNAME= p5-${DISTNAME}
SVR4_PKGNAME= p5tto
CATEGORIES= www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Template/}
MAINTAINER= packages@NetBSD.org
HOMEPAGE= http://www.template-toolkit.org/
COMMENT= perl5 text template and dynamic web page intergration toolkit
DEPENDS+= ap-DBI>=0.87:../../www/ap-DBI
DEPENDS+= p5-AppConfig>=1.52:../../devel/p5-AppConfig
DEPENDS+= p5-Date-Calc>=4.3:../../devel/p5-Date-Calc
DEPENDS+= p5-DBI>=1.18:../../databases/p5-DBI
DEPENDS+= p5-GD>=1.32:../../graphics/p5-GD
DEPENDS+= p5-GDGraph>=1.33:../../graphics/p5-GDGraph
DEPENDS+= p5-GDGraph3d>=0.55:../../graphics/p5-GDGraph3d
DEPENDS+= p5-libxml-enno>=1.04:../../textproc/p5-libxml-enno
DEPENDS+= p5-Pod-POM-[0-9]*:../../textproc/p5-Pod-POM
DEPENDS+= p5-Text-Autoformat-[0-9]*:../../textproc/p5-Text-Autoformat
DEPENDS+= p5-XML-Parser>=2.30:../../textproc/p5-XML-Parser
DEPENDS+= p5-XML-RSS>=0.9:../../textproc/p5-XML-RSS
DEPENDS+= p5-XML-XPath>=1.08:../../textproc/p5-XML-XPath
DEPENDS+= teTeX>=1.0.7:../../print/teTeX
USE_PERL5= # defined
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Template/.packlist
do-configure:
@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
.include "../../mk/bsd.pkg.mk"