41 lines
1.2 KiB
Text
41 lines
1.2 KiB
Text
# $NetBSD: Makefile.common,v 1.18 2014/10/05 16:41:08 wiz Exp $
|
|
#
|
|
# used by sysutils/gkrellm-share/Makefile
|
|
# used by sysutils/gkrellm-server/Makefile
|
|
|
|
DISTNAME= ${GKRELLM_DISTBASE}
|
|
PKGNAME= ${GKRELLM_PKGBASE}-${GKRELLM_VERSION}
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= http://members.dslextreme.com/users/billw/gkrellm/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= pkgsrc-users@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.10
|
|
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
|
|
${CP} ${FILESDIR}/dragonfly.c ${WRKSRC}/src/sysdeps
|