forked from Lainports/freebsd-ports
* Sequel provides thread safety, connection pooling and a concise
DSL for constructing database queries and table schemas.
* Sequel also includes a lightweight but comprehensive ORM layer for
mapping records to Ruby objects and handling associated records.
* Sequel supports advanced database features such as prepared
statements, bound variables, master/slave configurations, and database
sharding.
* Sequel makes it easy to deal with multiple records without having
to break your teeth on SQL.
* Sequel currently has adapters for ADO, DB2, DBI, Informix, JDBC,
MySQL, ODBC, OpenBase, Oracle, PostgreSQL and SQLite3.
WWW: http://sequel.rubyforge.org/
PR: ports/129901
Submitted by: Wen Heping<wenheping at gmail.com>
28 lines
962 B
Makefile
28 lines
962 B
Makefile
# New ports collection makefile for: rubygem-sequel
|
|
# Date created: 24 Dec 2008
|
|
# Whom: Wen Heping<wenheping@gmail.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= sequel
|
|
PORTVERSION= 2.8.0
|
|
CATEGORIES= devel rubygems
|
|
MASTER_SITES= RF
|
|
|
|
MAINTAINER= wenheping@gmail.com
|
|
COMMENT= The Database Toolkit for Ruby
|
|
|
|
USE_RUBY= yes
|
|
USE_RUBYGEMS= yes
|
|
|
|
post-install:
|
|
@${ECHO} bin/sequel > ${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>
|