summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-03-20 20:16:31 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-03-20 20:16:31 +0000
commit90ad54b5e2a43cc99513902a2478d9aa03e27cb9 (patch)
tree3e57214b13f2309b9497630191da3acc0fb34456 /misc
parentAdd digit to OSVERSION. (diff)
- Update to 2.3.1
Notes
Notes: svn path=/head/; revision=131784
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/