Lines 1-25
Link Here
|
1 |
# $FreeBSD: head/devel/libgit2/Makefile 377075 2015-01-15 11:01:25Z wg $ |
1 |
# $FreeBSD: head/devel/libgit2/Makefile 377075 2015-01-15 11:01:25Z wg $ |
2 |
|
2 |
|
3 |
PORTNAME= libgit2 |
3 |
PORTNAME= libgit2 |
4 |
PORTVERSION= 0.21.1 |
4 |
PORTVERSION= 0.21.5 |
5 |
PORTREVISION= 1 |
|
|
6 |
CATEGORIES= devel |
5 |
CATEGORIES= devel |
7 |
|
6 |
|
8 |
MAINTAINER= wg@FreeBSD.org |
7 |
MAINTAINER= wg@FreeBSD.org |
9 |
COMMENT= Portable, pure C implementation of the Git core |
8 |
COMMENT= Portable, pure C implementation of the Git core |
10 |
|
9 |
|
11 |
LICENSE= GPLv2 |
10 |
LICENSE= GPLv2 |
|
|
11 |
LICENSE_FILE= ${WRKSRC}/COPYING |
12 |
|
12 |
|
13 |
USE_GITHUB= yes |
13 |
USE_GITHUB= yes |
14 |
GH_ACCOUNT= libgit2 |
14 |
GH_ACCOUNT= libgit2 |
15 |
GH_TAGNAME= v${PORTVERSION} |
15 |
GH_TAGNAME= v${PORTVERSION} |
16 |
GH_COMMIT= b4d00c1 |
16 |
GH_COMMIT= d853fb9 |
17 |
|
17 |
|
18 |
USES= cmake python:build |
18 |
USES= cmake python:build |
19 |
USE_LDCONFIG= yes |
19 |
USE_LDCONFIG= yes |
20 |
USE_OPENSSL= yes |
20 |
USE_OPENSSL= yes |
21 |
|
21 |
|
22 |
PLIST_SUB= SHLIB_VER=${PORTVERSION:R:E} |
22 |
PLIST_SUB= PORTVERSION=${PORTVERSION} SHLIB_VER=${PORTVERSION:R:E} |
23 |
|
23 |
|
24 |
OPTIONS_DEFINE= SSH THREADS |
24 |
OPTIONS_DEFINE= SSH THREADS |
25 |
OPTIONS_DEFAULT=SSH THREADS |
25 |
OPTIONS_DEFAULT=SSH THREADS |
Lines 40-45
Link Here
|
40 |
post-patch: |
40 |
post-patch: |
41 |
@${REINPLACE_CMD} -e "s|/pkgconfig|/../libdata/pkgconfig|; \ |
41 |
@${REINPLACE_CMD} -e "s|/pkgconfig|/../libdata/pkgconfig|; \ |
42 |
/LIBGIT2_PC_REQUIRES.*zlib/ d" ${WRKSRC}/CMakeLists.txt |
42 |
/LIBGIT2_PC_REQUIRES.*zlib/ d" ${WRKSRC}/CMakeLists.txt |
|
|
43 |
# This is maintenance release, but with not fixed version |
44 |
@${SED} -i '' -e '/LIBGIT2_VERSION/s/\".*\"/\"${PORTVERSION}\"/' \ |
45 |
${WRKSRC}/include/git2/version.h |
43 |
.if defined(WITH_OPENSSL_BASE) |
46 |
.if defined(WITH_OPENSSL_BASE) |
44 |
@${REINPLACE_CMD} -e "/LIBGIT2_PC_REQUIRES.*openssl/ d" \ |
47 |
@${REINPLACE_CMD} -e "/LIBGIT2_PC_REQUIRES.*openssl/ d" \ |
45 |
${WRKSRC}/CMakeLists.txt |
48 |
${WRKSRC}/CMakeLists.txt |