openbsd-ports/textproc/libxml++/Makefile
2013-01-11 13:44:24 +00:00

43 lines
968 B
Makefile

# $OpenBSD: Makefile,v 1.24 2013/01/11 13:44:25 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
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= 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
USE_LIBTOOL= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED}
FAKE_FLAGS= docdir="${PREFIX}/share/doc/libxml++-2.6"
.include <bsd.port.mk>