34 lines
820 B
Makefile
34 lines
820 B
Makefile
# $OpenBSD: Makefile,v 1.75 2004/04/06 06:50:30 kevlo Exp $
|
|
|
|
COMMENT= "XML parsing library"
|
|
|
|
VERSION= 2.6.8
|
|
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>
|