summaryrefslogtreecommitdiff
path: root/sysutils/gkrellm/Makefile.common
blob: 3e985b8c9643b267a998893e045db69b2fd92922 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# $NetBSD: Makefile.common,v 1.13 2005/12/05 20:51:00 rillig Exp $

DISTNAME=	${GKRELLM_DISTBASE}
PKGNAME=	${GKRELLM_PKGBASE}-${GKRELLM_VERSION}
CATEGORIES=	sysutils
MASTER_SITES=	http://members.dslextreme.com/users/billw/gkrellm/
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	cube@NetBSD.org
HOMEPAGE=	http://gkrellm.net/

CONFLICTS+=	gkrellm-1*

USE_TOOLS+=		gmake
USE_PKGLOCALEDIR=	YES

MAKE_ENV+=		LOCALEDIR=${PREFIX}/${PKGLOCALEDIR}/locale
MAKE_ENV+=		GREP=${GREP:Q}

.if defined(GKRELLM_DEBUG)
MAKE_ENV+=		DEBUG=yes
.endif

GKRELLM_VERSION=	2.2.7
GKRELLM_DISTBASE=	gkrellm-${GKRELLM_VERSION}
GKRELLM_SRCDIR=		${WRKDIR}/${GKRELLM_DISTBASE}

FILESDIR=		${.CURDIR}/../../sysutils/gkrellm/files
PATCHDIR=		${.CURDIR}/../../sysutils/gkrellm/patches
DISTINFO_FILE=		${.CURDIR}/../../sysutils/gkrellm/distinfo

post-extract:
	${CP} ${FILESDIR}/top.Makefile ${WRKSRC}/Makefile
	${CP} ${FILESDIR}/top.Makefile.inc ${WRKSRC}/Makefile.inc
	${CP} ${FILESDIR}/po.Makefile ${WRKSRC}/po/Makefile
	${CP} ${FILESDIR}/server.Makefile ${WRKSRC}/server/Makefile
	${CP} ${FILESDIR}/src.Makefile ${WRKSRC}/src/Makefile