# $OpenBSD: Makefile,v 1.28 2011/04/15 16:10:38 ajacoutot Exp $ COMMENT-main= XML security library COMMENT-docs= XML security library documentation VERSION= 1.2.17 DISTNAME= xmlsec1-${VERSION} PKGNAME-main= xmlsec-${VERSION} PKGNAME-docs= xmlsec-docs-${VERSION} CATEGORIES= security SHARED_LIBS= xmlsec1-gnutls 5.0 \ xmlsec1-openssl 4.0 \ xmlsec1-gcrypt 0.0 \ xmlsec1 5.0 REVISION= 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 gmp gnutls gpg-error hogweed ltdl m WANTLIB += nettle ssl tasn1 xml2 xslt 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= devel/libtool,-ltdl \ textproc/libxslt \ 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