diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2008-11-09 23:01:24 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2008-11-09 23:01:24 +0000 |
commit | 035e3310b1f05db6fb88f67545717890f678ccea (patch) | |
tree | 603ece40861072a8eeec26313b552e04ca0ae012 /devel | |
parent | 00031d4dc5cc83e0c3702356091244a791b3aecd (diff) |
Notes
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/rubygem-grit/Makefile | 32 | ||||
-rw-r--r-- | devel/rubygem-grit/distinfo | 3 | ||||
-rw-r--r-- | devel/rubygem-grit/pkg-descr | 6 |
4 files changed, 42 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 74d814d362ff..dd6ede9d73d3 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -2408,6 +2408,7 @@ SUBDIR += rubygem-fastthread SUBDIR += rubygem-gem_plugin SUBDIR += rubygem-git + SUBDIR += rubygem-grit SUBDIR += rubygem-highline SUBDIR += rubygem-hoe SUBDIR += rubygem-inline diff --git a/devel/rubygem-grit/Makefile b/devel/rubygem-grit/Makefile new file mode 100644 index 000000000000..31ef21a86ca4 --- /dev/null +++ b/devel/rubygem-grit/Makefile @@ -0,0 +1,32 @@ +# Ports collection makefile for: rubygem-grit +# Date created: 2008-11-05 +# Whom: Daniel Roethlisberger <daniel@roe.ch> +# +# $FreeBSD$ + +PORTNAME= grit +PORTVERSION= 0.7.0 +CATEGORIES= devel rubygems +MASTER_SITES= RF/gems + +MAINTAINER= daniel@roe.ch +COMMENT= An object-oriented ruby library to access git repositories + +BUILD_DEPENDS= rubygem-open4>=0.0.0:${PORTSDIR}/devel/rubygem-open4 \ + rubygem-diff-lcs>=0.0.0:${PORTSDIR}/textproc/rubygem-diff-lcs \ + rubygem-mime-types>=0.0.0:${PORTSDIR}/misc/rubygem-mime-types \ + rubygem-hoe>=1.4.0:${PORTSDIR}/devel/rubygem-hoe +RUN_DEPENDS= ${BUILD_DEPENDS} + +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 <bsd.port.mk> diff --git a/devel/rubygem-grit/distinfo b/devel/rubygem-grit/distinfo new file mode 100644 index 000000000000..0263749c24e7 --- /dev/null +++ b/devel/rubygem-grit/distinfo @@ -0,0 +1,3 @@ +MD5 (rubygem/grit-0.7.0.gem) = 278033f365514155e0a996316effe7ba +SHA256 (rubygem/grit-0.7.0.gem) = 73a2c08720e95597932dacb2bdfe655b17055ca7ed6f25d758af366be8cc0efd +SIZE (rubygem/grit-0.7.0.gem) = 23040 diff --git a/devel/rubygem-grit/pkg-descr b/devel/rubygem-grit/pkg-descr new file mode 100644 index 000000000000..9f87e9577d85 --- /dev/null +++ b/devel/rubygem-grit/pkg-descr @@ -0,0 +1,6 @@ +Grit is a Ruby library for extracting information from a git repository in +an object oriented manner. Grit gives you object model access to your git +repository. Once you have created a repository object, you can traverse it +to find parent commit(s), trees, blobs, etc. + +WWW: http://grit.rubyforge.org/ |