2008-04-07 09:37:14 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= Net-SAML
|
2013-11-27 17:39:43 +01:00
|
|
|
PORTVERSION= 1.18
|
2008-04-07 09:37:14 +02:00
|
|
|
CATEGORIES= security perl5
|
2013-02-14 10:18:59 +01:00
|
|
|
MASTER_SITES= http://zxid.org/ \
|
|
|
|
CPAN
|
2008-04-07 09:37:14 +02:00
|
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
DISTNAME= zxid-${PORTVERSION}
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2009-11-16 03:12:03 +01:00
|
|
|
MAINTAINER= perl@FreeBSD.org
|
2008-04-07 09:37:14 +02:00
|
|
|
COMMENT= Perl extension for using SAML SSO
|
|
|
|
|
2012-01-09 16:41:08 +01:00
|
|
|
LICENSE= AL2
|
2010-11-18 01:51:41 +01:00
|
|
|
|
2013-11-27 17:39:43 +01:00
|
|
|
LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl \
|
|
|
|
libzxid.so:${PORTSDIR}/security/zxid
|
|
|
|
|
|
|
|
OPTIONS_DEFINE= EXAMPLES
|
2008-04-07 09:37:14 +02:00
|
|
|
|
2013-11-23 19:35:32 +01:00
|
|
|
USES= perl5 shebangfix
|
2013-08-02 20:52:07 +02:00
|
|
|
USE_PERL5= configure
|
2008-04-07 09:37:14 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/Net
|
|
|
|
|
2013-11-23 19:35:32 +01:00
|
|
|
SHEBANG_FILES= ../zxid.pl ../zxidhlo.pl
|
|
|
|
|
2008-04-07 09:37:14 +02:00
|
|
|
post-patch:
|
2013-11-23 19:35:32 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|hexdump|my&|' ${WRKSRC}/../errmac.h
|
2012-02-12 15:06:39 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|/apps/openssl/std|${LOCALBASE}|' ${WRKSRC}/Makefile.PL
|
2008-04-07 09:37:14 +02:00
|
|
|
|
|
|
|
post-install:
|
2013-11-24 18:40:44 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
2013-11-27 17:39:43 +01:00
|
|
|
(cd ${WRKSRC}/ && ${INSTALL_SCRIPT} ../zxid.pl ../zxidhlo.pl ${STAGEDIR}${EXAMPLESDIR})
|
2008-04-07 09:37:14 +02:00
|
|
|
|
2009-11-02 11:12:19 +01:00
|
|
|
.include <bsd.port.mk>
|