aboutsummaryrefslogtreecommitdiffstats
path: root/security/p5-Net-SAML/Makefile
blob: 8552c0187b78d661eea93c37e22e033a2b7e3da5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# $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

MAN3=       Net::SAML.3

NO_STAGE=   yes
post-patch:
    @${REINPLACE_CMD} -e 's|/apps/openssl/std|${LOCALBASE}|' ${WRKSRC}/Makefile.PL

post-install:
.if !defined(NOPORTEXAMPLES)
    @${MKDIR} ${EXAMPLESDIR}/
    cd ${WRKSRC}/../ && ${INSTALL_SCRIPT} zxid.pl zxidhlo.pl ${EXAMPLESDIR}/
.endif

.include <bsd.port.mk>