diff options
author | pawel <pawel@FreeBSD.org> | 2013-11-02 21:27:04 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2013-11-02 21:27:04 +0800 |
commit | 8c2babcc639751aef73477ea04f790d878b3e5f4 (patch) | |
tree | 70bd7678bacd12ce6875d12139d85dad966d14db /misc | |
parent | 253c4803832928828d24fa0457e15018dbe1108b (diff) | |
download | freebsd-ports-gnome-8c2babcc639751aef73477ea04f790d878b3e5f4.tar.gz freebsd-ports-gnome-8c2babcc639751aef73477ea04f790d878b3e5f4.tar.zst freebsd-ports-gnome-8c2babcc639751aef73477ea04f790d878b3e5f4.zip |
- Update MASTER_SITES, WWW homepage
- Use new LIB_DEPENDS format
- Support staging
PR: ports/181055
Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Diffstat (limited to 'misc')
-rw-r--r-- | misc/gkrellm-helium/Makefile | 24 | ||||
-rw-r--r-- | misc/gkrellm-helium/pkg-descr | 2 |
2 files changed, 15 insertions, 11 deletions
diff --git a/misc/gkrellm-helium/Makefile b/misc/gkrellm-helium/Makefile index 6b8cab5c1c7d..56efb2d865bd 100644 --- a/misc/gkrellm-helium/Makefile +++ b/misc/gkrellm-helium/Makefile @@ -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> diff --git a/misc/gkrellm-helium/pkg-descr b/misc/gkrellm-helium/pkg-descr index 55dce6f927af..af2307391e6e 100644 --- a/misc/gkrellm-helium/pkg-descr +++ b/misc/gkrellm-helium/pkg-descr @@ -2,4 +2,4 @@ Tiny GKrellM plugin for reading temperature data from the helium thermometer 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 |