2013-11-23 12:39:07 +01:00
|
|
|
# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= mate-power-manager
|
2014-10-06 15:04:52 +02:00
|
|
|
PORTVERSION= 1.8.1
|
2013-11-23 12:39:07 +01:00
|
|
|
CATEGORIES= sysutils mate
|
|
|
|
MASTER_SITES= MATE
|
|
|
|
DIST_SUBDIR= mate
|
|
|
|
|
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
|
|
|
COMMENT= Power management system for the MATE Desktop
|
|
|
|
|
2014-09-10 15:11:28 +02:00
|
|
|
BUILD_DEPENDS= itstool:${PORTSDIR}/textproc/itstool
|
2013-11-23 12:39:07 +01:00
|
|
|
LIB_DEPENDS= libcanberra-gtk.so:${PORTSDIR}/audio/libcanberra \
|
|
|
|
libdbus-1.so:${PORTSDIR}/devel/dbus \
|
|
|
|
libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib \
|
|
|
|
libunique-1.0.so:${PORTSDIR}/x11-toolkits/unique \
|
|
|
|
libupower-glib.so:${PORTSDIR}/sysutils/upower \
|
|
|
|
libnotify.so:${PORTSDIR}/devel/libnotify
|
|
|
|
RUN_DEPENDS= pkexec:${PORTSDIR}/sysutils/polkit
|
|
|
|
|
|
|
|
PORTSCOUT= limitw:1,even
|
|
|
|
|
2014-10-06 15:04:52 +02:00
|
|
|
USES= execinfo gettext gmake libtool pathfix pkgconfig tar:xz
|
2014-09-10 15:11:28 +02:00
|
|
|
USE_MATE= panel
|
2013-11-23 12:39:07 +01:00
|
|
|
USE_XORG= x11 xext xproto xrandr xrender
|
2014-10-06 15:04:52 +02:00
|
|
|
USE_GNOME= cairo glib20 gtk20 intlhack
|
2013-11-23 12:39:07 +01:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
INSTALLS_ICONS= yes
|
2014-09-10 15:11:28 +02:00
|
|
|
CONFIGURE_ENV= LIBS="-lexecinfo"
|
2013-11-23 12:39:07 +01:00
|
|
|
CONFIGURE_ARGS= --with-doc-dir=${PREFIX}/share/doc \
|
|
|
|
--disable-docbook-docs \
|
2014-09-10 15:11:28 +02:00
|
|
|
--with-gtk=2.0
|
|
|
|
# needs gnome-keyring 3.0.0+
|
|
|
|
CONFIGURE_ARGS+=--without-keyring
|
2013-11-23 12:39:07 +01:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
|
|
|
|
GLIB_SCHEMAS= org.mate.power-manager.gschema.xml
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e "s|docbook2man|docbook2man_disabled|g" \
|
2014-09-10 15:11:28 +02:00
|
|
|
${WRKSRC}/configure
|
|
|
|
@${TOUCH} ${WRKSRC}/aclocal.m4 ${WRKSRC}/Makefile.in \
|
|
|
|
${WRKSRC}/configure ${WRKSRC}/config.h.in
|
2013-11-23 12:39:07 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|