1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/devel/rubygem-grit/Makefile
Martin Wilke 035e3310b1 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/

PR:		ports/128592
Submitted by:	Daniel Roethlisberger <daniel at roe.ch>
2008-11-09 23:01:24 +00:00

33 lines
1.2 KiB
Makefile

# 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>