freebsd-ports/devel/libgit2/Makefile
Baptiste Daroussin 6ab20d26c5 - update to 0.17.0
PR:		ports/168705
Submitted by:	sunpoet
2012-07-28 12:02:12 +00:00

35 lines
737 B
Makefile

# New ports collection makefile for: libgit2
# Date created: 2011-05-27
# Whom: Baptiste Daroussin <bapt@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= libgit2
PORTVERSION= 0.17.0
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_CMAKE= yes
USE_LDCONFIG= yes
USE_PYTHON_BUILD= yes
MAKE_JOBS_SAFE= yes
PLIST_SUB= SHLIB_VER=${PORTVERSION}
.include <bsd.port.pre.mk>
.if ${ARCH} == "sparc64"
BROKEN= Does not install on sparc64: thread-local storage not supported
.endif
post-patch:
@${REINPLACE_CMD} -e "s|/pkgconfig|/../libdata/pkgconfig|" ${WRKSRC}/CMakeLists.txt
.include <bsd.port.post.mk>