blob: 85b7631f73a328800814bcda5ca11ace56c0587b (
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
46
47
48
49
50
51
52
53
54
55
56
57
58
|
# $NetBSD: Makefile,v 1.2 2008/01/18 05:14:39 tnn Exp $
#
.include "${.CURDIR}/../scmgit/Makefile.common"
PKGNAME= scmgit-base-${GIT_VERSION}
PKGREVISION= 1
COMMENT= GIT Tree History Storage Tool (base package)
PKG_DESTDIR_SUPPORT= user-destdir
CONFLICTS+= git-[0-9]* # misc/git
USE_LANGUAGES= c99
USE_TOOLS+= perl:run sh:run wish:run
MAKE_ENV+= CURLDIR=${BUILDLINK_PREFIX.curl:Q}
MAKE_ENV+= PYTHON_PATH=${PYTHONBIN:Q}
BUILD_TARGET= all
INSTALL_TARGET= install
PERL5_PACKLIST= auto/Git/.packlist
PERL5_CONFIGURE_DIRS= ${WRKSRC}/perl
.include "../../mk/bsd.fast.prefs.mk"
.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 "../../mk/emacs.mk" # XXX TODO (see patch-ad)
## XXX Do all the BSDs fit this category?
#
.if ${OPSYS} == "NetBSD"
CHECK_BUILTIN.iconv:=yes
. include "../../converters/libiconv/builtin.mk"
CHECK_BUILTIN.iconv:=no
. if ${ICONV_TYPE} == "native"
CFLAGS+= -DOLD_ICONV
. endif
.endif
.include "../../lang/perl5/module.mk"
.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"
|