summaryrefslogtreecommitdiff
path: root/sysutils/gkrellm/Makefile.common
blob: cb777274e769970bed683c29e94925b1bdc75dd7 (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.12 2005/09/08 13:19:56 cube 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}

.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