2000-03-19 15:53:36 +01:00
|
|
|
# New ports collection makefile for: gkrellm
|
|
|
|
# Date Created: Mar 4 2000
|
|
|
|
# Whom: Hajimu UMEMOTO <ume@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-09 21:09:11 +02:00
|
|
|
PORTNAME= gkrellm
|
2002-07-02 10:02:52 +02:00
|
|
|
PORTVERSION= 1.2.13
|
2004-11-22 18:00:44 +01:00
|
|
|
PORTREVISION= 3
|
2000-03-19 15:53:36 +01:00
|
|
|
CATEGORIES= sysutils ipv6
|
2005-02-20 07:16:59 +01:00
|
|
|
MASTER_SITES= http://members.dslextreme.com/users/billw/gkrellm/ \
|
2000-06-18 21:25:56 +02:00
|
|
|
${MASTER_SITE_LOCAL}
|
|
|
|
MASTER_SITE_SUBDIR= ume
|
2000-03-19 15:53:36 +01:00
|
|
|
|
|
|
|
MAINTAINER= ume@FreeBSD.org
|
2003-02-20 21:10:05 +01:00
|
|
|
COMMENT= A GTK based system monitor
|
2000-03-19 15:53:36 +01:00
|
|
|
|
2003-10-19 21:04:47 +02:00
|
|
|
CONFLICTS= gkrellm-2.*
|
|
|
|
|
2002-02-16 06:56:44 +01:00
|
|
|
USE_BZIP2= yes
|
2000-03-19 15:53:36 +01:00
|
|
|
USE_X_PREFIX= yes
|
2002-09-01 17:26:31 +02:00
|
|
|
USE_GNOME= imlib
|
2004-03-15 16:28:02 +01:00
|
|
|
USE_GETTEXT= yes
|
2000-05-18 22:12:14 +02:00
|
|
|
USE_GMAKE= yes
|
2000-03-19 15:53:36 +01:00
|
|
|
|
2001-01-15 09:54:42 +01:00
|
|
|
INCLUDES= gkrellm.h gkrellm_public_proto.h
|
2001-03-14 20:05:41 +01:00
|
|
|
MAN1= gkrellm.1
|
2005-02-04 13:42:11 +01:00
|
|
|
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
PORTDOCS= COPYRIGHT README Themes.html
|
|
|
|
.endif
|
2000-03-19 15:53:36 +01:00
|
|
|
|
2001-09-17 21:09:23 +02:00
|
|
|
# If you want to support LM78/79 feature, set this to `yes'. You
|
|
|
|
# should aware that GKrellM must be setuid root to obtain
|
|
|
|
# temperatures. Furthermore, this causes problem on some
|
|
|
|
# motherboards. If your motherboard doesn't support LM78/79 feature,
|
|
|
|
# you should not enable this.
|
|
|
|
# WITH_SENSOR=yes
|
2000-03-19 15:53:36 +01:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} < 300000
|
|
|
|
ALL_TARGET= freebsd2
|
2000-07-10 14:11:52 +02:00
|
|
|
.else
|
|
|
|
ALL_TARGET= freebsd
|
2000-03-19 15:53:36 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
BINGRP= kmem
|
2001-09-17 21:09:23 +02:00
|
|
|
.if defined(WITH_SENSOR)
|
2000-03-19 15:53:36 +01:00
|
|
|
BINOWN= root
|
2003-02-11 20:34:33 +01:00
|
|
|
BINMODE= 4511
|
2000-03-19 15:53:36 +01:00
|
|
|
.else
|
2003-02-11 20:34:33 +01:00
|
|
|
BINMODE= 2511
|
2000-03-19 15:53:36 +01:00
|
|
|
.endif
|
|
|
|
|
2001-12-05 20:28:32 +01:00
|
|
|
MAKE_ENV+= LOCALEDIR=${PREFIX}/share/locale
|
2000-10-19 20:27:44 +02:00
|
|
|
CFLAGS+= -DSYSTEM_THEMES_DIR='\"${PREFIX}/share/gkrellm/themes\"' \
|
|
|
|
-DSYSTEM_PLUGINS_DIR='\"${PREFIX}/libexec/gkrellm/plugins\"'
|
2000-04-14 18:12:16 +02:00
|
|
|
|
2000-03-19 15:53:36 +01:00
|
|
|
do-install:
|
2000-05-18 22:12:14 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/gkrellm ${PREFIX}/bin/gkrellm
|
2001-10-23 18:50:04 +02:00
|
|
|
@cd ${WRKSRC}/po && \
|
2001-03-14 20:05:41 +01:00
|
|
|
${GMAKE} install enable_nls=1 LOCALEDIR=${PREFIX}/share/locale
|
|
|
|
|
2000-04-14 18:12:16 +02:00
|
|
|
@${MKDIR} ${PREFIX}/include/gkrellm
|
2005-02-04 13:42:11 +01:00
|
|
|
.for f in ${INCLUDES}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/src/${f} ${PREFIX}/include/gkrellm
|
2000-04-14 18:12:16 +02:00
|
|
|
.endfor
|
2000-06-26 18:21:19 +02:00
|
|
|
@${MKDIR} ${PREFIX}/libexec/gkrellm/plugins
|
|
|
|
@${MKDIR} ${PREFIX}/share/gkrellm/themes
|
2005-02-04 13:42:11 +01:00
|
|
|
.for f in ${MAN1}
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/${f} ${MANPREFIX}/man/man1/${f}
|
2001-03-14 20:05:41 +01:00
|
|
|
.endfor
|
2000-03-19 15:53:36 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
2005-02-04 13:42:11 +01:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
.for f in ${PORTDOCS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
2000-03-19 15:53:36 +01:00
|
|
|
.endfor
|
|
|
|
.endif
|
2001-09-17 21:09:23 +02:00
|
|
|
.if !defined(WITH_SENSOR)
|
2000-10-08 12:23:48 +02:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
2000-03-19 15:53:36 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|