blob: 1727c9a7fbe3bace9ec69e9bebe2e8d3e2a30530 (
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
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# $NetBSD: Makefile,v 1.3 2006/09/07 22:21:06 rillig Exp $
#
DISTNAME= git-1.4.1
PKGNAME= scm${DISTNAME}
CATEGORIES= devel
MASTER_SITES= http://www.kernel.org/pub/software/scm/git/
MAINTAINER= pancake@phreaker.net
HOMEPAGE= http://git.or.cz/
COMMENT= Tree History Storage Tool
CONFLICTS+= git-[0-9]* # misc/git
BUILD_DEPENDS+= asciidoc-[0-9]*:../../textproc/asciidoc
BUILD_DEPENDS+= xmlto-[0-9]*:../../textproc/xmlto
MAKE_ENV+= DESTDIR=""
MAKE_ENV+= HOME=${PREFIX:Q}
USE_TOOLS+= gmake perl:run sh:run
EXTRACT_USING= gtar
MAKE_ENV+= PERL_PATH=${PERL5:Q}
MAKE_ENV+= PYTHON_PATH=${PYTHONBIN:Q}
MAKE_ENV+= SHELL_PATH=${SH:Q}
BUILD_TARGET= all doc
INSTALL_TARGET= install install-doc
MAKE_FLAGS+= mandir=${PREFIX}/${PKGMANDIR}
.include "../../lang/python/application.mk"
NEEDS_SUBPROCESS_PY!= \
if ok=`${PYTHONBIN} -c 'import subprocess; print "OK"' 2>/dev/null` \
&& ${TEST} "$$ok" = "OK"; then echo "no"; else echo "yes"; fi
.if ${NEEDS_SUBPROCESS_PY} == "yes"
PLIST_SUBST+= IF_NEEDS_SUBPROCESS_PY=""
.else
PLIST_SUBST+= IF_NEEDS_SUBPROCESS_PY="@comment "
.endif
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../textproc/expat/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|