c2c196f7bf
from me and maintainer Jim Geovedi
48 lines
1.1 KiB
Makefile
48 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.8 2004/05/08 06:44:19 sturm 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= iconv
|
|
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>
|