[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / security / xmlsec1

File: [cvs.NetBSD.org] / pkgsrc / security / xmlsec1 / Makefile (download)

Revision 1.41, Wed Nov 23 16:19:00 2022 UTC (2 months, 2 weeks ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2022Q4-base, pkgsrc-2022Q4, HEAD
Changes since 1.40: +2 -2 lines

massive revision bump after textproc/icu update

# $NetBSD: Makefile,v 1.41 2022/11/23 16:19:00 adam Exp $
#

DISTNAME=		xmlsec1-1.2.33
PKGREVISION=		2
CATEGORIES=		security
MASTER_SITES=		https://www.aleksey.com/xmlsec/download/

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		https://www.aleksey.com/xmlsec/
COMMENT=		XML signature and encryption library
LICENSE=		mit AND mpl-1.1 # plus advertising clause

GNU_CONFIGURE=		yes
USE_TOOLS+=		pkg-config
USE_PKGLOCALEDIR=	yes
USE_LIBTOOL=		yes

PKGCONFIG_OVERRIDE+=	xmlsec-gcrypt.pc.in
PKGCONFIG_OVERRIDE+=	xmlsec-gnutls.pc.in
PKGCONFIG_OVERRIDE+=	xmlsec-nss.pc.in
PKGCONFIG_OVERRIDE+=	xmlsec-openssl.pc.in
PKGCONFIG_OVERRIDE+=	xmlsec.pc.in

CONFIGURE_ARGS+=	--with-openssl=${BUILDLINK_PREFIX.openssl}
CONFIGURE_ARGS+=	--without-gnutls
CONFIGURE_ARGS+=	--with-libxml=${BUILDLINK_PREFIX.libxml2}
CONFIGURE_ARGS+=	--with-libxslt=${BUILDLINK_PREFIX.libxslt}
CONFIGURE_ARGS+=	--with-gcrypt=${BUILDLINK_PREFIX.libgcrypt}

TEST_TARGET=	check

.include "../../devel/libltdl/buildlink3.mk"
BUILDLINK_API_DEPENDS.libgcrypt+=	libgcrypt>=1.4.0
.include "../../security/libgcrypt/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
BUILDLINK_API_DEPENDS.libxml2+=		libxml2>=2.7.4
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../textproc/libxslt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"