aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-03-21 04:16:31 +0800
committerpav <pav@FreeBSD.org>2005-03-21 04:16:31 +0800
commit34e406bd903638ddd800ce7c70948233e9109429 (patch)
tree17253d660810c14065b22f5ea6b18e414623de06 /misc
parent731dbdcd8c162633c5216b5fd99504aa2a832e4a (diff)
downloadfreebsd-ports-gnome-34e406bd903638ddd800ce7c70948233e9109429.tar.gz
freebsd-ports-gnome-34e406bd903638ddd800ce7c70948233e9109429.tar.zst
freebsd-ports-gnome-34e406bd903638ddd800ce7c70948233e9109429.zip
- Update to 2.3.1
Diffstat (limited to 'misc')
-rw-r--r--misc/gkrellm-helium/Makefile12
-rw-r--r--misc/gkrellm-helium/distinfo4
-rw-r--r--misc/gkrellm-helium/pkg-descr2
3 files changed, 10 insertions, 8 deletions
diff --git a/misc/gkrellm-helium/Makefile b/misc/gkrellm-helium/Makefile
index 471b8ca729ba..6b7100ccef8c 100644
--- a/misc/gkrellm-helium/Makefile
+++ b/misc/gkrellm-helium/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= gkrellm-helium
-PORTVERSION= 2.1
-PORTREVISION= 4
+PORTVERSION= 2.3.1
CATEGORIES= misc
MASTER_SITES= http://kmlinux.fjfi.cvut.cz/~makovick/gkrellm/
EXTRACT_SUFX= .tgz
@@ -16,16 +15,19 @@ MAINTAINER= pav@FreeBSD.org
COMMENT= GKrellM plugin reading data from helium thermometer at Strahov, Prague
BUILD_DEPENDS= ${X11BASE}/include/gkrellm2/gkrellm.h:${PORTSDIR}/sysutils/gkrellm2
+LIB_DEPENDS= curl.3:${PORTSDIR}/ftp/curl
RUN_DEPENDS= gkrellm:${PORTSDIR}/sysutils/gkrellm2
PLIST_FILES= libexec/gkrellm2/plugins/helium.so
USE_X_PREFIX= yes
USE_REINPLACE= yes
+CFLAGS+= -fPIC -I${LOCALBASE}/include
+MAKE_ARGS= CFLAGS="${CFLAGS}"
+
post-patch:
- @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
- s|/usr/local/lib/gkrellm2/plugins|${PREFIX}/libexec/gkrellm2/plugins| ; \
- s|gcc -c|gcc -c -fPIC|g' ${WRKSRC}/Makefile
+ @${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>
diff --git a/misc/gkrellm-helium/distinfo b/misc/gkrellm-helium/distinfo
index 487f1f6ffbf1..8e9ccde48036 100644
--- a/misc/gkrellm-helium/distinfo
+++ b/misc/gkrellm-helium/distinfo
@@ -1,2 +1,2 @@
-MD5 (gkrellm-helium-2.1.tgz) = 53cbd8cff5f20b2d5a0297c94826f4f2
-SIZE (gkrellm-helium-2.1.tgz) = 2979
+MD5 (gkrellm-helium-2.3.1.tgz) = 87ab257c30f4e4b5ca6aa350b902b78d
+SIZE (gkrellm-helium-2.3.1.tgz) = 3607
diff --git a/misc/gkrellm-helium/pkg-descr b/misc/gkrellm-helium/pkg-descr
index 3d9ba593fb17..cb7765c41c2c 100644
--- a/misc/gkrellm-helium/pkg-descr
+++ b/misc/gkrellm-helium/pkg-descr
@@ -2,4 +2,4 @@ Tiny GKrellM plugin for reading temperature data from the helium thermometer
at Strahov, Prague, Czech republic. Great for all Prague citizens. Probably
useless for anybody else, sorry folks.
-WWW: http://stoupa.sh.cvut.cz/teplomer/
+WWW: http://kmlinux.fjfi.cvut.cz/~makovick/gkrellm/