Files
ports/sysutils/batterycat/Makefile
Charlie Li e87d8134a3 gnome.mk: rename gdkpixbuf2 to gdkpixbuf to prepare for port move
The GTK 1-based gdk-pixbuf has not existed for some time.

No functional or package changes.
2025-03-17 00:02:08 -04:00

34 lines
834 B
Makefile

PORTNAME= batterycat
PORTVERSION= 1.6
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= SF/${PORTNAME}/source_tarball
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= danfe@FreeBSD.org
COMMENT= Graphical battery monitoring tool
WWW= https://sourceforge.net/projects/batterycat/
LICENSE= GPLv2+
USES= gmake gnome pkgconfig
USE_GNOME= cairo gdkpixbuf gtk20
PLIST_FILES= bin/batterycat share/applications/batterycat.desktop \
${DATADIR_REL}/batterycat.html \
${DATADIR_REL}/batterycat_128.xpm \
${DATADIR_REL}/batterycat_32.xpm
OPTIONS_DEFINE= NLS
NLS_USES= gettext-tools
NLS_MAKE_ENV= WITH_NLS=yes
NLS_PLIST_FILES= share/locale/de/LC_MESSAGES/batterycat.mo \
share/locale/fr/LC_MESSAGES/batterycat.mo
post-patch:
@${REINPLACE_CMD} -e 's,^struct BATTERY_DATA,extern &,' \
${WRKSRC}/history.c
.include <bsd.port.mk>