Bug 181055

Summary: misc/gkrellm-helium: Update MASTER_SITES and WWW: line
Product: Ports & Packages Reporter: tkato432
Component: Individual Port(s)Assignee: Pawel Pekala <pawel>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff
none
misc_gkrellm-helium.diff
none
misc_gkrellm-helium.diff none

Description tkato432 2013-08-05 19:10:00 UTC
- Update MASTER_SITES and WWW: line
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-08-05 19:10:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

miwi@ wants this submitter's PRs (via the GNATS Auto Assign Tool)
Comment 2 tkato432 2013-09-11 18:57:39 UTC
Remake of the patch against current tree.
Comment 3 Bryan Drewery freebsd_committer freebsd_triage 2013-09-22 15:10:39 UTC
Responsible Changed
From-To: miwi->freebsd-ports-bugs

Back to the heap due to timeout
Comment 4 tkato432 2013-10-31 19:25:43 UTC
Remake of the patch against current tree.
Comment 5 Pawel Pekala freebsd_committer freebsd_triage 2013-11-02 13:05:30 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pawel

I'll take it.
Comment 6 dfilter service freebsd_committer freebsd_triage 2013-11-02 13:27:12 UTC
Author: pawel
Date: Sat Nov  2 13:27:04 2013
New Revision: 332480
URL: http://svnweb.freebsd.org/changeset/ports/332480

Log:
  - Update MASTER_SITES, WWW homepage
  - Use new LIB_DEPENDS format
  - Support staging
  
  PR:		ports/181055
  Submitted by:	KATO Tsuguru <tkato432@yahoo.com>

Modified:
  head/misc/gkrellm-helium/Makefile
  head/misc/gkrellm-helium/pkg-descr   (contents, props changed)

Modified: head/misc/gkrellm-helium/Makefile
==============================================================================
--- head/misc/gkrellm-helium/Makefile	Sat Nov  2 13:11:21 2013	(r332479)
+++ head/misc/gkrellm-helium/Makefile	Sat Nov  2 13:27:04 2013	(r332480)
@@ -5,27 +5,31 @@ PORTNAME=	gkrellm-helium
 PORTVERSION=	2.3.1
 PORTREVISION=	11
 CATEGORIES=	misc
-MASTER_SITES=	http://makovick.googlepages.com/
+MASTER_SITES=	https://sites.google.com/site/makovick/projects/
 EXTRACT_SUFX=	.tgz
 
 MAINTAINER=	ports@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>

Modified: head/misc/gkrellm-helium/pkg-descr
==============================================================================
--- head/misc/gkrellm-helium/pkg-descr	Sat Nov  2 13:11:21 2013	(r332479)
+++ head/misc/gkrellm-helium/pkg-descr	Sat Nov  2 13:27:04 2013	(r332480)
@@ -2,4 +2,4 @@ Tiny GKrellM plugin for reading temperat
 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
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 7 Pawel Pekala freebsd_committer freebsd_triage 2013-11-02 13:27:19 UTC
State Changed
From-To: open->closed

Committed. Thanks!