freebsd-ports/devel/libgit2/Makefile

35 lines
647 B
Makefile
Raw Normal View History

# $FreeBSD$
PORTNAME= libgit2
PORTVERSION= 0.17.0
CATEGORIES= devel
2012-12-31 12:53:12 +01:00
MASTER_SITES= GHC
2013-04-30 19:32:00 +02:00
MAINTAINER= ports@FreeBSD.org
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
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
2012-12-31 12:53:12 +01:00
USES= cmake
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
2011-10-25 08:41:37 +02:00
post-patch:
@${REINPLACE_CMD} -e "s|/pkgconfig|/../libdata/pkgconfig|" ${WRKSRC}/CMakeLists.txt
.include <bsd.port.post.mk>