2000-03-19 14:53:36 +00:00
|
|
|
# New ports collection makefile for: gkrellm
|
|
|
|
# Date Created: Mar 4 2000
|
|
|
|
# Whom: Hajimu UMEMOTO <ume@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-09 19:09:11 +00:00
|
|
|
PORTNAME= gkrellm
|
2002-01-05 18:36:24 +00:00
|
|
|
PORTVERSION= 1.2.8
|
2000-03-19 14:53:36 +00:00
|
|
|
CATEGORIES= sysutils ipv6
|
|
|
|
MASTER_SITES= http://web.wt.net/~billw/gkrellm/ \
|
2000-06-18 19:25:56 +00:00
|
|
|
${MASTER_SITE_LOCAL}
|
|
|
|
MASTER_SITE_SUBDIR= ume
|
2000-03-19 14:53:36 +00:00
|
|
|
|
|
|
|
MAINTAINER= ume@FreeBSD.org
|
|
|
|
|
|
|
|
USE_X_PREFIX= yes
|
2000-10-05 06:57:56 +00:00
|
|
|
USE_IMLIB= yes
|
2000-05-18 20:12:14 +00:00
|
|
|
USE_GMAKE= yes
|
2000-03-19 14:53:36 +00:00
|
|
|
|
2001-01-15 08:54:42 +00:00
|
|
|
INCLUDES= gkrellm.h gkrellm_public_proto.h
|
2001-03-14 19:05:41 +00:00
|
|
|
MAN1= gkrellm.1
|
2000-06-22 17:08:03 +00:00
|
|
|
DOCS= COPYRIGHT README Themes.html
|
2000-03-19 14:53:36 +00:00
|
|
|
|
2001-09-17 19:09:23 +00: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 14:53:36 +00:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} < 300000
|
|
|
|
ALL_TARGET= freebsd2
|
2000-07-10 12:11:52 +00:00
|
|
|
.else
|
|
|
|
ALL_TARGET= freebsd
|
2000-03-19 14:53:36 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
BINGRP= kmem
|
2001-09-17 19:09:23 +00:00
|
|
|
.if defined(WITH_SENSOR)
|
2000-03-19 14:53:36 +00:00
|
|
|
BINOWN= root
|
|
|
|
BINMODE= 4111
|
|
|
|
.else
|
|
|
|
BINMODE= 2111
|
|
|
|
.endif
|
|
|
|
|
2001-12-05 19:28:32 +00:00
|
|
|
MAKE_ENV+= LOCALEDIR=${PREFIX}/share/locale
|
2000-10-19 18:27:44 +00:00
|
|
|
CFLAGS+= -DSYSTEM_THEMES_DIR='\"${PREFIX}/share/gkrellm/themes\"' \
|
|
|
|
-DSYSTEM_PLUGINS_DIR='\"${PREFIX}/libexec/gkrellm/plugins\"'
|
2000-04-14 16:12:16 +00:00
|
|
|
|
2000-03-19 14:53:36 +00:00
|
|
|
do-install:
|
2000-05-18 20:12:14 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/gkrellm ${PREFIX}/bin/gkrellm
|
2001-10-23 16:50:04 +00:00
|
|
|
@cd ${WRKSRC}/po && \
|
2001-03-14 19:05:41 +00:00
|
|
|
${GMAKE} install enable_nls=1 LOCALEDIR=${PREFIX}/share/locale
|
|
|
|
|
2000-04-14 16:12:16 +00:00
|
|
|
@${MKDIR} ${PREFIX}/include/gkrellm
|
|
|
|
.for file in ${INCLUDES}
|
2000-05-18 20:12:14 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/src/${file} ${PREFIX}/include/gkrellm
|
2000-04-14 16:12:16 +00:00
|
|
|
.endfor
|
2000-06-26 16:21:19 +00:00
|
|
|
@${MKDIR} ${PREFIX}/libexec/gkrellm/plugins
|
|
|
|
@${MKDIR} ${PREFIX}/share/gkrellm/themes
|
2001-03-14 19:05:41 +00:00
|
|
|
.for file in ${MAN1}
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/${file} ${MANPREFIX}/man/man1/${file}
|
|
|
|
.endfor
|
2000-03-19 14:53:36 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${PREFIX}/share/doc/gkrellm
|
|
|
|
.for file in ${DOCS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/gkrellm
|
|
|
|
.endfor
|
|
|
|
.endif
|
2001-09-17 19:09:23 +00:00
|
|
|
.if !defined(WITH_SENSOR)
|
2000-10-08 10:23:48 +00:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
2000-03-19 14:53:36 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|