1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/devel/libgit2/Makefile
Baptiste Daroussin 1f30397d4f Switch to USE_GITHUB
Trim headers
2012-12-31 11:53:12 +00:00

34 lines
602 B
Makefile

# $FreeBSD$
PORTNAME= libgit2
PORTVERSION= 0.17.0
CATEGORIES= devel
MASTER_SITES= GHC
MAINTAINER= bapt@FreeBSD.org
COMMENT= Portable, pure C implementation of the Git core
LICENSE= GPLv2
USE_GITHUB= yes
GH_ACCOUNT= libgit2
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>