aboutsummaryrefslogblamecommitdiff
path: root/sysutils/upower/Makefile
blob: 5fa0e59cb5d640df853e9ff4c3d9f46c972f6d09 (plain) (tree)
1
2
3
4
5
6
7
8
9
                      
                      
                 
                        
 
                                   
                                                                   
                                               
 
                      

                                 
                                                 
 


                                                                    
                                                        
                                          
                   



                                      
                                  


                                           
 


                                        

                                                                                                          

                                                                    
                                                   
                                   
 
                      
PORTNAME=	upower
DISTVERSION=	1.90.2
PORTREVISION=	1
CATEGORIES=	sysutils

MAINTAINER=	desktop@FreeBSD.org
COMMENT=	D-Bus daemon for simplifying power management tasks
WWW=		https://upower.freedesktop.org/

LICENSE=	GPLv2+
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libdbus-glib-1.so:devel/dbus-glib

USES=		compiler:c11 gettext gnome localbase meson pkgconfig
USE_GITLAB=	yes
GL_SITE=	https://gitlab.freedesktop.org/
GL_TAGNAME=	8dcf54440d7eb58b75d7982bc1c29ee35dccf0c2
USE_GNOME=	glib20 introspection:build
USE_LDCONFIG=	yes
MESON_ARGS=	-Dgtk-doc=false \
		-Dos_backend=freebsd \
		-Dlocalstatedir=/var \
		-Dudevrulesdir=no \
		-Dudevhwdbdir=no \
		-Dsystemdsystemunitdir=no \
		-Didevice=disabled
LDFLAGS+=	-lkvm

OPTIONS_DEFINE=			MANPAGES
OPTIONS_DEFAULT=		MANPAGES
OPTIONS_SUB=			yes
MANPAGES_BUILD_DEPENDS=		${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:textproc/docbook-xsl \
				docbook-sgml>0:textproc/docbook-sgml \
				docbook-xml>0:textproc/docbook-xml \
				gtkdoc-scan:textproc/gtk-doc
MANPAGES_USE=			GNOME=libxslt:build
MANPAGES_MESON_TRUE=		man

.include <bsd.port.mk>