File:  [cvs.NetBSD.org] / pkgsrc / www / p5-CGI-FormBuilder / Makefile
Revision 1.27: download - view: text, annotated - select for diffs
Wed Jun 8 19:24:56 2016 UTC (8 years, 6 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2016Q2-base, pkgsrc-2016Q2, HEAD
Bump PKGREVISION for perl-5.24.

# $NetBSD: Makefile,v 1.27 2016/06/08 19:24:56 wiz Exp $

DISTNAME=		CGI-FormBuilder-3.09
PKGNAME=		p5-${DISTNAME}00
PKGREVISION=		3
CATEGORIES=		www perl5
MASTER_SITES=		${MASTER_SITE_PERL_CPAN:=CGI/}
EXTRACT_SUFX=		.tgz

MAINTAINER=		pkgsrc-users@NetBSD.org
COMMENT=		Perl5 module for building HTML forms
HOMEPAGE=		http://www.formbuilder.org/
LICENSE=		${PERL5_LICENSE}

PERL5_PACKLIST=		auto/CGI/FormBuilder/.packlist

DEPENDS+=		p5-HTML-Template>=2.6:../../www/p5-HTML-Template
DEPENDS+=		p5-Text-Template>=1.43:../../textproc/p5-Text-Template
#DEPENDS+=		p5-Template-Toolkit>=2.08:../../www/p5-Template-Toolkit

# Note. Cannot avoid warning from CGI.pm 4.05 or newer by replacing
# $self->{params}->param( with @{$self->{params}->param_fetch
# as breaks usage under Catalyst:
# Can't locate object method "param_fetch" via package "Catalyst::Request"

post-extract:
	${FIND} ${WRKSRC} -name "*.orig" -type f | ${XARGS} ${RM} -f
# garbage in the archive ?
	(cd ${WRKSRC}; ${RM} -rf PaxHeader )

pre-configure:
	${FIND} ${WRKSRC} -name "*.orig" -type f | ${XARGS} ${RM} -f

.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>