freebsd-ports/databases/rubygem-kirbybase/Makefile
Martin Wilke e531c4eec0 KirbyBase is a small, plain-text, DBMS written in Ruby.
It can be used either embedded or client/server. It aims
to be as "Ruby-ish" as possible. For example, queries
are specified using Ruby code blocks, rather than SQL strings.

WWW: http://rubyforge.org/projects/kirbybase/

PR:		ports/130231
Submitted by:	Wen Heping <wenheping at gmail.com>
2009-01-08 17:01:58 +00:00

29 lines
1 KiB
Makefile

# Ports collection makefile for: rubygem-kirbybase
# Date created: 07 Jan 2009
# Whom: Wen Heping <wenheping@gmail.com>
#
# $FreeBSD$
PORTNAME= kirbybase
PORTVERSION= 2.6
CATEGORIES= databases rubygems
MASTER_SITES= RF
DISTNAME= KirbyBase-${PORTVERSION}
MAINTAINER= wenheping@gmail.com
COMMENT= A Small and Plain-text DBMS Written in Ruby
USE_RUBY= yes
USE_RUBYGEMS= yes
GEM_NAME= ${DISTNAME}
post-install:
@${ECHO} bin/kbserver.rb > ${TMPPLIST}
@${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>