2009-12-15 04:52:47 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.21 2009/12/15 09:52:47 jasper Exp $
|
2002-09-20 06:22:31 -04:00
|
|
|
|
2007-09-15 19:29:57 -04:00
|
|
|
COMMENT-main= XML security library
|
|
|
|
COMMENT-docs= XML security library documentation
|
2002-09-20 06:22:31 -04:00
|
|
|
|
2009-12-15 04:52:47 -05:00
|
|
|
VERSION= 1.2.14
|
2003-04-29 10:22:48 -04:00
|
|
|
DISTNAME= xmlsec1-${VERSION}
|
2009-12-15 04:52:47 -05:00
|
|
|
PKGNAME-main= xmlsec-${VERSION}
|
2008-09-15 15:10:01 -04:00
|
|
|
PKGNAME-docs= xmlsec-docs-${VERSION}
|
2002-09-20 06:22:31 -04:00
|
|
|
CATEGORIES= security
|
2008-09-15 15:10:01 -04:00
|
|
|
SHARED_LIBS= xmlsec1-gnutls 4.0 \
|
|
|
|
xmlsec1-openssl 4.0 \
|
|
|
|
xmlsec1 4.0
|
2002-09-20 06:22:31 -04:00
|
|
|
|
|
|
|
HOMEPAGE= http://www.aleksey.com/xmlsec/
|
|
|
|
|
|
|
|
# MIT Licence
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2009-03-12 04:30:53 -04:00
|
|
|
|
|
|
|
WANTLIB += c crypto gcrypt gpg-error m tasn1 xml2 z
|
2002-09-20 06:22:31 -04:00
|
|
|
|
2009-12-15 04:52:47 -05:00
|
|
|
MASTER_SITES= ${HOMEPAGE}/download/ \
|
2003-04-29 10:22:48 -04:00
|
|
|
ftp://ftp.aleksey.com/pub/xmlsec/releases/ \
|
|
|
|
ftp://ftp.xmlsoft.org/xmlsec/releases/ \
|
|
|
|
ftp://ftp.rpmfind.net/pub/XML/xmlsec/releases/
|
|
|
|
|
2006-11-25 03:14:06 -05:00
|
|
|
MULTI_PACKAGES= -main -docs
|
2002-09-20 06:22:31 -04:00
|
|
|
|
2006-11-25 03:14:06 -05:00
|
|
|
PKG_ARCH-docs= *
|
|
|
|
WANTLIB-docs=
|
|
|
|
LIB_DEPENDS-docs=
|
|
|
|
RUN_DEPENDS-docs=
|
2004-02-04 02:39:18 -05:00
|
|
|
|
2008-09-15 15:10:01 -04:00
|
|
|
MODULES= devel/gettext
|
2009-12-15 04:52:47 -05:00
|
|
|
LIB_DEPENDS= ltdl::devel/libtool,-ltdl \
|
|
|
|
xslt.>=3::textproc/libxslt \
|
2008-09-15 15:10:01 -04:00
|
|
|
gnutls.>=13::security/gnutls
|
2002-09-20 06:22:31 -04:00
|
|
|
|
2005-12-25 10:52:38 -05:00
|
|
|
USE_LIBTOOL= Yes
|
|
|
|
|
2003-05-02 00:32:29 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
2009-10-11 06:39:35 -04:00
|
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
2004-12-27 13:32:40 -05:00
|
|
|
--without-nss \
|
|
|
|
--without-nspr
|
2009-12-15 04:52:47 -05:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2002-09-20 06:22:31 -04:00
|
|
|
|
2004-05-08 02:44:19 -04:00
|
|
|
REGRESS_DEPENDS= ::security/xmlsec
|
|
|
|
REGRESS_FLAGS= ABS_BUILDDIR="${WRKSRC}"
|
|
|
|
|
2002-09-20 06:22:31 -04:00
|
|
|
.include <bsd.port.mk>
|