summaryrefslogtreecommitdiff
path: root/sysutils/gkrellm/Makefile.common
blob: 3cef23b4cd34d8ab9e6c7e14a761d2fd53c82f7e (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
# $NetBSD: Makefile.common,v 1.1.1.1 2004/02/24 22:11:28 cube Exp $

DISTNAME=	${GKRELLM_DISTBASE}
PKGNAME=	${GKRELLM_PKGBASE}-${GKRELLM_VERSION}
CATEGORIES=	sysutils
MASTER_SITES=	http://web.wt.net/~billw/gkrellm/
EXTRACT_SUFX=	.tar.bz2

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

CONFLICTS+=	gkrellm-1*

USE_GNU_TOOLS+=		make
USE_PKGLOCALEDIR=	YES

MAKE_ENV+=		LOCALEDIR=${PREFIX}/${PKGLOCALEDIR}/locale

GKRELLM_VERSION=	2.1.25
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