summaryrefslogtreecommitdiff
path: root/misc/git/Makefile
blob: b22d3913a9066542fb77261516b9a9f6b6a312fe (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
# New ports collection makefile for:	git
# Version required:	4.3.11
# Date created:		12 Jul 1995
# Whom:			torstenb@FreeBSD.ORG
#
# $NetBSD: Makefile,v 1.5 1998/02/09 07:10:26 hubertf Exp $
# FreeBSD Id: Makefile,v 1.8 1996/11/21 11:54:39 asami Exp
#

DISTNAME=	git-4.3.11
CATEGORIES=	misc
MASTER_SITES=	${MASTER_SITE_GNU}

MAINTAINER=	packages@netbsd.org

RUN_DEPENDS=	${PREFIX}/bin/install-info:${PORTSDIR}/devel/gtexinfo

GNU_CONFIGURE=	YES
CONFIGURE_ARGS+=	${MACHINE_ARCH}--netbsd
MAN1=		git.1 gitaction.1 gitmount.1 gitcmp.1 gitkeys.1 \
		gitredir.1 gitrgrep.1 gitps.1 gitview.1

pre-install:
	(cd ${WRKSRC}/info ; ${MAKE} info )
	${CP} ${WRKSRC}/term/.gitrc.ansi \
		${WRKSRC}/term/.gitrc.cons25
	(cd ${WRKSRC}/term ; ${PATCH} --quiet -p0 <${FILESDIR}/gitrc.cons25.patch )

post-install:
	@install-info ${PREFIX}/info/git.info ${PREFIX}/info/dir

.include <bsd.port.mk>