From 021918618c013c08a01bac6b3abea4e15640aea6 Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Sun, 9 Nov 2008 22:43:16 +0000 Subject: [PATCH] Ruby/Git is a Ruby library that can be used to create, read and manipulate Git repositories. Currently it is a wrapper around the git binary, but there are plans to switch to C bindings at some point in the future. WWW: http://jointheconversation.org/rubygit/ PR: ports/128734 Submitted by: Daniel Roethlisberger --- devel/Makefile | 1 + devel/rubygem-git/Makefile | 29 +++++++++++++++++++++++++++++ devel/rubygem-git/distinfo | 3 +++ devel/rubygem-git/pkg-descr | 6 ++++++ 4 files changed, 39 insertions(+) create mode 100644 devel/rubygem-git/Makefile create mode 100644 devel/rubygem-git/distinfo create mode 100644 devel/rubygem-git/pkg-descr diff --git a/devel/Makefile b/devel/Makefile index e0a5f43d0e52..c45fb6fa3311 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -2407,6 +2407,7 @@ SUBDIR += rubygem-fastercsv SUBDIR += rubygem-fastthread SUBDIR += rubygem-gem_plugin + SUBDIR += rubygem-git SUBDIR += rubygem-highline SUBDIR += rubygem-hoe SUBDIR += rubygem-inline diff --git a/devel/rubygem-git/Makefile b/devel/rubygem-git/Makefile new file mode 100644 index 000000000000..6f39c2787226 --- /dev/null +++ b/devel/rubygem-git/Makefile @@ -0,0 +1,29 @@ +# Ports collection makefile for: rubygem-git +# Date created: 2008-11-09 +# Whom: Daniel Roethlisberger +# +# $FreeBSD$ + +PORTNAME= git +PORTVERSION= 1.0.5 +CATEGORIES= devel rubygems +MASTER_SITES= RF +MASTER_SITE_SUBDIR= gems + +MAINTAINER= daniel@roe.ch +COMMENT= A ruby wrapper library around git(1) + +RUN_DEPENDS= git>=0:${PORTSDIR}/devel/git + +USE_RUBY= yes +USE_RUBYGEMS= yes + +post-install: + @${ECHO} ${GEM_CACHE} >> ${TMPPLIST} + @${FIND} ${PREFIX}/${GEM_DOC_DIR} -type f | ${SED} -e 's,${PREFIX}/${GEM_DOC_DIR},${GEM_DOC_DIR},' >> ${TMPPLIST} + @${FIND} ${PREFIX}/${GEM_LIB_DIR} -type f | ${SED} -e 's,${PREFIX}/${GEM_LIB_DIR},${GEM_LIB_DIR},' >> ${TMPPLIST} + @${ECHO} ${GEM_SPEC} >> ${TMPPLIST} + @${FIND} ${PREFIX}/${GEM_LIB_DIR} -type d -depth | ${SED} -e 's,${PREFIX}/${GEM_LIB_DIR},@dirrm ${GEM_LIB_DIR},' >> ${TMPPLIST} + @${FIND} ${PREFIX}/${GEM_DOC_DIR} -type d -depth | ${SED} -e 's,${PREFIX}/${GEM_DOC_DIR},@dirrm ${GEM_DOC_DIR},' >> ${TMPPLIST} + +.include diff --git a/devel/rubygem-git/distinfo b/devel/rubygem-git/distinfo new file mode 100644 index 000000000000..5546509f7366 --- /dev/null +++ b/devel/rubygem-git/distinfo @@ -0,0 +1,3 @@ +MD5 (rubygem/git-1.0.5.gem) = 1763361d6201500d01651d0676da9f3f +SHA256 (rubygem/git-1.0.5.gem) = 64c496f8224c5c479d3726f4c384af5cbae371a0ce68960651981a266159ea78 +SIZE (rubygem/git-1.0.5.gem) = 177152 diff --git a/devel/rubygem-git/pkg-descr b/devel/rubygem-git/pkg-descr new file mode 100644 index 000000000000..fadc2b44e5ae --- /dev/null +++ b/devel/rubygem-git/pkg-descr @@ -0,0 +1,6 @@ +Ruby/Git is a Ruby library that can be used to create, read and +manipulate Git repositories. Currently it is a wrapper around +the git binary, but there are plans to switch to C bindings at +some point in the future. + +WWW: http://jointheconversation.org/rubygit/