34 lines
821 B
Makefile
34 lines
821 B
Makefile
# $OpenBSD: Makefile,v 1.77 2004/06/15 06:17:01 kevlo Exp $
|
|
|
|
COMMENT= "XML parsing library"
|
|
|
|
VERSION= 2.6.10
|
|
DISTNAME= libxml2-${VERSION}
|
|
PKGNAME= libxml-${VERSION}
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= ftp://xmlsoft.org/ \
|
|
${MASTER_SITE_GNOME:=sources/libxml2/2.6/}
|
|
|
|
HOMEPAGE= http://xmlsoft.org/
|
|
|
|
# BSD-like
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig
|
|
|
|
MODULES= iconv
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
|
CONFIGURE_ARGS+= --enable-static
|
|
CONFIGURE_ARGS+= --with-html-dir="${PREFIX}/share/doc"
|
|
CONFIGURE_ARGS+= --with-html-subdir="libxml2/html"
|
|
CONFIGURE_ARGS+= --with-iconv="${LOCALBASE}"
|
|
CONFIGURE_ARGS+= --without-python
|
|
CONFIGURE_ARGS+= --without-threads
|
|
|
|
.include <bsd.port.mk>
|