pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/upower



Module Name:    pkgsrc
Committed By:   youri
Date:           Thu May 31 14:28:13 UTC 2018

Modified Files:
        pkgsrc/sysutils/upower: Makefile
Added Files:
        pkgsrc/sysutils/upower: options.mk

Log Message:
Add options file and bump pkgrevision.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/sysutils/upower/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/upower/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/sysutils/upower/Makefile
diff -u pkgsrc/sysutils/upower/Makefile:1.11 pkgsrc/sysutils/upower/Makefile:1.12
--- pkgsrc/sysutils/upower/Makefile:1.11        Thu May 31 14:27:42 2018
+++ pkgsrc/sysutils/upower/Makefile     Thu May 31 14:28:13 2018
@@ -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

Added files:

Index: pkgsrc/sysutils/upower/options.mk
diff -u /dev/null pkgsrc/sysutils/upower/options.mk:1.1
--- /dev/null   Thu May 31 14:28:13 2018
+++ pkgsrc/sysutils/upower/options.mk   Thu May 31 14:28:13 2018
@@ -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