freebsd-ports/devel/libgit2/Makefile
Baptiste Daroussin 100c9520c0 libgit2 is...
licensed under a very permissive license so you can use it anywhere
faster than any other Git library
written in standards compilant C99
completely multi-platform: Windows, Linux, Mac OS X, xBSD
compiled natively under all platforms (yes, even MSVC on Windows)
re-entrant, with sane error handling
designed with a solid and consistent API
available as bindings for all major scripting languages

WWW:	http://libgit2.github.com/
2011-05-27 09:45:29 +00:00

37 lines
785 B
Makefile

# New ports collection makefile for: libgit2
# Date created: 2011-05-27
# Whom: Baptiste Daroussin <bapt@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= libgit2
PORTVERSION= 0.12.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_PYTHON_BUILD= yes
USE_LDCONFIG= yes
WAF_ARGS= --sha1=builtin
MAKE_JOBS_SAFE= yes
post-configure:
@${REINPLACE_CMD} -e 's|LIBDIR}/pkgconfig|PREFIX}/libdata/pkgconfig|' ${WRKSRC}/wscript
do-configure:
@cd ${WRKSRC}; ${CONFIGURE_ENV} ./waf configure ${WAF_ARGS}
do-build:
@cd ${WRKSRC}; ${MAKE_ENV} ./waf build -j ${MAKE_JOBS_NUMBER}
do-install:
@cd ${WRKSRC}; ${MAKE_ENV} ./waf install
.include <bsd.port.mk>