aboutsummaryrefslogblamecommitdiff
path: root/security/opensaml2/Makefile
blob: effc4470d4d10ff72438f4c1b684838837ee82f1 (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                         



           
                         
                     
                 
                        
                                                                                
                                       
 
                                    
                                                 
 
                                             
                                                       
                                                           
                                                         

                   
                                                                            
                                                                    


                   


                                                                          


                                                       



                                                                       
                      
# New ports collection makefile for:	opensaml2
# Date created:				15 September 2008
# Whom:					Janos Mohacsi
#
# $FreeBSD$
#

PORTNAME=	opensaml2
PORTVERSION=	2.4.3
PORTREVISION=	1
CATEGORIES=	security
MASTER_SITES=	http://www.shibboleth.net/downloads/c++-opensaml/${PORTVERSION}/
DISTNAME=	opensaml-${PORTVERSION}

MAINTAINER=	janos.mohacsi@bsd.hu
COMMENT=	Open source implentation of SAML2

LIB_DEPENDS=	curl.6:${PORTSDIR}/ftp/curl \
		log4shib.1:${PORTSDIR}/devel/log4shib \
		xerces-c.3:${PORTSDIR}/textproc/xerces-c3 \
		xmltooling.5:${PORTSDIR}/devel/xmltooling

GNU_CONFIGURE=	yes
CONFIGURE_ARGS+=--with-log4shib=${LOCALBASE} --with-openssl=${OPENSSLBASE} \
		--with-xmltooling=${LOCALBASE} --disable-doxygen-doc
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>