freebsd-ports/sysutils/gnome-power-manager/Makefile
Mathieu Arnold 597afc47ba Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:25:16 +00:00

44 lines
1.1 KiB
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
LIB_DEPENDS= libupower-glib.so:sysutils/upower
PORTSCOUT= limitw:1,even
USES= gettext gmake gnome libtool 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
.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 "
post-patch:
@${REINPLACE_CMD} -e "s|2MAN_TRUE=$$|2MAN_TRUE='#'|g ; \
s|2MAN_FALSE='#'|2MAN_FALSE=|g" ${WRKSRC}/configure
.endif
.include <bsd.port.mk>