1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/sysutils/gapcmon/Makefile
Ion-Mihai Tetcu 4bb614ac54 GUI application used to monitor UPS devices controlled by the APCUPSD package.
The program uses the NIS interface from apcupsd to collect event and status
information for display to the end-user.  Because of this great interface,
this program can be executed on any OS supported machine and use the network
socket interface to connect back to apcupsd.

WWW: http://gapcmon.sourceforge.net/

PR:		ports/98117
Submitted by:	Jason E. Hale <bsdkaffee@gmail.com>
Approved by:	lawrance (mentor, implicit)
2006-06-07 21:12:48 +00:00

42 lines
1.0 KiB
Makefile

# New ports collection makefile for: gapcmon
# Date Created: Sun, May 28, 2006
# Whom: Jason E. Hale <bsdkaffee@gmail.com>
#
# $FreeBSD$
#
PORTNAME= gapcmon
PORTVERSION= 0.8.2
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= bsdkaffee@gmail.com
COMMENT= Montior apcupsd with GTK+2 GUI
USE_BZIP2= yes
USE_GMAKE= yes
USE_ICONV= yes
USE_X_PREFIX= yes
USE_GNOME= gnomehack gnometarget gnomevfs2
GNU_CONFIGURE= yes
PORTDOCS= AUTHORS ChangeLog INSTALL
post-extract:
@${REINPLACE_CMD} "s|/usr/share/pixmaps/|${PREFIX}/share/pixmaps/|" \
${WRKSRC}/src/gapcmon.c
@${REINPLACE_CMD} "s|/usr/share/icons/gnome/48x48/devices/gnome-dev-battery.png|${PREFIX}/share/pixmaps/apcupsd.png|" \
${WRKSRC}/gapcmon.desktop
@${REINPLACE_CMD} 's|install-gapcmondocDATA \\|\\|' \
${WRKSRC}/Makefile.in
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
@${CAT} pkg-message
.include <bsd.port.mk>