aboutsummaryrefslogtreecommitdiffstats
path: root/devel/git/Makefile
blob: d51da030dbf3ccb4bbd9002c4419720466e9bc8b (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
30
31
32
33
34
# Ports collection makefile for:    git
# Date created:             7 Feb 2006
# Whom:                 Eric Anholt
#
# $FreeBSD$
#

PORTNAME=   git
PORTVERSION=    1.1.6
CATEGORIES= devel
MASTER_SITES=   http://www.kernel.org/pub/software/scm/git/

MAINTAINER= anholt@FreeBSD.org
COMMENT=    Distributed source code management tool

BUILD_DEPENDS=  curl:${PORTSDIR}/ftp/curl
RUN_DEPENDS=    curl:${PORTSDIR}/ftp/curl \
        wish8.4:${PORTSDIR}/x11-toolkits/tk84

USE_PERL5=  yes
USE_PYTHON= yes
USE_ICONV=  yes
USE_GMAKE=  yes
CFLAGS+=    -I${LOCALBASE}/include
MAKE_ENV+=  CURLDIR=${LOCALBASE} \
        NEEDS_LIBICONV=yes \
        LDFLAGS="-L${LOCALBASE}/lib"
MAKE_ARGS+= prefix="${PREFIX}"

pre-patch:
    ${REINPLACE_CMD} "s|/usr/bin/python|${LOCALBASE}/bin/python|g" \
        ${WRKSRC}/git-merge-recursive.py

.include <bsd.port.mk>