pkgsrc/www/p5-CGI-Application/Makefile
mjl bd60e5f3fa Update p5-CGI-Application to 2.1.
- Enhanced capabilities for creating general superclasses for your projects.
- All run modes may be referenced by method name, in addition to subref.
- Created cgiapp_init() hook to allow for inherited common behaviors.
- Added ability to set mode_param() to use a call-back instance method
  (specified by subref) instead of a CGI parameter.
- HTML::Template is now only loaded if load_tmpl() is called.
- Run-modes may now return scalar-refs in addition to scalars.
- Added new run-mode of last resort: "AUTOLOAD".  See POD for usage.
- The param() method has been extended to allow multiple parameters
  to be set at one time, via a hash (or hashref).
- Fixed bug in run() method where a null-string run-mode would be
  considered valid.  A zero-length run-mode will now result in the
  start_mode() being called.
- The run_mode() method now may be called a subsequent time to
  amend the list of run-modes.
- Bug fixed and documentation updated

Fixes PR/15221 by Shell Hung.
2002-01-18 22:36:36 +00:00

22 lines
672 B
Makefile

# $NetBSD: Makefile,v 1.7 2002/01/18 22:36:36 mjl Exp $
DISTNAME= CGI-Application-2.1
PKGNAME= p5-${DISTNAME}
SVR4_PKGNAME= p5cga
CATEGORIES= www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=CGI/}
MAINTAINER= jlam@netbsd.org
COMMENT= perl5 module to create sophisticated, reusable web-based applications
DEPENDS+= {p5-CGI>=2.66,perl>=5.6.1nb2}:../../www/p5-CGI
DEPENDS+= p5-HTML-Template-[0-9]*:../../www/p5-HTML-Template
USE_BUILDLINK_ONLY= YES
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/CGI/Application/.packlist
do-configure:
@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
.include "../../lang/perl5/buildlink.mk"
.include "../../mk/bsd.pkg.mk"