Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Aug 2013 02:54:37 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/181055: misc/gkrellm-helium: Update MASTER_SITES and WWW: line
Message-ID:  <20130806025437.1cfb2ac3ba6391beaddf0445@yahoo.com>
Resent-Message-ID: <201308051810.r75IA00V020080@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         181055
>Category:       ports
>Synopsis:       misc/gkrellm-helium: Update MASTER_SITES and WWW: line
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 05 18:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 8.4-RELEASE-p2 i386
>Organization:
>Environment:
>Description:
- Update MASTER_SITES and WWW: line

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/misc/gkrellm-helium/Makefile misc/gkrellm-helium/Makefile
--- /usr/ports/misc/gkrellm-helium/Makefile	2013-07-12 02:20:57.000000000 +0900
+++ misc/gkrellm-helium/Makefile	2013-08-06 00:00:00.000000000 +0900
@@ -1,15 +1,11 @@
-# New ports collection makefile for:	gkrellm-helium
-# Date Created:		19 Apr 2003
-# Whom:			Pav Lucistnik <pav@oook.cz>
-#
+# Created by: Pav Lucistnik <pav@oook.cz>
 # $FreeBSD: head/misc/gkrellm-helium/Makefile 322783 2013-07-11 16:26:26Z sunpoet $
-#
 
 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@FreeBSD.org
@@ -19,15 +15,19 @@
 LIB_DEPENDS=	curl:${PORTSDIR}/ftp/curl
 RUN_DEPENDS=	gkrellm:${PORTSDIR}/sysutils/gkrellm2
 
-PLIST_FILES=	libexec/gkrellm2/plugins/helium.so
+FETCH_ARGS=	-Fpr
 
-CFLAGS+=	-fPIC -I${LOCALBASE}/include
-MAKE_ARGS=	CFLAGS="${CFLAGS}"
+PLIST_FILES=	libexec/gkrellm2/plugins/helium.so
 
 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|${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-08-06 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
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130806025437.1cfb2ac3ba6391beaddf0445>