pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/upower Add options file and bump pkgrevision.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d4cd6fe6ae3c
branches:  trunk
changeset: 308772:d4cd6fe6ae3c
user:      youri <youri%pkgsrc.org@localhost>
date:      Thu May 31 14:28:13 2018 +0000

description:
Add options file and bump pkgrevision.

diffstat:

 sysutils/upower/Makefile   |   4 ++--
 sysutils/upower/options.mk |  18 ++++++++++++++++++
 2 files changed, 20 insertions(+), 2 deletions(-)

diffs (35 lines):

diff -r c77d02ffa489 -r d4cd6fe6ae3c sysutils/upower/Makefile
--- a/sysutils/upower/Makefile  Thu May 31 14:27:42 2018 +0000
+++ b/sysutils/upower/Makefile  Thu May 31 14:28:13 2018 +0000
@@ -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
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    sysutils
 MASTER_SITES=  https://upower.freedesktop.org/releases/
 EXTRACT_SUFX=  .tar.xz
diff -r c77d02ffa489 -r d4cd6fe6ae3c sysutils/upower/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/upower/options.mk        Thu May 31 14:28:13 2018 +0000
@@ -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



Home | Main Index | Thread Index | Old Index