ports/181055: misc/gkrellm-helium: Update MASTER_SITES and WWW: line

KATO Tsuguru tkato432 at yahoo.com
Mon Aug 5 18:10:01 UTC 2013


>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 at oook.cz>
-#
+# Created by: Pav Lucistnik <pav at 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 at 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:


More information about the freebsd-ports-bugs mailing list