mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
41d233b422
mechanisms apply as with Exception::Class-classes. In fact have a look at Exception::Class' docs for more general information on exceptions and Exception::Class::Base for information on what methods a caught exception also has. HTTP::Exception is only a factory for HTTP::Exception::XXX (where X is a number) subclasses. That means that HTTP::Exception->new(404) returns a HTTP::Exception::404 object, which in turn is a HTTP::Exception::Base - Object. WWW: http://search.cpan.org/dist/HTTP-Exception/
34 lines
775 B
Makefile
34 lines
775 B
Makefile
# New ports collection makefile for: HTTP::Exception
|
|
# Date created: 22 Nov 2010
|
|
# Whom: Jun Kuriyama <kuriyama@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= HTTP-Exception
|
|
PORTVERSION= 0.03001
|
|
CATEGORIES= www perl5
|
|
MASTER_SITES= CPAN
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= kuriyama@FreeBSD.org
|
|
COMMENT= Perl extension to throw HTTP-Errors as (Exception::Class-) Exceptions
|
|
|
|
RUN_DEPENDS= \
|
|
p5-Exception-Class>=1.29:${PORTSDIR}/devel/p5-Exception-Class \
|
|
p5-libwww>=5.817:${PORTSDIR}/www/p5-libwww
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
MAN3= HTTP::Exception.3 \
|
|
HTTP::Exception::1XX.3 \
|
|
HTTP::Exception::2XX.3 \
|
|
HTTP::Exception::3XX.3 \
|
|
HTTP::Exception::4XX.3 \
|
|
HTTP::Exception::5XX.3 \
|
|
HTTP::Exception::Base.3 \
|
|
HTTP::Exception::Loader.3
|
|
|
|
.include <bsd.port.mk>
|