2011-05-27 11:45:29 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= libgit2
|
2012-07-28 14:02:12 +02:00
|
|
|
PORTVERSION= 0.17.0
|
2011-05-27 11:45:29 +02:00
|
|
|
CATEGORIES= devel
|
2012-12-31 12:53:12 +01:00
|
|
|
MASTER_SITES= GHC
|
2011-05-27 11:45:29 +02:00
|
|
|
|
2013-04-30 19:32:00 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2011-05-27 11:45:29 +02:00
|
|
|
COMMENT= Portable, pure C implementation of the Git core
|
|
|
|
|
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2012-12-31 12:53:12 +01:00
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= libgit2
|
2013-03-23 20:12:58 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
2012-12-31 12:53:12 +01:00
|
|
|
|
2013-03-22 21:06:14 +01:00
|
|
|
USES= cmake
|
2012-07-28 14:02:12 +02:00
|
|
|
USE_LDCONFIG= yes
|
|
|
|
USE_PYTHON_BUILD= yes
|
2011-05-27 11:45:29 +02:00
|
|
|
|
|
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
|
2012-07-28 14:02:12 +02:00
|
|
|
PLIST_SUB= SHLIB_VER=${PORTVERSION}
|
|
|
|
|
2011-07-16 07:21:19 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${ARCH} == "sparc64"
|
|
|
|
BROKEN= Does not install on sparc64: thread-local storage not supported
|
|
|
|
.endif
|
|
|
|
|
2011-10-25 08:41:37 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e "s|/pkgconfig|/../libdata/pkgconfig|" ${WRKSRC}/CMakeLists.txt
|
|
|
|
|
2011-07-16 07:21:19 +02:00
|
|
|
.include <bsd.port.post.mk>
|