diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2017-09-10 17:01:46 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2017-09-10 17:01:46 +0800 |
commit | 410e9de852e099761ab341236bff2476322e40a3 (patch) | |
tree | ffe55cd595174214c886413f8fc85144c0acff83 /sysutils | |
parent | 4e7e5ff2592601b91fb86285adfddaa11ca83897 (diff) | |
download | freebsd-ports-gnome-410e9de852e099761ab341236bff2476322e40a3.tar.gz freebsd-ports-gnome-410e9de852e099761ab341236bff2476322e40a3.tar.zst freebsd-ports-gnome-410e9de852e099761ab341236bff2476322e40a3.zip |
- Add LICENSE
- Switch to USES=localbase
- Switch to options helpers
- Update WWW
Approved by: portmgr blanket
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/gnome-power-manager/Makefile | 21 | ||||
-rw-r--r-- | sysutils/gnome-power-manager/pkg-descr | 2 | ||||
-rw-r--r-- | sysutils/gnome-power-manager/pkg-plist | 2 |
3 files changed, 10 insertions, 15 deletions
diff --git a/sysutils/gnome-power-manager/Makefile b/sysutils/gnome-power-manager/Makefile index c5d59386a1ce..0c95c86e1fbf 100644 --- a/sysutils/gnome-power-manager/Makefile +++ b/sysutils/gnome-power-manager/Makefile @@ -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> - -.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 " +MANPAGES_BUILD_DEPENDS= docbook2html:textproc/docbook-utils \ + docbook-sgml>0:textproc/docbook-sgml -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> diff --git a/sysutils/gnome-power-manager/pkg-descr b/sysutils/gnome-power-manager/pkg-descr index 186c9ced498f..bf75914f2135 100644 --- a/sysutils/gnome-power-manager/pkg-descr +++ b/sysutils/gnome-power-manager/pkg-descr @@ -4,4 +4,4 @@ for HAL events and responds with user-configurable reactions. 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/ diff --git a/sysutils/gnome-power-manager/pkg-plist b/sysutils/gnome-power-manager/pkg-plist index 592c930e1eb8..04ce6ae8ee24 100644 --- a/sysutils/gnome-power-manager/pkg-plist +++ b/sysutils/gnome-power-manager/pkg-plist @@ -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 |