1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/misc/gkrellm-helium/Makefile
Edwin Groothuis 090059a210 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 14:17:21 +00:00

33 lines
953 B
Makefile

# New ports collection makefile for: gkrellm-helium
# Date Created: 19 Apr 2003
# Whom: Pav Lucistnik <pav@oook.cz>
#
# $FreeBSD$
#
PORTNAME= gkrellm-helium
PORTVERSION= 2.3.1
PORTREVISION= 4
CATEGORIES= misc
MASTER_SITES= http://makovick.googlepages.com/
EXTRACT_SUFX= .tgz
MAINTAINER= pav@FreeBSD.org
COMMENT= GKrellM plugin reading data from helium thermometer at Strahov, Prague
BUILD_DEPENDS= ${LOCALBASE}/include/gkrellm2/gkrellm.h:${PORTSDIR}/sysutils/gkrellm2
LIB_DEPENDS= curl.4:${PORTSDIR}/ftp/curl
RUN_DEPENDS= gkrellm:${PORTSDIR}/sysutils/gkrellm2
PLIST_FILES= libexec/gkrellm2/plugins/helium.so
CFLAGS+= -fPIC -I${LOCALBASE}/include
MAKE_ARGS= CFLAGS="${CFLAGS}"
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local/lib/gkrellm2/plugins|${PREFIX}/libexec/gkrellm2/plugins| ; \
s|CFLAGS =|CFLAGS?=| ; s|-lcurl|-lcurl -L${LOCALBASE}/lib|' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's|ulong|u_long|' ${WRKSRC}/*.c
.include <bsd.port.mk>