freebsd-ports/security/p5-Net-SAML/Makefile
Sunpoet Po-Chuan Hsieh 927c480bd7 - Update to 1.18
- Convert to new options framework
- Convert to new LIB_DEPENDS
- Cleanup Makefile

Changes:	http://search.cpan.org/dist/zxid/Changes
2013-11-27 16:39:43 +00:00

36 lines
826 B
Makefile

# $FreeBSD$
PORTNAME= Net-SAML
PORTVERSION= 1.18
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= libcurl.so:${PORTSDIR}/ftp/curl \
libzxid.so:${PORTSDIR}/security/zxid
OPTIONS_DEFINE= EXAMPLES
USES= perl5 shebangfix
USE_PERL5= configure
WRKSRC= ${WRKDIR}/${DISTNAME}/Net
SHEBANG_FILES= ../zxid.pl ../zxidhlo.pl
post-patch:
@${REINPLACE_CMD} -e 's|hexdump|my&|' ${WRKSRC}/../errmac.h
@${REINPLACE_CMD} -e 's|/apps/openssl/std|${LOCALBASE}|' ${WRKSRC}/Makefile.PL
post-install:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
(cd ${WRKSRC}/ && ${INSTALL_SCRIPT} ../zxid.pl ../zxidhlo.pl ${STAGEDIR}${EXAMPLESDIR})
.include <bsd.port.mk>