1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/www/p5-CGI-FormBuilder/Makefile
Philip M. Gollucci 76f3222580 - %%SITE_PERL%%/auto and %%SITE_PERL%%/%%PERL_ARCH%%/auto
are part of lang/perl5* pkg-plist
- Bump PORTREVISIONs

With Hat:   perl@
2010-09-24 00:44:29 +00:00

64 lines
1.7 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
PORTREVISION= 1
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>