aboutsummaryrefslogtreecommitdiffstats
path: root/misc/gnuit/Makefile
blob: f0f06370d6fc75be5a9cdefb52664c2e62bb2b6b (plain) (blame)
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
# New ports collection makefile for:    git
# Version required: 4.3.11
# Date created:     12 Jul 1995
# Whom:         torstenb@FreeBSD.ORG
#
# $Id: Makefile,v 1.4 1996/10/16 09:14:08 asami Exp $
#

DISTNAME=   git-4.3.11
CATEGORIES= misc
MASTER_SITES=   ftp://prep.ai.mit.edu/pub/gnu/

GNU_CONFIGURE=  YES

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

post-install:
.if !defined(NOMANCOMPRESS)
    @gzip -9nf ${PREFIX}/man/man1/git.1 \
        ${PREFIX}/man/man1/gitaction.1 ${PREFIX}/man/man1/gitmount.1 \
        ${PREFIX}/man/man1/gitcmp.1 ${PREFIX}/man/man1/gitkeys.1 \
        ${PREFIX}/man/man1/gitredir.1 ${PREFIX}/man/man1/gitrgrep.1 \
        ${PREFIX}/man/man1/gitps.1 ${PREFIX}/man/man1/gitview.1
.endif

.include <bsd.port.mk>