1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/sysutils/gkrellm2/Makefile
Hajimu UMEMOTO af672497d5 - Update to 1.0.7.
- Enable language catalog.
- Master site is being down.  So, temporary master site is added.
2001-03-14 19:05:41 +00:00

76 lines
1.8 KiB
Makefile

# New ports collection makefile for: gkrellm
# Date Created: Mar 4 2000
# Whom: Hajimu UMEMOTO <ume@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= gkrellm
PORTVERSION= 1.0.7
CATEGORIES= sysutils ipv6
MASTER_SITES= http://web.wt.net/~billw/gkrellm/ \
http://newweb.wt.net/~billw/ \
${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= ume
MAINTAINER= ume@FreeBSD.org
USE_X_PREFIX= yes
USE_IMLIB= yes
USE_GMAKE= yes
INCLUDES= gkrellm.h gkrellm_public_proto.h
MAN1= gkrellm.1
DOCS= COPYRIGHT README Themes.html
# You should aware that GKrellM must be setuid root to obtain
# temperatures. If your motherboard doesn't support LM78/79 feature,
# you may not want this.
# WITHOUT_SENSOR=yes
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 300000
ALL_TARGET= freebsd2
.else
ALL_TARGET= freebsd
.endif
BINGRP= kmem
.if !defined(WITHOUT_SENSOR)
BINOWN= root
BINMODE= 4111
.else
BINMODE= 2111
.endif
MAKE_ENV+= enable_nls=1 LOCALEDIR=${PREFIX}/share/locale
CFLAGS+= -DSYSTEM_THEMES_DIR='\"${PREFIX}/share/gkrellm/themes\"' \
-DSYSTEM_PLUGINS_DIR='\"${PREFIX}/libexec/gkrellm/plugins\"'
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/gkrellm ${PREFIX}/bin/gkrellm
@cd ${WRKSRC}/locale && \
${GMAKE} install enable_nls=1 LOCALEDIR=${PREFIX}/share/locale
@${MKDIR} ${PREFIX}/include/gkrellm
.for file in ${INCLUDES}
${INSTALL_DATA} ${WRKSRC}/src/${file} ${PREFIX}/include/gkrellm
.endfor
@${MKDIR} ${PREFIX}/libexec/gkrellm/plugins
@${MKDIR} ${PREFIX}/share/gkrellm/themes
.for file in ${MAN1}
${INSTALL_MAN} ${WRKSRC}/${file} ${MANPREFIX}/man/man1/${file}
.endfor
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/gkrellm
.for file in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/gkrellm
.endfor
.endif
.if !defined(WITHOUT_SENSOR)
@${CAT} ${PKGMESSAGE}
.endif
.include <bsd.port.post.mk>