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


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

1.4
date	2012.03.13.16.15.33;	author pgollucci;	state Exp;
branches;
next	1.3;

1.3
date	2012.03.08.18.45.35;	author pgollucci;	state Exp;
branches;
next	1.2;

1.2
date	2011.12.12.10.19.32;	author sunpoet;	state Exp;
branches;
next	1.1;

1.1
date	2010.12.12.22.07.45;	author pgollucci;	state Exp;
branches;
next	;


desc
@@


1.5
log
@Switch exporter over
@
text
@# New ports collection makefile for:	p5-Plack-Middleware-XForwardedFor
# Date created:		2010-12-13
# Whom:			Gea-Suan Lin <gslin@@gslin.org>
#
# $FreeBSD: head/www/p5-Plack-Middleware-XForwardedFor/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=	Plack-Middleware-XForwardedFor
PORTVERSION=	0.103060
CATEGORIES=	www perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	gslin@@gslin.org
COMMENT=	Plack middleware to handle X-Forwarded-For headers

BUILD_DEPENDS=	p5-Net-Netmask>=1.9015:${PORTSDIR}/net-mgmt/p5-Net-Netmask \
		p5-Plack>=0.9913:${PORTSDIR}/www/p5-Plack \
		p5-Regexp-Common>=2010010201:${PORTSDIR}/textproc/p5-Regexp-Common
RUN_DEPENDS:=	${BUILD_DEPENDS}

PERL_CONFIGURE=	yes

MAN3=		Plack::Middleware::XForwardedFor.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 501200
BUILD_DEPENDS+=	p5-parent>=0.223:${PORTSDIR}/devel/p5-parent
RUN_DEPENDS+=	p5-parent>=0.223:${PORTSDIR}/devel/p5-parent
.endif

.include <bsd.port.post.mk>
@


1.4
log
@- Revert ports/165605 as requested by portmgr@@

Note: devel/p5-B-Size and devel/p5-Devel-Arena
where intentionally not restored.

PR:             ports/165605
Approved by:    portmgr (bapt)
Feature safe:   yes (I sure hope so)
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.3
log
@- Remove ports that only work with < perl 5.12 (devel/p5-B-Size, devel/p5-Devel-Arena)
- Remove conditionals for PERL_LEVEL < 501200
- Remove regression-test targets b/c this will be centralized in Mk/bsd.perl.mk
- Other minor cleanups
  RUN_DEPENDS = ${BUILD_DEPENDS} -> RUN_DEPENDS:= ${BUILD_DEPENDS}

PR:             ports/165605
Submitted by:   pgollucci (myself)
Approved by:    portmgr (linimon)
Exp Run by:     linimon
Tested by:      make index
@
text
@d26 8
a33 1
.include <bsd.port.mk>
@


1.2
log
@- Add BUILD_DEPENDS
- Update PERL_LEVEL checks
  - Perl releases prior to 5.8.9 is not supported
  - Align version check to stable releases (which are lang/perl5.* in ports tree)

Submitted by:	sunpoet (myself)
Approved by:	Gea-Suan Lin <gslin@@gslin.org> (maintainer, via IRC)
Feature safe:	yes
@
text
@d26 1
a26 8
.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 501200
BUILD_DEPENDS+=	p5-parent>=0.223:${PORTSDIR}/devel/p5-parent
RUN_DEPENDS+=	p5-parent>=0.223:${PORTSDIR}/devel/p5-parent
.endif

.include <bsd.port.post.mk>
@


1.1
log
@Plack::Middleware::XForwardedFor will look for X-Forwarded-For header
in the incomming request and change REMOTE_ADDR to the real client IP.

WWW:	http://search.cpan.org/dist/Plack-Middleware-XForwardedFor/

PR:		ports/153051
Submitted by:	Gea-Suan Lin <gslin at gslin.org>
@
text
@d17 1
a17 1
RUN_DEPENDS=	p5-Net-Netmask>=1.9015:${PORTSDIR}/net-mgmt/p5-Net-Netmask \
d20 1
d28 2
a29 5
.if ${PERL_LEVEL} < 508009
BUILD_DEPENDS+=	p5-ExtUtils-MakeMaker>=6.31:${PORTSDIR}/devel/p5-ExtUtils-MakeMaker
.endif

.if ${PERL_LEVEL} < 501100
@

