2011-05-27 09:45:29 +00:00
|
|
|
# New ports collection makefile for: libgit2
|
|
|
|
# Date created: 2011-05-27
|
|
|
|
# Whom: Baptiste Daroussin <bapt@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= libgit2
|
2011-10-25 06:41:37 +00:00
|
|
|
PORTVERSION= 0.15.0
|
2011-05-27 09:45:29 +00:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= http://cloud.github.com/downloads/libgit2/libgit2/
|
|
|
|
|
|
|
|
MAINTAINER= bapt@FreeBSD.org
|
|
|
|
COMMENT= Portable, pure C implementation of the Git core
|
|
|
|
|
|
|
|
LICENSE= GPLv2
|
|
|
|
|
|
|
|
USE_LDCONFIG= yes
|
2011-07-11 11:24:00 +00:00
|
|
|
USE_CMAKE= yes
|
2011-05-27 09:45:29 +00:00
|
|
|
|
|
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
|
2011-07-16 05:21:19 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${ARCH} == "sparc64"
|
|
|
|
BROKEN= Does not install on sparc64: thread-local storage not supported
|
|
|
|
.endif
|
|
|
|
|
2011-10-25 06:41:37 +00:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e "s|/pkgconfig|/../libdata/pkgconfig|" ${WRKSRC}/CMakeLists.txt
|
|
|
|
|
2011-07-16 05:21:19 +00:00
|
|
|
.include <bsd.port.post.mk>
|