aboutsummaryrefslogtreecommitdiffstats
path: root/security/p5-Net-SAML/Makefile
blob: bc0c8034736bad5cd6d204299c1dfc744a506c09 (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
38
39
# New ports collection makefile for:    p5-Net-SAML
# Date created:     2007-07-14
# Whom:         Gea-Suan Lin <gslin@gslin.org>
#
# $FreeBSD$
#

PORTNAME=   Net-SAML
PORTVERSION=    0.72
CATEGORIES= security perl5
MASTER_SITES=   CPAN/../../authors/id/S/SA/SAMPO/ \
        http://zxid.org/
PKGNAMEPREFIX=  p5-
DISTNAME=   zxid-${PORTVERSION}
EXTRACT_SUFX=   .tgz

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

LICENSE=    ASL

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}
    ${INSTALL_SCRIPT} ${WRKSRC}/../zxidhlo.pl ${EXAMPLESDIR}

MAN3=       Net::SAML.3

.include <bsd.port.mk>