Edit

IABSD.fr/ports/security/xmlsec/Makefile

Branch :

  • Show log

    Commit

  • Author : espie
    Date : 2010-10-18 21:41:44
    Hash : 2ef10269
    Message : USE_GROFF=Yes

  • security/xmlsec/Makefile
  • # $OpenBSD: Makefile,v 1.24 2010/10/18 21:41:47 espie Exp $
    
    COMMENT-main=	XML security library
    COMMENT-docs=	XML security library documentation
    
    VERSION=	1.2.14
    DISTNAME=	xmlsec1-${VERSION}
    PKGNAME-main=	xmlsec-${VERSION}
    PKGNAME-docs=	xmlsec-docs-${VERSION}
    CATEGORIES=	security
    SHARED_LIBS=	xmlsec1-gnutls	4.0 \
    		xmlsec1-openssl	4.0 \
    		xmlsec1		4.0
    
    HOMEPAGE=	http://www.aleksey.com/xmlsec/
    
    # MIT Licence
    PERMIT_PACKAGE_CDROM=	Yes
    PERMIT_PACKAGE_FTP=	Yes
    PERMIT_DISTFILES_CDROM=	Yes
    PERMIT_DISTFILES_FTP=	Yes
    
    WANTLIB += c crypto gcrypt gpg-error m tasn1 xml2 z
    
    MASTER_SITES=	${HOMEPAGE}/download/ \
    		ftp://ftp.aleksey.com/pub/xmlsec/releases/ \
    		ftp://ftp.xmlsoft.org/xmlsec/releases/ \
    		ftp://ftp.rpmfind.net/pub/XML/xmlsec/releases/
    
    MULTI_PACKAGES=		-main -docs
    
    PKG_ARCH-docs=		*
    WANTLIB-docs=
    LIB_DEPENDS-docs=
    RUN_DEPENDS-docs=
    
    MODULES=		devel/gettext
    LIB_DEPENDS=		ltdl::devel/libtool,-ltdl \
    			xslt.>=3::textproc/libxslt \
    			gnutls.>=13::security/gnutls
    
    # depends on libltdl
    USE_LIBTOOL=		gnu
    USE_GROFF =	Yes
    
    CONFIGURE_STYLE=	gnu
    CONFIGURE_ARGS=		${CONFIGURE_SHARED} \
    			--without-nss \
    			--without-nspr
    CONFIGURE_ENV=		CPPFLAGS="-I${LOCALBASE}/include" \
    			LDFLAGS="-L${LOCALBASE}/lib"
    
    REGRESS_DEPENDS=	::security/xmlsec
    REGRESS_FLAGS=		ABS_BUILDDIR="${WRKSRC}"
    
    .include <bsd.port.mk>