Date: Sun, 10 Sep 2017 09:01:46 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r449526 - head/sysutils/gnome-power-manager Message-ID: <201709100901.v8A91kFu011705@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Sun Sep 10 09:01:46 2017 New Revision: 449526 URL: https://svnweb.freebsd.org/changeset/ports/449526 Log: - Add LICENSE - Switch to USES=localbase - Switch to options helpers - Update WWW Approved by: portmgr blanket Modified: head/sysutils/gnome-power-manager/Makefile head/sysutils/gnome-power-manager/pkg-descr head/sysutils/gnome-power-manager/pkg-plist Modified: head/sysutils/gnome-power-manager/Makefile ============================================================================== --- head/sysutils/gnome-power-manager/Makefile Sun Sep 10 08:32:31 2017 (r449525) +++ head/sysutils/gnome-power-manager/Makefile Sun Sep 10 09:01:46 2017 (r449526) @@ -10,35 +10,30 @@ DIST_SUBDIR= gnome3 MAINTAINER= gnome@FreeBSD.org COMMENT= Power management system for the GNOME Desktop +LICENSE= GPLv2+ +LICENSE_FILE= ${WRKSRC}/COPYING + LIB_DEPENDS= libupower-glib.so:sysutils/upower PORTSCOUT= limitw:1,even -USES= gettext gmake gnome libtool pathfix pkgconfig tar:xz +USES= gettext gmake gnome libtool localbase:ldflags pathfix pkgconfig tar:xz INSTALLS_ICONS= yes USE_GNOME= gtk30 intlhack GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-doc-dir=${PREFIX}/share/doc \ --disable-docbook-docs -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib GLIB_SCHEMAS= org.gnome.power-manager.gschema.xml OPTIONS_DEFINE= MANPAGES +OPTIONS_SUB= yes -.include <bsd.port.options.mk> +MANPAGES_BUILD_DEPENDS= docbook2html:textproc/docbook-utils \ + docbook-sgml>0:textproc/docbook-sgml -.if ${PORT_OPTIONS:MMANPAGES} || defined(PACKAGE_BUILDING) -BUILD_DEPENDS+= docbook2html:textproc/docbook-utils \ - docbook-sgml>0:textproc/docbook-sgml -PLIST_SUB+= MAN="" -.else -PLIST_SUB+= MAN="@comment " - -post-patch: +post-patch-MANPAGES-off: @${REINPLACE_CMD} -e "s|2MAN_TRUE=$$|2MAN_TRUE='#'|g ; \ s|2MAN_FALSE='#'|2MAN_FALSE=|g" ${WRKSRC}/configure -.endif .include <bsd.port.mk> Modified: head/sysutils/gnome-power-manager/pkg-descr ============================================================================== --- head/sysutils/gnome-power-manager/pkg-descr Sun Sep 10 08:32:31 2017 (r449525) +++ head/sysutils/gnome-power-manager/pkg-descr Sun Sep 10 09:01:46 2017 (r449526) @@ -4,4 +4,4 @@ for HAL events and responds with user-configurable rea Currently it supports laptop batteries and AC adapters. Its goal is to be architecture neutral and free of polling and other hacks. -WWW: http://projects.gnome.org/gnome-power-manager/ +WWW: https://projects.gnome.org/gnome-power-manager/ Modified: head/sysutils/gnome-power-manager/pkg-plist ============================================================================== --- head/sysutils/gnome-power-manager/pkg-plist Sun Sep 10 08:32:31 2017 (r449525) +++ head/sysutils/gnome-power-manager/pkg-plist Sun Sep 10 09:01:46 2017 (r449526) @@ -1,5 +1,5 @@ bin/gnome-power-statistics -%%MAN%%man/man1/gnome-power-statistics.1.gz +%%MANPAGES%%man/man1/gnome-power-statistics.1.gz share/appdata/gnome-power-statistics.appdata.xml share/applications/gnome-power-statistics.desktop share/icons/hicolor/16x16/apps/gnome-power-statistics.png
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201709100901.v8A91kFu011705>