2014-08-29 21:09:01 +00:00

49 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.14 2014/08/29 21:09:01 ajacoutot Exp $
COMMENT= library for managing information about operating systems
DISTNAME= libosinfo-0.2.11
SHARED_LIBS += osinfo-1.0 0.0 # 2.11
CATEGORIES= misc devel
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
HOMEPAGE= http://libosinfo.org/
# LGPLv2+
PERMIT_PACKAGE_CDROM= Yes
WANTLIB += c ffi gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 m pcre
WANTLIB += pthread xml2 xslt z
MASTER_SITES= https://fedorahosted.org/releases/l/i/libosinfo/
MODULES= devel/gettext \
textproc/intltool \
x11/gnome
MODGNOME_TOOLS= gobject-introspection vala
USE_GMAKE= Yes
# needed for test
BUILD_DEPENDS += devel/check \
devel/libsoup
LIB_DEPENDS= devel/glib2 \
textproc/libxslt
RUN_DEPENDS= misc/hwdata
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --with-usb-ids-path=${LOCALBASE}/share/hwdata/usb.ids \
--with-pci-ids-path=${LOCALBASE}/share/hwdata/pnp.ids
# https://fedorahosted.org/libosinfo/ticket/5
MAKE_FLAGS= NO_UNDEFINED_FLAGS=
.include <bsd.port.mk>