ports/181055: misc/gkrellm-helium: Update MASTER_SITES and WWW: line
KATO Tsuguru
tkato432 at yahoo.com
Thu Oct 31 19:40:23 UTC 2013
The following reply was made to PR ports/181055; it has been noted by GNATS.
From: KATO Tsuguru <tkato432 at yahoo.com>
To: bug-followup at FreeBSD.org
Cc:
Subject: Re: ports/181055: misc/gkrellm-helium: Update MASTER_SITES and WWW:
line
Date: Fri, 1 Nov 2013 04:25:43 +0900
This is a multi-part message in MIME format.
--Multipart=_Fri__1_Nov_2013_04_25_43_+0900_KJ65OWB+Jk7uQj3M
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Remake of the patch against current tree.
--Multipart=_Fri__1_Nov_2013_04_25_43_+0900_KJ65OWB+Jk7uQj3M
Content-Type: text/x-diff;
name="misc_gkrellm-helium.diff"
Content-Disposition: attachment;
filename="misc_gkrellm-helium.diff"
Content-Transfer-Encoding: 7bit
diff -urN /usr/ports/misc/gkrellm-helium/Makefile misc/gkrellm-helium/Makefile
--- /usr/ports/misc/gkrellm-helium/Makefile 2013-09-22 00:31:56.000000000 +0900
+++ misc/gkrellm-helium/Makefile 2013-11-01 00:00:00.000000000 +0900
@@ -3,29 +3,33 @@
PORTNAME= gkrellm-helium
PORTVERSION= 2.3.1
-PORTREVISION= 11
+PORTREVISION= 12
CATEGORIES= misc
-MASTER_SITES= http://makovick.googlepages.com/
+MASTER_SITES= https://sites.google.com/site/makovick/projects/
EXTRACT_SUFX= .tgz
MAINTAINER= ports at 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:${PORTSDIR}/ftp/curl
+LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl
RUN_DEPENDS= gkrellm:${PORTSDIR}/sysutils/gkrellm2
+FETCH_ARGS= -Fpr
+
USES= pkgconfig
-PLIST_FILES= libexec/gkrellm2/plugins/helium.so
-CFLAGS+= -fPIC -I${LOCALBASE}/include
-MAKE_ARGS= CFLAGS="${CFLAGS}"
+PLIST_FILES= libexec/gkrellm2/plugins/helium.so
-NO_STAGE= yes
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
- @${REINPLACE_CMD} -e '/<curl\/types.h>/d' ${WRKSRC}/http_net.c
+ @${REINPLACE_CMD} -e \
+ 's|/usr/local/lib/gkrellm2|${STAGEDIR}${PREFIX}/libexec/gkrellm2| ; \
+ /^CFLAGS/s| =.*| += -fPIC `pkg-config libcurl --cflags`| ; \
+ s|gcc |$$(CC) | ; \
+ s|-lcurl|`pkg-config libcurl --libs`|' ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e \
+ 's|ulong|u_long|' ${WRKSRC}/*.c
+ @${REINPLACE_CMD} -e \
+ '/<curl\/types.h>/d' ${WRKSRC}/http_net.c
.include <bsd.port.mk>
diff -urN /usr/ports/misc/gkrellm-helium/pkg-descr misc/gkrellm-helium/pkg-descr
--- /usr/ports/misc/gkrellm-helium/pkg-descr 2013-06-21 03:47:59.000000000 +0900
+++ misc/gkrellm-helium/pkg-descr 2013-11-01 00:00:00.000000000 +0900
@@ -2,4 +2,4 @@
at Strahov, Prague, Czech republic. Great for all Prague citizens. Probably
useless for anybody else, sorry folks.
-WWW: http://makovick.googlepages.com/gkrellmplugins
+WWW: https://sites.google.com/site/makovick/gkrellm-plugins
--Multipart=_Fri__1_Nov_2013_04_25_43_+0900_KJ65OWB+Jk7uQj3M--
More information about the freebsd-ports-bugs
mailing list