# New ports collection makefile for:	p5-Net-SAML
# Date created:		2007-07-14
# Whom:			Gea-Suan Lin <gslin@gslin.org>
#
# $FreeBSD: ports/security/p5-Net-SAML/Makefile,v 1.4 2009/01/23 15:43:08 roam Exp $
#

PORTNAME=	Net-SAML
PORTVERSION=	0.27
PORTREVISION=	1
CATEGORIES=	security perl5
MASTER_SITES=	http://zxid.org/
PKGNAMEPREFIX=	p5-
DISTNAME=	zxid-${PORTVERSION}
EXTRACT_SUFX=	.tgz

MAINTAINER=	gslin@gslin.org
COMMENT=	Perl extension for using SAML SSO

LIB_DEPENDS=	curl:${PORTSDIR}/ftp/curl \
		zxid:${PORTSDIR}/security/zxid

PERL_CONFIGURE=	yes
WRKSRC=		${WRKDIR}/${DISTNAME}/Net

post-patch:
	${REINPLACE_CMD} -e 's!/apps/openssl/std!${LOCALBASE}!' \
		${WRKSRC}/Makefile.PL

post-install:
	${MKDIR} ${EXAMPLESDIR}
	${INSTALL_SCRIPT} ${WRKSRC}/../zxid.pl ${EXAMPLESDIR}

MAN3=		Net::SAML.3

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 800037
BROKEN=		does not compile
.endif

.include <bsd.port.post.mk>
