View | Details | Raw Unified | Return to bug 185287 | Differences between
and this patch

Collapse All | Expand All

(-)sysutils/upower/Makefile (-11 / +14 lines)
Lines 4-21 Link Here
4
4
5
PORTNAME=	upower
5
PORTNAME=	upower
6
PORTVERSION=	0.9.7
6
PORTVERSION=	0.9.7
7
PORTREVISION=	4
7
PORTREVISION=	5
8
CATEGORIES=	sysutils
8
CATEGORIES=	sysutils
9
MASTER_SITES=	http://upower.freedesktop.org/releases/
9
MASTER_SITES=	http://upower.freedesktop.org/releases/
10
10
11
MAINTAINER=	gnome@FreeBSD.org
11
MAINTAINER=	gnome@FreeBSD.org
12
COMMENT=	D-Bus daemon for simplifying power management tasks
12
COMMENT=	D-Bus daemon for simplifying power management tasks
13
13
14
LICENSE=	GPLv2
15
LICENSE_FILE=	${WRKSRC}/COPYING
16
14
LIB_DEPENDS=	libpolkit-gobject-1.so:${PORTSDIR}/sysutils/polkit \
17
LIB_DEPENDS=	libpolkit-gobject-1.so:${PORTSDIR}/sysutils/polkit \
15
		libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib
18
		libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib
16
19
17
LICENSE=	GPLv2
20
OPTIONS_DEFINE=	MANPAGES
18
LICENSE_FILE=	${WRKSRC}/COPYING
21
OPTIONS_DEFAULT=MANPAGES
22
OPTIONS_SUB=	yes
23
MANPAGES_CONFIGURE_ENABLE=	man-pages
24
MANPAGES_BUILD_DEPENDS= \
25
	${LOCALBASE}/share/sgml/docbook/4.1:${PORTSDIR}/textproc/docbook-sgml \
26
    	${LOCALBASE}/share/xml/docbook/4.1.2:${PORTSDIR}/textproc/docbook-xml \
27
    	xsltproc:${PORTSDIR}/textproc/libxslt \
28
	${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:${PORTSDIR}/textproc/docbook-xsl
29
19
USES=		gettext gmake libtool:keepla pathfix pkgconfig tar:bzip2
30
USES=		gettext gmake libtool:keepla pathfix pkgconfig tar:bzip2
20
USE_GNOME=	intlhack glib20 introspection:build,run
31
USE_GNOME=	intlhack glib20 introspection:build,run
21
GNU_CONFIGURE=	yes
32
GNU_CONFIGURE=	yes
Lines 29-40 CPPFLAGS+= -I${LOCALBASE}/include Link Here
29
LDFLAGS+=	-L${LOCALBASE}/lib
40
LDFLAGS+=	-L${LOCALBASE}/lib
30
INSTALL_TARGET=	install-strip
41
INSTALL_TARGET=	install-strip
31
42
32
BUILD_DEPENDS+=	${LOCALBASE}/share/sgml/docbook/4.1:${PORTSDIR}/textproc/docbook-sgml \
33
		${LOCALBASE}/share/xml/docbook/4.1.2:${PORTSDIR}/textproc/docbook-xml \
34
		xsltproc:${PORTSDIR}/textproc/libxslt \
35
		${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:${PORTSDIR}/textproc/docbook-xsl
36
37
post-install:
38
	@${MKDIR} ${STAGEDIR}/var/lib/DeviceKit-power
39
40
.include <bsd.port.mk>
43
.include <bsd.port.mk>
(-)sysutils/upower/pkg-plist (-5 / +4 lines)
Lines 21-29 lib/libupower-glib.so.1.0.1 Link Here
21
libdata/pkgconfig/upower-glib.pc
21
libdata/pkgconfig/upower-glib.pc
22
libexec/devkit-power-daemon
22
libexec/devkit-power-daemon
23
libexec/upowerd
23
libexec/upowerd
24
man/man1/upower.1.gz
24
%%MANPAGES%%man/man1/upower.1.gz
25
man/man7/UPower.7.gz
25
%%MANPAGES%%man/man7/UPower.7.gz
26
man/man8/upowerd.8.gz
26
%%MANPAGES%%man/man8/upowerd.8.gz
27
share/dbus-1/interfaces/org.freedesktop.UPower.Device.xml
27
share/dbus-1/interfaces/org.freedesktop.UPower.Device.xml
28
share/dbus-1/interfaces/org.freedesktop.UPower.KbdBacklight.xml
28
share/dbus-1/interfaces/org.freedesktop.UPower.KbdBacklight.xml
29
share/dbus-1/interfaces/org.freedesktop.UPower.QoS.xml
29
share/dbus-1/interfaces/org.freedesktop.UPower.QoS.xml
Lines 37-45 share/locale/pl/LC_MESSAGES/upower.mo Link Here
37
share/locale/sv/LC_MESSAGES/upower.mo
37
share/locale/sv/LC_MESSAGES/upower.mo
38
share/polkit-1/actions/org.freedesktop.upower.policy
38
share/polkit-1/actions/org.freedesktop.upower.policy
39
share/polkit-1/actions/org.freedesktop.upower.qos.policy
39
share/polkit-1/actions/org.freedesktop.upower.qos.policy
40
@exec mkdir -p /var/lib/DeviceKit-power
40
@exec mkdir -p /var/lib/upower
41
@dirrm include/libupower-glib
41
@dirrm include/libupower-glib
42
@dirrm etc/UPower
42
@dirrm etc/UPower
43
@unexec rmdir /var/lib/DeviceKit-power 2>/dev/null || true
44
@unexec rmdir /var/lib/upower 2>/dev/null || true
43
@unexec rmdir /var/lib/upower 2>/dev/null || true
45
@unexec rmdir /var/lib 2>/dev/null || true
44
@unexec rmdir /var/lib 2>/dev/null || true

Return to bug 185287