freebsd-ports/security/p5-Net-SAML/Makefile
2013-11-06 07:39:31 +00:00

34 lines
724 B
Makefile

# $FreeBSD$
PORTNAME= Net-SAML
PORTVERSION= 1.11
PORTREVISION= 1
CATEGORIES= security perl5
MASTER_SITES= http://zxid.org/ \
CPAN
PKGNAMEPREFIX= p5-
DISTNAME= zxid-${PORTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= perl@FreeBSD.org
COMMENT= Perl extension for using SAML SSO
LICENSE= AL2
LIB_DEPENDS= curl:${PORTSDIR}/ftp/curl \
zxid:${PORTSDIR}/security/zxid
USES= perl5
USE_PERL5= configure
WRKSRC= ${WRKDIR}/${DISTNAME}/Net
post-patch:
@${REINPLACE_CMD} -e 's|/apps/openssl/std|${LOCALBASE}|' ${WRKSRC}/Makefile.PL
post-install:
.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
cd ${WRKSRC}/../ && ${INSTALL_SCRIPT} zxid.pl zxidhlo.pl ${STAGEDIR}${EXAMPLESDIR}/
.endif
.include <bsd.port.mk>