2011-04-22 15:41:54 +02:00
|
|
|
# $NetBSD: Makefile,v 1.23 2011/04/22 13:42:48 obache Exp $
|
2004-08-27 15:19:57 +02:00
|
|
|
#
|
|
|
|
|
2011-04-01 14:27:45 +02:00
|
|
|
DISTNAME= xmlsec1-1.2.17
|
2011-04-22 15:41:54 +02:00
|
|
|
PKGREVISION= 1
|
2004-08-27 15:19:57 +02:00
|
|
|
CATEGORIES= security
|
|
|
|
MASTER_SITES= http://www.aleksey.com/xmlsec/download/
|
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2004-08-27 15:19:57 +02:00
|
|
|
HOMEPAGE= http://www.aleksey.com/xmlsec/
|
|
|
|
COMMENT= XML signature and encryption library
|
2011-04-01 14:27:45 +02:00
|
|
|
LICENSE= mit AND mpl-1.1 # plus advertising clause
|
2004-08-27 15:19:57 +02:00
|
|
|
|
2008-07-14 14:55:56 +02:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2010-06-06 14:36:11 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2005-08-10 22:56:10 +02:00
|
|
|
USE_TOOLS+= pkg-config
|
2004-08-27 15:19:57 +02:00
|
|
|
USE_PKGLOCALEDIR= yes
|
|
|
|
USE_LIBTOOL= yes
|
2010-06-06 14:36:11 +02:00
|
|
|
|
|
|
|
PKGCONFIG_OVERRIDE+= ${WRKSRC}/xmlsec-gcrypt.pc.in
|
|
|
|
PKGCONFIG_OVERRIDE+= ${WRKSRC}/xmlsec-gnutls.pc.in
|
|
|
|
PKGCONFIG_OVERRIDE+= ${WRKSRC}/xmlsec-nss.pc.in
|
2004-08-27 15:19:57 +02:00
|
|
|
PKGCONFIG_OVERRIDE+= ${WRKSRC}/xmlsec-openssl.pc.in
|
|
|
|
PKGCONFIG_OVERRIDE+= ${WRKSRC}/xmlsec.pc.in
|
2010-06-06 14:36:11 +02:00
|
|
|
|
2007-01-03 04:06:13 +01:00
|
|
|
CONFIGURE_ARGS+= --with-openssl=${BUILDLINK_PREFIX.openssl}
|
2004-08-27 15:19:57 +02:00
|
|
|
CONFIGURE_ARGS+= --without-gnutls
|
2010-06-06 14:36:11 +02:00
|
|
|
CONFIGURE_ARGS+= --with-libxml=${BUILDLINK_PREFIX.libxml2}
|
|
|
|
CONFIGURE_ARGS+= --with-libxslt=${BUILDLINK_PREFIX.libxslt}
|
|
|
|
CONFIGURE_ARGS+= --with-gcrypt=${BUILDLINK_PREFIX.libgcrypt}
|
2004-08-27 15:19:57 +02:00
|
|
|
|
2010-06-06 14:36:11 +02:00
|
|
|
.include "../../devel/libltdl/buildlink3.mk"
|
|
|
|
BUILDLINK_API_DEPENDS.libgcrypt+= libgcrypt>=1.4.0
|
|
|
|
.include "../../security/libgcrypt/buildlink3.mk"
|
2004-08-27 15:19:57 +02:00
|
|
|
.include "../../security/openssl/buildlink3.mk"
|
2010-06-06 14:36:11 +02:00
|
|
|
BUILDLINK_API_DEPENDS.libxml2+= libxml2>=2.7.4
|
2004-12-14 21:29:05 +01:00
|
|
|
.include "../../textproc/libxml2/buildlink3.mk"
|
|
|
|
.include "../../textproc/libxslt/buildlink3.mk"
|
2004-08-27 15:19:57 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|