blob: d6976b729e8a6efd1a4e2b7949cc3a8e21730311 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
# $FreeBSD$
# $MCom: ports-experimental/trunk/sysutils/gnome-power-manager/Makefile 19443 2014-04-02 07:40:41Z gusi $
PORTNAME= gnome-power-manager
PORTVERSION= 3.12.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:${PORTSDIR}/sysutils/upower
USES= gettext gmake pathfix pkgconfig tar:xz
INSTALLS_ICONS= yes
USE_GNOME= gnomeprefix gtk30 intlhack
MAKE_JOBS_UNSAFE=yes
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:${PORTSDIR}/textproc/docbook-utils \
${LOCALBASE}/share/sgml/docbook/4.1:${PORTSDIR}/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>
|