19 # information: Portions Copyright [yyyy] [name of copyright owner]
20 #
21 # CDDL HEADER END
22 #
23 #
24 # Copyright 2011-2016 OmniTI Computer Consulting, Inc. All rights reserved.
25 # Use is subject to license terms.
26 # Copyright (c) 2014 by Delphix. All rights reserved.
27 #
28 # Load support functions
29 . ../../lib/functions.sh
30
31 PROG=git
32 VER=2.10.0
33 PKG=developer/versioning/git
34 SUMMARY="$PROG - a free and open source, distributed version control system"
35 DESC="$SUMMARY"
36
37 BUILD_DEPENDS_IPS="compatibility/ucb developer/build/autoconf archiver/gnu-tar"
38
39 DEPENDS_IPS="runtime/python-26 \
40 web/curl \
41 library/security/openssl@1.0.2 \
42 library/zlib"
43
44 TAR=gtar
45
46 # For inet_ntop which isn't detected properly in the configure script
47 LDFLAGS="-lnsl"
48 CFLAGS64="$CFLAGS64 -I/usr/include/amd64"
49 CONFIGURE_OPTS="--without-tcltk
50 --with-python=/usr/bin/python
51 --with-curl=/usr
52 --with-openssl=/usr"
53
54 save_function configure32 configure32_orig
55 configure32() {
56 make_param configure
57 configure32_orig
58 }
59
60 save_function configure64 configure64_orig
61 configure64() {
62 make_param configure
63 configure64_orig
64 }
65
66 install_man() {
67 logmsg "Fetching and installing pre-built man pages"
68 if [[ ! -f ${TMPDIR}/${PROG}-manpages-${VER}.tar.gz ]]; then
69 pushd $TMPDIR > /dev/null
70 get_resource $PROG/${PROG}-manpages-${VER}.tar.gz || \
|
19 # information: Portions Copyright [yyyy] [name of copyright owner]
20 #
21 # CDDL HEADER END
22 #
23 #
24 # Copyright 2011-2016 OmniTI Computer Consulting, Inc. All rights reserved.
25 # Use is subject to license terms.
26 # Copyright (c) 2014 by Delphix. All rights reserved.
27 #
28 # Load support functions
29 . ../../lib/functions.sh
30
31 PROG=git
32 VER=2.10.0
33 PKG=developer/versioning/git
34 SUMMARY="$PROG - a free and open source, distributed version control system"
35 DESC="$SUMMARY"
36
37 BUILD_DEPENDS_IPS="compatibility/ucb developer/build/autoconf archiver/gnu-tar"
38
39 DEPENDS_IPS="runtime/python-27 \
40 web/curl \
41 library/security/openssl@1.0.2 \
42 library/zlib"
43
44 TAR=gtar
45
46 # For inet_ntop which isn't detected properly in the configure script
47 LDFLAGS="-lnsl"
48 CFLAGS64="$CFLAGS64 -I/usr/include/amd64"
49 # Explicitly call out python version to make future python version bumps
50 # smoother.
51 CONFIGURE_OPTS="--without-tcltk
52 --with-python=/usr/bin/python2.7
53 --with-curl=/usr
54 --with-openssl=/usr"
55
56 save_function configure32 configure32_orig
57 configure32() {
58 make_param configure
59 configure32_orig
60 }
61
62 save_function configure64 configure64_orig
63 configure64() {
64 make_param configure
65 configure64_orig
66 }
67
68 install_man() {
69 logmsg "Fetching and installing pre-built man pages"
70 if [[ ! -f ${TMPDIR}/${PROG}-manpages-${VER}.tar.gz ]]; then
71 pushd $TMPDIR > /dev/null
72 get_resource $PROG/${PROG}-manpages-${VER}.tar.gz || \
|