2003-10-06 13:41:44 +02:00
|
|
|
# New ports collection makefile for: gkrellm-helium
|
|
|
|
# Date Created: 19 Apr 2003
|
|
|
|
# Whom: Pav Lucistnik <pav@oook.cz>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gkrellm-helium
|
2005-03-20 21:16:31 +01:00
|
|
|
PORTVERSION= 2.3.1
|
2010-04-03 12:44:36 +02:00
|
|
|
PORTREVISION= 9
|
2003-10-06 13:41:44 +02:00
|
|
|
CATEGORIES= misc
|
2008-03-01 23:30:50 +01:00
|
|
|
MASTER_SITES= http://makovick.googlepages.com/
|
2003-10-06 13:41:44 +02:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2003-11-14 02:10:23 +01:00
|
|
|
MAINTAINER= pav@FreeBSD.org
|
2003-10-06 13:41:44 +02:00
|
|
|
COMMENT= GKrellM plugin reading data from helium thermometer at Strahov, Prague
|
|
|
|
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/gkrellm2/gkrellm.h:${PORTSDIR}/sysutils/gkrellm2
|
2010-04-03 12:44:36 +02:00
|
|
|
LIB_DEPENDS= curl.6:${PORTSDIR}/ftp/curl
|
2003-10-06 13:41:44 +02:00
|
|
|
RUN_DEPENDS= gkrellm:${PORTSDIR}/sysutils/gkrellm2
|
|
|
|
|
2004-02-06 14:12:53 +01:00
|
|
|
PLIST_FILES= libexec/gkrellm2/plugins/helium.so
|
2003-10-06 13:41:44 +02:00
|
|
|
|
2005-03-20 21:16:31 +01:00
|
|
|
CFLAGS+= -fPIC -I${LOCALBASE}/include
|
|
|
|
MAKE_ARGS= CFLAGS="${CFLAGS}"
|
|
|
|
|
2003-10-06 13:41:44 +02:00
|
|
|
post-patch:
|
2005-03-20 21:16:31 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|/usr/local/lib/gkrellm2/plugins|${PREFIX}/libexec/gkrellm2/plugins| ; \
|
|
|
|
s|CFLAGS =|CFLAGS?=| ; s|-lcurl|-lcurl -L${LOCALBASE}/lib|' ${WRKSRC}/Makefile
|
2003-10-06 13:41:44 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|ulong|u_long|' ${WRKSRC}/*.c
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|