freebsd-ports/sysutils/gkrellm/Makefile

66 lines
1.5 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: gkrellm
# Date Created: Mar 4 2000
# Whom: Hajimu UMEMOTO <ume@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= gkrellm
2000-11-15 02:43:09 -05:00
PORTVERSION= 1.0.2
CATEGORIES= sysutils ipv6
MASTER_SITES= http://web.wt.net/~billw/gkrellm/ \
${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= ume
MAINTAINER= ume@FreeBSD.org
USE_X_PREFIX= yes
2000-10-05 02:57:56 -04:00
USE_IMLIB= yes
2000-05-18 16:12:14 -04:00
USE_GMAKE= yes
2000-04-14 12:12:16 -04:00
INCLUDES= gkrellm.h gkrellm_public_proto.h gkrellm_private_proto.h
2000-06-22 13:08:03 -04:00
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 build WITHOUT_SENSOR=yes
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 300000
ALL_TARGET= freebsd2
2000-07-10 08:11:52 -04:00
.else
ALL_TARGET= freebsd
.endif
BINGRP= kmem
.if !defined(WITHOUT_SENSOR)
BINOWN= root
BINMODE= 4111
.else
BINMODE= 2111
.endif
2000-10-19 14:27:44 -04:00
CFLAGS+= -DSYSTEM_THEMES_DIR='\"${PREFIX}/share/gkrellm/themes\"' \
-DSYSTEM_PLUGINS_DIR='\"${PREFIX}/libexec/gkrellm/plugins\"'
2000-04-14 12:12:16 -04:00
do-install:
2000-05-18 16:12:14 -04:00
${INSTALL_PROGRAM} ${WRKSRC}/src/gkrellm ${PREFIX}/bin/gkrellm
2000-04-14 12:12:16 -04:00
@${MKDIR} ${PREFIX}/include/gkrellm
.for file in ${INCLUDES}
2000-05-18 16:12:14 -04:00
${INSTALL_DATA} ${WRKSRC}/src/${file} ${PREFIX}/include/gkrellm
2000-04-14 12:12:16 -04:00
.endfor
@${MKDIR} ${PREFIX}/libexec/gkrellm/plugins
@${MKDIR} ${PREFIX}/share/gkrellm/themes
.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>