59 lines
1.3 KiB
Makefile
59 lines
1.3 KiB
Makefile
# $OpenBSD: Makefile,v 1.32 2011/11/22 15:34:10 jasper 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 = 2
|
|
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 p11-kit
|
|
|
|
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
|
|
|
|
USE_LIBTOOL= Yes
|
|
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>
|