2004-12-27 13:32:40 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.10 2004/12/27 18:32:40 alek Exp $
|
2002-09-20 06:22:31 -04:00
|
|
|
|
|
|
|
COMMENT= "XML security library"
|
2003-04-29 10:22:48 -04:00
|
|
|
COMMENT-docs= "XML security library documentation"
|
2002-09-20 06:22:31 -04:00
|
|
|
|
2004-05-08 02:44:19 -04:00
|
|
|
VERSION= 1.2.5
|
2003-04-29 10:22:48 -04:00
|
|
|
DISTNAME= xmlsec1-${VERSION}
|
2004-12-27 13:32:40 -05:00
|
|
|
PKGNAME= xmlsec-${VERSION}p0
|
2003-04-29 10:22:48 -04:00
|
|
|
PKGNAME-docs= xmlsec-docs-${VERSION}
|
2002-09-20 06:22:31 -04:00
|
|
|
CATEGORIES= security
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.aleksey.com/xmlsec/
|
|
|
|
MAINTAINER= Jim Geovedi <jim@corebsd.or.id>
|
|
|
|
|
|
|
|
# MIT Licence
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2004-12-27 13:32:40 -05:00
|
|
|
WANTLIB= c crypto gcrypt gpg-error intl m xml2 z
|
2002-09-20 06:22:31 -04:00
|
|
|
|
2003-04-29 10:22:48 -04:00
|
|
|
MASTER_SITES= http://www.aleksey.com/xmlsec/download/ \
|
|
|
|
ftp://ftp.aleksey.com/pub/xmlsec/releases/ \
|
|
|
|
ftp://ftp.xmlsoft.org/xmlsec/releases/ \
|
|
|
|
ftp://ftp.rpmfind.net/pub/XML/xmlsec/releases/
|
|
|
|
|
2003-05-02 00:32:29 -04:00
|
|
|
MULTI_PACKAGES= -docs
|
2003-04-29 10:22:48 -04:00
|
|
|
SUBPACKAGE?=
|
2002-09-20 06:22:31 -04:00
|
|
|
|
2004-02-04 02:39:18 -05:00
|
|
|
.if defined(PACKAGING) && ${SUBPACKAGE} == "-docs"
|
|
|
|
PKG_ARCH= *
|
2004-12-27 13:32:40 -05:00
|
|
|
WANTLIB=
|
2004-02-04 02:39:18 -05:00
|
|
|
.endif
|
|
|
|
|
2003-04-29 10:22:48 -04:00
|
|
|
.if ${SUBPACKAGE} != "-docs"
|
2004-08-10 05:26:13 -04:00
|
|
|
MODULES= converters/libiconv
|
2004-05-08 02:44:19 -04:00
|
|
|
BUILD_DEPENDS= ::devel/pkgconfig
|
|
|
|
LIB_DEPENDS= xslt.2::textproc/libxslt \
|
|
|
|
gnutls.12::security/gnutls
|
2003-04-29 10:22:48 -04:00
|
|
|
.endif
|
2002-09-20 06:22:31 -04:00
|
|
|
|
2003-05-02 00:32:29 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED}
|
2004-12-27 13:32:40 -05:00
|
|
|
CONFIGURE_ARGS+= --with-gnutls="${LOCALBASE}" \
|
|
|
|
--without-nss \
|
|
|
|
--without-nspr
|
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>
|