freebsd-ports/www/p5-CGI-FormBuilder/Makefile
Marcelo Araujo 4aaab89f57 - Take advantage of CPAN macro from bsd.sites.mk, change ${MASTER_SITE_PERL_CPAN} to CPAN.
PR:		ports/122674
Submitted by:	Philip M. Gollucci <pgollucci@p6m7g8.com>
Reworked by:	araujo (myself)
Approved by:	portmgr (pav)
2008-04-17 14:30:31 +00:00

62 lines
1.6 KiB
Makefile

# New ports collection makefile for: www/p5-CGI-FormBuilder
# Date created: 14 Sep 2006
# Whom: Fernan Aguero
#
# $FreeBSD$
PORTNAME= CGI-FormBuilder
PORTVERSION= 3.0501
CATEGORIES= www perl5
MASTER_SITES= 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::Div.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
post-patch:
@${FIND} ${WRKSRC} -name "*.orig" -delete
.include <bsd.port.pre.mk>
.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 <bsd.port.post.mk>