p5-CGI-Application-Plugin-DevHelp optional Currently, p5-CGI-Application-Plugin-DevHelp is a hard dependency in p5-CGI-Application-Plugin-TT. However, C::A::P::TT operates just fine without it. The attached patch turns the dependency into an OPTION that defaults to on. Just for the sake of having a reference, http://cpansearch.perl.org/src/CEESHEK/CGI-Application-Plugin-TT-1.05/ META.yml lists it as a "recommends" but not a "requires." PR: 196472 Differential Revision: https://reviews.freebsd.org/D1451 Submitted by: adamw Approved by: marino(mentor)
31 lines
865 B
Makefile
31 lines
865 B
Makefile
# Created by: George Hartzell <hartzell@alerce.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= CGI-Application-Plugin-TT
|
|
PORTVERSION= 1.05
|
|
PORTREVISION= 2
|
|
CATEGORIES= www perl5
|
|
MASTER_SITES= CPAN
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= bofh@FreeBSD.org
|
|
COMMENT= Add Template Toolkit support to CGI::Application
|
|
|
|
LICENSE= ART10 GPLv1
|
|
LICENSE_COMB= dual
|
|
|
|
BUILD_DEPENDS= p5-CGI-Application>=0:${PORTSDIR}/www/p5-CGI-Application \
|
|
p5-Template-Toolkit>=0:${PORTSDIR}/www/p5-Template-Toolkit \
|
|
p5-Class-ISA>=0:${PORTSDIR}/devel/p5-Class-ISA
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
|
|
|
USES= perl5
|
|
USE_PERL5= modbuild
|
|
|
|
OPTIONS_DEFINE= DEVPOPUP
|
|
OPTIONS_DEFAULT=DEVPOPUP
|
|
DEVPOPUP_DESC= Include support for run-time reports
|
|
DEVPOPUP_BUILD_DEPENDS= p5-CGI-Application-Plugin-DevPopup>=0:${PORTSDIR}/www/p5-CGI-Application-Plugin-DevPopup
|
|
DEVPOPUP_RUN_DEPENDS:= ${DEVPOPUP_BUILD_DEPENDS}
|
|
|
|
.include <bsd.port.mk>
|