freebsd-ports/security/opensaml2/Makefile
Martin Wilke e37e3a2a63 - Update to 2.1
PR:		127400
Submitted by:	Janos Mohacsi <janos.mohacsi@bsd.hu>
2008-11-22 15:55:56 +00:00

38 lines
1 KiB
Makefile

# New ports collection makefile for: opensaml2
# Date created: 15 September 2008
# Whom: Janos Mohacsi
#
# $FreeBSD$
#
PORTNAME= opensaml2
DISTVERSION= 2.1
CATEGORIES= security
MASTER_SITES= http://shibboleth.internet2.edu/downloads/opensaml/cpp/${DISTVERSION}/
DISTNAME= opensaml-${DISTVERSION}
MAINTAINER= janos.mohacsi@bsd.hu
COMMENT= Open source implentation of SAML2
LIB_DEPENDS= curl.4:${PORTSDIR}/ftp/curl \
log4shib.1:${PORTSDIR}/devel/log4shib \
xerces-c.28:${PORTSDIR}/textproc/xerces-c2-devel \
xmltooling.2:${PORTSDIR}/devel/xmltooling
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-log4shib=${LOCALBASE} --with-openssl=${OPENSSLBASE} \
--with-xmltooling=${LOCALBASE}
USE_GMAKE= yes
USE_LDCONFIG= yes
post-patch:
@${REINPLACE_CMD} -e 's,^pkgdocdir.*=.*,pkgdocdir = ${DOCSDIR},' \
${WRKSRC}/doc/Makefile.in
@${REINPLACE_CMD} -e 's|echo aout|echo elf|g' \
${WRKSRC}/configure
.if defined(NOPORTDOCS)
@${REINPLACE_CMD} -e '/^SUBDIRS/s,doc ,,' ${WRKSRC}/Makefile.in
.endif
.include <bsd.port.mk>