Files
ports/sysutils/mate-power-manager/Makefile
T
Eric Turgeon 4a684fcdc4 sysutils/mate-power-manager: remove unneeded USE_GITHUB and GH_ACCOUNT
Remove USE_GITHUB=nodefault and GH_ACCOUNT as they are not needed
with an explicit MASTER_SITES. Add back DIST_SUBDIR=mate.
2026-06-19 08:12:56 -03:00

49 lines
1.5 KiB
Makefile

PORTNAME= mate-power-manager
DISTVERSION= 1.28.1
PORTREVISION= 2
CATEGORIES= sysutils mate
MASTER_SITES= https://github.com/mate-desktop/${PORTNAME}/releases/download/v${DISTVERSION}/
DIST_SUBDIR= mate
MAINTAINER= gnome@FreeBSD.org
COMMENT= Power management system for the MATE Desktop
WWW= https://mate-desktop.org/
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= itstool:textproc/itstool
LIB_DEPENDS= libcanberra-gtk3.so:audio/libcanberra-gtk3 \
libdbus-1.so:devel/dbus \
libdbus-glib-1.so:devel/dbus-glib \
libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2 \
libnotify.so:devel/libnotify \
libsecret-1.so:security/libsecret \
libunique-3.0.so:x11-toolkits/libunique3 \
libupower-glib.so:sysutils/upower
RUN_DEPENDS= pkexec:sysutils/polkit
USES= gettext gmake gnome libtool localbase mate pathfix pkgconfig \
tar:xz xorg
USE_MATE= panel
USE_XORG= x11 xext xorgproto xrandr xrender
USE_GNOME= cairo glib20 gtk30 intlhack
PORTSCOUT= site:https://github.com/mate-desktop/mate-power-manager/releases/ limitw:1,even
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
CONFIGURE_ENV= LIBS="-lexecinfo"
CONFIGURE_ARGS= --disable-docbook-docs \
--with-doc-dir=${PREFIX}/share/doc \
--with-gtk=3.0
GLIB_SCHEMAS= org.mate.power-manager.gschema.xml
post-patch:
@${REINPLACE_CMD} -e "s|docbook2man|docbook2man_disabled|g" \
${WRKSRC}/configure
@${TOUCH} ${WRKSRC}/aclocal.m4 ${WRKSRC}/Makefile.in \
${WRKSRC}/configure ${WRKSRC}/config.h.in
.include <bsd.port.mk>