# New ports collection makefile for: www/p5-CGI-FormBuilder # Date created: 14 Sep 2006 # Whom: Fernan Aguero # # $FreeBSD$ PORTNAME= CGI-FormBuilder PORTVERSION= 3.0401 CATEGORIES= www perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= ../by-authors/id/N/NW/NWIGER PKGNAMEPREFIX= p5- EXTRACT_SUFX= .tgz MAINTAINER= fernan@iib.unsam.edu.ar COMMENT= FormBuilder for CGI PERL_CONFIGURE= yes OPTIONS= TT "Template Toolkit support" on \ HTML_TEMPLATE "HTML::Template support" off \ TEXT_TEMPLATE "Text::Template support" off \ CGI_FAST_TEMPLATE "CGI::FastTemplate support" off MAN3= CGI::FormBuilder.3 \ CGI::FormBuilder::Template::Builtin.3 \ CGI::FormBuilder::Template::HTML.3 \ CGI::FormBuilder::Source::File.3 \ CGI::FormBuilder::Template.3 \ CGI::FormBuilder::Multi.3 \ CGI::FormBuilder::Template::TT2.3 \ CGI::FormBuilder::Test.3 \ CGI::FormBuilder::Util.3 \ CGI::FormBuilder::Template::Text.3 \ CGI::FormBuilder::Source.3 \ CGI::FormBuilder::Field.3 \ CGI::FormBuilder::Template::Fast.3 \ CGI::FormBuilder::Messages.3 .include .if ${PERL_LEVEL} <= 500503 IGNORE= requires Perl 5.6. Install lang/perl5 or lang/perl5.8, and try again .endif .if !defined(WITHOUT_TT) RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Template.pm:${PORTSDIR}/www/p5-Template-Toolkit .endif .if defined(WITH_HTML_TEMPLATE) RUN_DEPENDS+= ${SITE_PERL}/HTML/Template.pm:${PORTSDIR}/www/p5-HTML-Template .endif .if defined(WITH_TEXT_TEMPLATE) RUN_DEPENDS+= ${SITE_PERL}/Text/Template.pm:${PORTSDIR}/textproc/p5-Text-Template .endif .if defined(WITH_CGI_FAST_TEMPLATE) RUN_DEPENDS+= ${SITE_PERL}/CGI/FastTemplate.pm:${PORTSDIR}/www/p5-CGI-FastTemplate .endif .include