pkgsrc/devel/libdevq/Makefile
tnn 03a81509e0 Import libdevq-0.0.2 as devel/libdevq.
libdevq on FreeBSD and DragonFly partially substitutes for Linux's udev
enough to build features such as libgbm and drm egl on MesaLib.
2015-09-09 23:01:35 +00:00

41 lines
1,001 B
Makefile

# $NetBSD: Makefile,v 1.1 2015/09/09 23:01:35 tnn Exp $
# Original port from FreeBSD ports and DragonFly dports
# Created by: Koop Mast <kwm@FreeBSD.org>
DISTNAME= libdevq-0.0.2
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_FREEBSD}
MASTER_SITES+= http://rainbow-runner.nl/freebsd/
EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/freebsd/libdevq
# See also: https://wiki.freebsd.org/Graphics
COMMENT= Generic Device Query and Monitor interface
LICENSE= 2-clause-bsd
ONLY_FOR_PLATFORM= DragonFly-*-* FreeBSD-*-*
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
PKGCONFIG_OVERRIDE+= src/libdevq-1.0.pc.in
.include "../../mk/bsd.prefs.mk"
PKG_OPTIONS_VAR= PKG_OPTIONS.libdevq
PKG_SUPPORTED_OPTIONS= diagnostic-bin
# diagnostic-bin: Build diagnostic programs
.include "../../mk/bsd.options.mk"
PLIST_VARS+= diagnostic-bin
.if !empty(PKG_OPTIONS:Mdiagnostic-bin)
CONFIGURE_ARGS+= --enable-programs
PLIST.diagnostic-bin= yes
.endif
.include "../../mk/bsd.pkg.mk"