Add options file and bump pkgrevision.

This commit is contained in:
youri 2018-05-31 14:28:13 +00:00
parent c97ac3f6da
commit 26b95c4373
2 changed files with 20 additions and 2 deletions

View file

@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.11 2018/05/31 14:27:42 youri Exp $ # $NetBSD: Makefile,v 1.12 2018/05/31 14:28:13 youri Exp $
DISTNAME= upower-0.99.4 DISTNAME= upower-0.99.4
PKGREVISION= 1 PKGREVISION= 2
CATEGORIES= sysutils CATEGORIES= sysutils
MASTER_SITES= https://upower.freedesktop.org/releases/ MASTER_SITES= https://upower.freedesktop.org/releases/
EXTRACT_SUFX= .tar.xz EXTRACT_SUFX= .tar.xz

View file

@ -0,0 +1,18 @@
# $NetBSD: options.mk,v 1.1 2018/05/31 14:28:13 youri Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.mate-panel
PKG_SUPPORTED_OPTIONS= introspection
PKG_SUGGESTED_OPTIONS= introspection
.include "../../mk/bsd.options.mk"
PLIST_VARS+= introspection
.if !empty(PKG_OPTIONS:Mintrospection)
BUILDLINK_DEPMETHOD.gobject-introspection+= build
.include "../../devel/gobject-introspection/buildlink3.mk"
CONFIGURE_ARGS+= --enable-introspection
PLIST.introspection= yes
.else
CONFIGURE_ARGS+= --disable-introspection
.endif