Files
ports/security/xmlsec/Makefile
T
2025-03-22 15:47:53 +00:00

57 lines
1.2 KiB
Makefile

COMMENT-main= XML security library
COMMENT-docs= XML security library documentation
VERSION= 1.3.7
DISTNAME= xmlsec1-${VERSION}
PKGNAME-main= xmlsec-${VERSION}
PKGNAME-docs= xmlsec-docs-${VERSION}
CATEGORIES= security
SHARED_LIBS= xmlsec1-gnutls 7.0 \
xmlsec1-openssl 7.0 \
xmlsec1 10.0
HOMEPAGE= https://www.aleksey.com/xmlsec/
# MIT
PERMIT_PACKAGE= Yes
COMPILER= base-clang ports-gcc
COMPILER_LANGS= c
WANTLIB-main += c crypto gmp gnutls hogweed iconv idn2 intl ltdl lzma
WANTLIB-main += m nettle p11-kit pthread ssl tasn1 unistring xml2 xslt
WANTLIB-main += z
SITES= ${HOMEPAGE}download/
MULTI_PACKAGES= -main -docs
PKG_ARCH-docs= *
WANTLIB-docs=
LIB_DEPENDS-docs=
RUN_DEPENDS-docs=
LIB_DEPENDS= devel/libtool,-ltdl \
security/gnutls \
textproc/libxslt
LIBTOOL_FLAGS= --tag=disable-static
USE_GMAKE= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --without-nss \
--without-nspr
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
# do not pick up ansidecl.h from devel/gdb
# see /usr/local/include/libxml2/libxml/xmlversion.h:413
CONFIGURE_ENV += ac_cv_header_ansidecl_h=no
TEST_DEPENDS= converters/base64 \
xmlsec-${VERSION}:security/xmlsec
TEST_FLAGS= ABS_BUILDDIR="${WRKSRC}"
.include <bsd.port.mk>