48 lines
1.1 KiB
Makefile
48 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.9 2004/08/10 09:26:14 xsa Exp $
|
|
|
|
COMMENT= "XML security library"
|
|
COMMENT-docs= "XML security library documentation"
|
|
|
|
VERSION= 1.2.5
|
|
DISTNAME= xmlsec1-${VERSION}
|
|
PKGNAME= xmlsec-${VERSION}
|
|
PKGNAME-docs= xmlsec-docs-${VERSION}
|
|
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
|
|
|
|
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/
|
|
|
|
MULTI_PACKAGES= -docs
|
|
SUBPACKAGE?=
|
|
|
|
.if defined(PACKAGING) && ${SUBPACKAGE} == "-docs"
|
|
PKG_ARCH= *
|
|
.endif
|
|
|
|
.if ${SUBPACKAGE} != "-docs"
|
|
MODULES= converters/libiconv
|
|
BUILD_DEPENDS= ::devel/pkgconfig
|
|
LIB_DEPENDS= xslt.2::textproc/libxslt \
|
|
gnutls.12::security/gnutls
|
|
.endif
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED}
|
|
CONFIGURE_ARGS+= --with-gnutls="${LOCALBASE}"
|
|
|
|
REGRESS_DEPENDS= ::security/xmlsec
|
|
REGRESS_FLAGS= ABS_BUILDDIR="${WRKSRC}"
|
|
|
|
.include <bsd.port.mk>
|