aboutsummaryrefslogtreecommitdiff
path: root/devel/libgit2
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2011-05-27 09:45:29 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2011-05-27 09:45:29 +0000
commit100c9520c0b77b7f2d3aecb4812cbe6111ceda8e (patch)
treec10883c55f3ae5b2836250e1fcd820c3edfafcbb /devel/libgit2
parentbd91313e45fd34e0f5581ad437e7dbb7d82fee85 (diff)
downloadports-100c9520c0b77b7f2d3aecb4812cbe6111ceda8e.tar.gz
ports-100c9520c0b77b7f2d3aecb4812cbe6111ceda8e.zip
Notes
Diffstat (limited to 'devel/libgit2')
-rw-r--r--devel/libgit2/Makefile37
-rw-r--r--devel/libgit2/distinfo2
-rw-r--r--devel/libgit2/pkg-descr12
-rw-r--r--devel/libgit2/pkg-plist26
4 files changed, 77 insertions, 0 deletions
diff --git a/devel/libgit2/Makefile b/devel/libgit2/Makefile
new file mode 100644
index 000000000000..a075fe0513d5
--- /dev/null
+++ b/devel/libgit2/Makefile
@@ -0,0 +1,37 @@
+# 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>
diff --git a/devel/libgit2/distinfo b/devel/libgit2/distinfo
new file mode 100644
index 000000000000..ba9ff2ba4484
--- /dev/null
+++ b/devel/libgit2/distinfo
@@ -0,0 +1,2 @@
+SHA256 (libgit2-0.12.0.tar.gz) = 7c89e7e4fd953f2a21c976b52a8502a9a2399bab7562b8df7d63480dbbbbf9a6
+SIZE (libgit2-0.12.0.tar.gz) = 928778
diff --git a/devel/libgit2/pkg-descr b/devel/libgit2/pkg-descr
new file mode 100644
index 000000000000..601985590e8d
--- /dev/null
+++ b/devel/libgit2/pkg-descr
@@ -0,0 +1,12 @@
+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/
diff --git a/devel/libgit2/pkg-plist b/devel/libgit2/pkg-plist
new file mode 100644
index 000000000000..daf6233b8b15
--- /dev/null
+++ b/devel/libgit2/pkg-plist
@@ -0,0 +1,26 @@
+include/git2.h
+include/git2/oid.h
+include/git2/odb.h
+include/git2/signature.h
+include/git2/commit.h
+include/git2/index.h
+include/git2/odb_backend.h
+include/git2/repository.h
+include/git2/thread-utils.h
+include/git2/types.h
+include/git2/object.h
+include/git2/tag.h
+include/git2/refs.h
+include/git2/tree.h
+include/git2/revwalk.h
+include/git2/common.h
+include/git2/zlib.h
+include/git2/errors.h
+include/git2/blob.h
+lib/libgit2.so.0.12.0
+lib/libgit2.so.0
+lib/libgit2.so
+lib/libgit2.a
+libdata/pkgconfig/libgit2.pc
+@dirrmtry lib/pkgconfig
+@dirrm include/git2