openbsd-ports/textproc/libxml++/Makefile
2013-03-21 08:45:11 +00:00

39 lines
873 B
Makefile

# $OpenBSD: Makefile,v 1.26 2013/03/21 08:48:54 ajacoutot Exp $
COMMENT= C++ wrapper for the libxml XML parser library
V= 2.36.0
DISTNAME= libxml++-$V
SHARED_LIBS+= xml++-2.6 1.1 # .2.7
CATEGORIES= textproc
REVISION= 0
EXTRACT_SUFX= .tar.xz
HOMEPAGE= http://libxmlplusplus.sourceforge.net/
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>, \
Antoine Jacoutot <ajacoutot@openbsd.org>
# LGPL >= 2
PERMIT_PACKAGE_CDROM= Yes
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libxml++/${V:C/^([0-9]+\.[0-9]+).*/\1/}/}
WANTLIB += ffi glib-2.0 glibmm-2.4 gmodule-2.0 gobject-2.0 gthread-2.0
WANTLIB += m pcre pthread sigc-2.0 stdc++ xml2 z
MODULES= devel/gettext
LIB_DEPENDS= devel/glib2mm \
textproc/libxml
USE_GMAKE= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED}
FAKE_FLAGS= docdir="${PREFIX}/share/doc/libxml++-2.6"
.include <bsd.port.mk>