mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-24 21:01:20 +00:00
A Ruby interface to PostgreSQL library.
PR: ports/12123 Submitted by: Yasuhiro Fukuma <yasuf@big.or.jp>
This commit is contained in:
parent
85f629e9ef
commit
40e564d11c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=21304
47
databases/ruby-postgres/Makefile
Normal file
47
databases/ruby-postgres/Makefile
Normal file
@ -0,0 +1,47 @@
|
||||
# New ports collection makefile for: ruby-postgres
|
||||
# Version required: 0.5.3
|
||||
# Date created: 19 April 1999
|
||||
# Whom: Yasuhiro Fukuma <yasuf@big.or.jp>
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
|
||||
DISTNAME= postgres-0.5.3
|
||||
PKGNAME= ruby-postgres-0.5.3
|
||||
CATEGORIES= databases
|
||||
MASTER_SITES= ftp://ftp.netlab.co.jp/pub/lang/ruby/contrib/ \
|
||||
ftp://ftp.TokyoNet.AD.JP/pub/misc/ruby/contrib/ \
|
||||
ftp://ftp.iij.ad.jp/pub/lang/ruby/contrib/ \
|
||||
ftp://blade.nagaokaut.ac.jp/pub/lang/ruby/contrib/ \
|
||||
ftp://ftp.krnet.ne.jp/pub/ruby/contrib/ \
|
||||
ftp://mirror.nucba.ac.jp/mirror/ruby/contrib/
|
||||
|
||||
MAINTAINER= yasuf@big.or.jp
|
||||
|
||||
BUILD_DEPENDS= ruby:${PORTSDIR}/lang/ruby
|
||||
RUN_DEPENDS= ruby:${PORTSDIR}/lang/ruby
|
||||
LIB_DEPENDS= pq.2:${PORTSDIR}/databases/postgresql
|
||||
|
||||
WRKSRC= ${WRKDIR}/postgres
|
||||
CONFIGURE_ARGS+= --with-pgsql-include-dir="${PGDIR}/include" \
|
||||
--with-pgsql-lib-dir="${PGDIR}/lib"
|
||||
PLIST_SUB+= RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}"
|
||||
|
||||
RUBY= ${PREFIX}/bin/ruby
|
||||
RUBY_VER= 1.4
|
||||
RUBY_ARCH= ${ARCH}-freebsd${OSREL}
|
||||
|
||||
PGDIR?= ${PREFIX}/pgsql
|
||||
|
||||
do-configure:
|
||||
@cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${RUBY} extconf.rb ${CONFIGURE_ARGS}
|
||||
|
||||
post-install:
|
||||
${MKDIR} ${PREFIX}/share/examples/ruby/postgres
|
||||
${INSTALL_DATA} ${WRKSRC}/psql*.rb ${PREFIX}/share/examples/ruby/postgres
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${PREFIX}/share/doc/ruby/postgres
|
||||
${INSTALL_DATA} ${WRKSRC}/README* ${WRKSRC}/*.html ${PREFIX}/share/doc/ruby/postgres
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
1
databases/ruby-postgres/distinfo
Normal file
1
databases/ruby-postgres/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (postgres-0.5.3.tar.gz) = f34965e627807b9e9ac78e322e3d21f2
|
1
databases/ruby-postgres/pkg-comment
Normal file
1
databases/ruby-postgres/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
a Ruby interface to PostgreSQL library.
|
4
databases/ruby-postgres/pkg-descr
Normal file
4
databases/ruby-postgres/pkg-descr
Normal file
@ -0,0 +1,4 @@
|
||||
This is an extention module to access PostgreSQL database from Ruby.
|
||||
|
||||
- Yasuhiro Fukuma
|
||||
yasuf@big.or.jp
|
10
databases/ruby-postgres/pkg-plist
Normal file
10
databases/ruby-postgres/pkg-plist
Normal file
@ -0,0 +1,10 @@
|
||||
lib/ruby/%%RUBY_VER%%/%%RUBY_ARCH%%/postgres.so
|
||||
share/examples/ruby/postgres/psql.rb
|
||||
share/examples/ruby/postgres/psqlHelp.rb
|
||||
@dirrm share/examples/ruby/postgres
|
||||
share/doc/ruby/postgres/README
|
||||
share/doc/ruby/postgres/README.jp
|
||||
share/doc/ruby/postgres/postgres.html
|
||||
share/doc/ruby/postgres/postgres.jp.html
|
||||
@dirrm share/doc/ruby/postgres
|
||||
@unexec /bin/rmdir %D/share/doc/ruby >/dev/null 2>&1 || true
|
47
databases/rubygem-postgres/Makefile
Normal file
47
databases/rubygem-postgres/Makefile
Normal file
@ -0,0 +1,47 @@
|
||||
# New ports collection makefile for: ruby-postgres
|
||||
# Version required: 0.5.3
|
||||
# Date created: 19 April 1999
|
||||
# Whom: Yasuhiro Fukuma <yasuf@big.or.jp>
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
|
||||
DISTNAME= postgres-0.5.3
|
||||
PKGNAME= ruby-postgres-0.5.3
|
||||
CATEGORIES= databases
|
||||
MASTER_SITES= ftp://ftp.netlab.co.jp/pub/lang/ruby/contrib/ \
|
||||
ftp://ftp.TokyoNet.AD.JP/pub/misc/ruby/contrib/ \
|
||||
ftp://ftp.iij.ad.jp/pub/lang/ruby/contrib/ \
|
||||
ftp://blade.nagaokaut.ac.jp/pub/lang/ruby/contrib/ \
|
||||
ftp://ftp.krnet.ne.jp/pub/ruby/contrib/ \
|
||||
ftp://mirror.nucba.ac.jp/mirror/ruby/contrib/
|
||||
|
||||
MAINTAINER= yasuf@big.or.jp
|
||||
|
||||
BUILD_DEPENDS= ruby:${PORTSDIR}/lang/ruby
|
||||
RUN_DEPENDS= ruby:${PORTSDIR}/lang/ruby
|
||||
LIB_DEPENDS= pq.2:${PORTSDIR}/databases/postgresql
|
||||
|
||||
WRKSRC= ${WRKDIR}/postgres
|
||||
CONFIGURE_ARGS+= --with-pgsql-include-dir="${PGDIR}/include" \
|
||||
--with-pgsql-lib-dir="${PGDIR}/lib"
|
||||
PLIST_SUB+= RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}"
|
||||
|
||||
RUBY= ${PREFIX}/bin/ruby
|
||||
RUBY_VER= 1.4
|
||||
RUBY_ARCH= ${ARCH}-freebsd${OSREL}
|
||||
|
||||
PGDIR?= ${PREFIX}/pgsql
|
||||
|
||||
do-configure:
|
||||
@cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${RUBY} extconf.rb ${CONFIGURE_ARGS}
|
||||
|
||||
post-install:
|
||||
${MKDIR} ${PREFIX}/share/examples/ruby/postgres
|
||||
${INSTALL_DATA} ${WRKSRC}/psql*.rb ${PREFIX}/share/examples/ruby/postgres
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${PREFIX}/share/doc/ruby/postgres
|
||||
${INSTALL_DATA} ${WRKSRC}/README* ${WRKSRC}/*.html ${PREFIX}/share/doc/ruby/postgres
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
1
databases/rubygem-postgres/distinfo
Normal file
1
databases/rubygem-postgres/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (postgres-0.5.3.tar.gz) = f34965e627807b9e9ac78e322e3d21f2
|
1
databases/rubygem-postgres/pkg-comment
Normal file
1
databases/rubygem-postgres/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
a Ruby interface to PostgreSQL library.
|
4
databases/rubygem-postgres/pkg-descr
Normal file
4
databases/rubygem-postgres/pkg-descr
Normal file
@ -0,0 +1,4 @@
|
||||
This is an extention module to access PostgreSQL database from Ruby.
|
||||
|
||||
- Yasuhiro Fukuma
|
||||
yasuf@big.or.jp
|
10
databases/rubygem-postgres/pkg-plist
Normal file
10
databases/rubygem-postgres/pkg-plist
Normal file
@ -0,0 +1,10 @@
|
||||
lib/ruby/%%RUBY_VER%%/%%RUBY_ARCH%%/postgres.so
|
||||
share/examples/ruby/postgres/psql.rb
|
||||
share/examples/ruby/postgres/psqlHelp.rb
|
||||
@dirrm share/examples/ruby/postgres
|
||||
share/doc/ruby/postgres/README
|
||||
share/doc/ruby/postgres/README.jp
|
||||
share/doc/ruby/postgres/postgres.html
|
||||
share/doc/ruby/postgres/postgres.jp.html
|
||||
@dirrm share/doc/ruby/postgres
|
||||
@unexec /bin/rmdir %D/share/doc/ruby >/dev/null 2>&1 || true
|
Loading…
Reference in New Issue
Block a user