head	1.5;
access;
symbols
	RELEASE_8_3_0:1.2
	RELEASE_9_0_0:1.1
	RELEASE_7_4_0:1.1
	RELEASE_8_2_0:1.1
	RELEASE_6_EOL:1.1;
locks; strict;
comment	@# @;


1.5
date	2012.11.17.06.02.50;	author svnexp;	state Exp;
branches;
next	1.4;

1.4
date	2012.08.23.10.25.59;	author kuriyama;	state Exp;
branches;
next	1.3;

1.3
date	2012.06.10.18.42.35;	author swills;	state Exp;
branches;
next	1.2;

1.2
date	2012.03.11.10.12.05;	author kuriyama;	state Exp;
branches;
next	1.1;

1.1
date	2010.11.22.02.33.54;	author kuriyama;	state Exp;
branches;
next	;


desc
@@


1.5
log
@Switch exporter over
@
text
@# New ports collection makefile for:	HTTP::Exception
# Date created:		22 Nov 2010
# Whom:			Jun Kuriyama <kuriyama@@FreeBSD.org>
#
# $FreeBSD: head/www/p5-HTTP-Exception/Makefile 302997 2012-08-23 10:25:59Z kuriyama $
#

PORTNAME=	HTTP-Exception
PORTVERSION=	0.04004
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}
TEST_DEPENDS=	\
	p5-Test-Exception>=0.29:${PORTSDIR}/devel/p5-Test-Exception \
	p5-Test-NoWarnings>=1.04:${PORTSDIR}/devel/p5-Test-NoWarnings

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>
@


1.4
log
@SVN rev 302997 on 2012-08-23 10:25:59Z by kuriyama

- Upgrade to 0.04004.
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.3
log
@- Convert all remaining instances of BUILD_DEPENDS=${RUN_DEPENDS} or
  RUN_DEPENDS=${BUILD_DEPENDS} to use := which portlint has warned
  about for a while.

PR:		ports/168208
Approved by:	portmgr (miwi)
@
text
@d9 1
a9 1
PORTVERSION=	0.04001
d21 3
a23 1
TEST_DEPENDS=	p5-Test-Exception>=0.29:${PORTSDIR}/devel/p5-Test-Exception
@


1.2
log
@- Upgrade to 0.04001.

Feature safe:	yes
@
text
@d20 1
a20 1
BUILD_DEPENDS=	${RUN_DEPENDS}
@


1.1
log
@Every HTTP::Exception is a Exception::Class - Class. So the same
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/
@
text
@d9 1
a9 1
PORTVERSION=	0.03001
d21 1
@

