summaryrefslogtreecommitdiff
path: root/devel/git/Makefile.common
blob: 3a6dfc367654c27660d9b959b7e11194acb00ac2 (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
# $NetBSD: Makefile.common,v 1.1 2013/09/09 13:56:27 wiz Exp $
#
# used by devel/git-base/Makefile
# used by devel/git-docs/Makefile
# used by devel/git-gitk/Makefile

.include "../../devel/git/Makefile.version"

DISTNAME=	git-${GIT_VERSION}
CATEGORIES=	devel scm
MASTER_SITES?=	http://git-core.googlecode.com/files/

MAINTAINER?=	pkgsrc-users@NetBSD.org
HOMEPAGE?=	http://git-scm.com/
LICENSE=	gnu-gpl-v2

.include "../../mk/bsd.fast.prefs.mk"

PATCHDIR=	${.CURDIR}/../../devel/git-base/patches
DISTINFO_FILE=	${.CURDIR}/../../devel/git-base/distinfo

USE_TOOLS+=		gmake tar sh

PKG_SYSCONFSUBDIR=	git

GNU_CONFIGURE=		yes
CONFIGURE_ARGS+=	--with-shell=${SH:Q}
CONFIGURE_ARGS+=	TAR=${TAR:Q}
CONFIGURE_ARGS+=	--mandir=${${PREFIX}/${PKGMANDIR}:L:Q}
CONFIGURE_ARGS+=	--sysconfdir=${PKG_SYSCONFDIR}