Bug 181055 - misc/gkrellm-helium: Update MASTER_SITES and WWW: line
Summary: misc/gkrellm-helium: Update MASTER_SITES and WWW: line
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Pawel Pekala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-05 19:10 UTC by tkato432
Modified: 2013-11-02 13:30 UTC (History)
0 users

See Also:


Attachments
file.diff (2.21 KB, patch)
2013-08-05 19:10 UTC, tkato432
no flags Details | Diff
misc_gkrellm-helium.diff (1.99 KB, patch)
2013-09-11 18:57 UTC, tkato432
no flags Details | Diff
misc_gkrellm-helium.diff (2.19 KB, patch)
2013-10-31 19:25 UTC, tkato432
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!