1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/sysutils/gnome-power-manager/Makefile
Dmitry Marakasov 557117f3e9 - Add LICENSE
- Switch to USES=localbase
- Switch to options helpers
- Update WWW

Approved by:	portmgr blanket
2017-09-10 09:01:46 +00:00

40 lines
973 B
Makefile

# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
# $FreeBSD$
PORTNAME= gnome-power-manager
PORTVERSION= 3.18.0
CATEGORIES= sysutils gnome
MASTER_SITES= GNOME
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 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
GLIB_SCHEMAS= org.gnome.power-manager.gschema.xml
OPTIONS_DEFINE= MANPAGES
OPTIONS_SUB= yes
MANPAGES_BUILD_DEPENDS= docbook2html:textproc/docbook-utils \
docbook-sgml>0:textproc/docbook-sgml
post-patch-MANPAGES-off:
@${REINPLACE_CMD} -e "s|2MAN_TRUE=$$|2MAN_TRUE='#'|g ; \
s|2MAN_FALSE='#'|2MAN_FALSE=|g" ${WRKSRC}/configure
.include <bsd.port.mk>