freebsd-ports/sysutils/gapcmon/Makefile
Rong-En Fan cdc05a5c51 - Update to 0.8.6
PR:		ports/116884
Submitted by:	Jason E. Hale <bsdkaffee at gmail.com> (maintainer)
2007-10-04 13:22:46 +00:00

44 lines
934 B
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.6
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_GNOME= gconf2
GNU_CONFIGURE= yes
PORTDOCS= AUTHORS ChangeLog INSTALL README
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 601103
IGNORE= needs gethostbyname_r(3)
.endif
post-extract:
@${REINPLACE_CMD} "s|/usr/share/pixmaps/|${PREFIX}/share/pixmaps/|" \
${WRKSRC}/src/gapcmon.c
@${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.post.mk>