openbsd-ports/security/xmlsec/Makefile
2011-09-16 11:41:38 +00:00

60 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.30 2011/09/16 11:41:39 espie Exp $
COMMENT-main= XML security library
COMMENT-docs= XML security library documentation
VERSION= 1.2.18
DISTNAME= xmlsec1-${VERSION}
PKGNAME-main= xmlsec-${VERSION}
PKGNAME-docs= xmlsec-docs-${VERSION}
REVISION-main = 0
CATEGORIES= security
SHARED_LIBS= xmlsec1-gnutls 5.0 \
xmlsec1-openssl 4.0 \
xmlsec1-gcrypt 0.0 \
xmlsec1 6.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 <bsd.port.mk>