Date: Fri, 11 Jun 1999 14:28:51 +0900 From: yasuf@big.or.jp To: FreeBSD-gnats-submit@freebsd.org Subject: ports/12123: New port: databases/ruby-postgres Message-ID: <19990611142851S.yasuf@big.or.jp>
next in thread | raw e-mail | index | archive | help
>Number: 12123 >Category: ports >Synopsis: New port: databases/ruby-postgres >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Jun 10 22:30:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Yasuhiro Fukuma >Release: FreeBSD 4.0-CURRENT i386 >Organization: >Environment: >Description: I'd like to add the following new port to the collection. Package name: ruby-postgres-0.4.1 Primary category: databases Package description: This is an extention module to access PostgreSQL database from Ruby. >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # ruby-postgres # ruby-postgres/pkg # ruby-postgres/pkg/COMMENT # ruby-postgres/pkg/DESCR # ruby-postgres/pkg/PLIST # ruby-postgres/files # ruby-postgres/files/md5 # ruby-postgres/patches # ruby-postgres/patches/patch-aa # ruby-postgres/Makefile # echo c - ruby-postgres mkdir -p ruby-postgres > /dev/null 2>&1 echo c - ruby-postgres/pkg mkdir -p ruby-postgres/pkg > /dev/null 2>&1 echo x - ruby-postgres/pkg/COMMENT sed 's/^X//' >ruby-postgres/pkg/COMMENT << 'END-of-ruby-postgres/pkg/COMMENT' Xa Ruby interface to PostgreSQL library. END-of-ruby-postgres/pkg/COMMENT echo x - ruby-postgres/pkg/DESCR sed 's/^X//' >ruby-postgres/pkg/DESCR << 'END-of-ruby-postgres/pkg/DESCR' XThis is an extention module to access PostgreSQL database from Ruby. X X- Yasuhiro Fukuma Xyasuf@big.or.jp END-of-ruby-postgres/pkg/DESCR echo x - ruby-postgres/pkg/PLIST sed 's/^X//' >ruby-postgres/pkg/PLIST << 'END-of-ruby-postgres/pkg/PLIST' Xlib/ruby/%%RUBY_ARCH%%/postgres.so Xshare/doc/ruby/postgres/postgres.html X@dirrm share/doc/ruby/postgres X@unexec /bin/rmdir %D/share/doc/ruby >/dev/null 2>&1 || true END-of-ruby-postgres/pkg/PLIST echo c - ruby-postgres/files mkdir -p ruby-postgres/files > /dev/null 2>&1 echo x - ruby-postgres/files/md5 sed 's/^X//' >ruby-postgres/files/md5 << 'END-of-ruby-postgres/files/md5' XMD5 (postgres-0.4.1.tar.gz) = c5c50269b9bfb49043fd8a7bcd266c9e END-of-ruby-postgres/files/md5 echo c - ruby-postgres/patches mkdir -p ruby-postgres/patches > /dev/null 2>&1 echo x - ruby-postgres/patches/patch-aa sed 's/^X//' >ruby-postgres/patches/patch-aa << 'END-of-ruby-postgres/patches/patch-aa' X--- extconf.rb.orig Wed Jan 20 17:09:18 1999 X+++ extconf.rb Mon Apr 19 22:31:02 1999 X@@ -1,3 +1,6 @@ X+require 'mkmf' X+$CFLAGS ||= '' X+ X have_library("wsock32", "cygwin32_socket") or have_library("socket", "socket") X have_library("inet", "gethostbyname") X have_library("nsl", "gethostbyname") END-of-ruby-postgres/patches/patch-aa echo x - ruby-postgres/Makefile sed 's/^X//' >ruby-postgres/Makefile << 'END-of-ruby-postgres/Makefile' X# New ports collection makefile for: ruby-postgres X# Version required: 0.4.1 X# Date created: 19 April 1999 X# Whom: Yasuhiro Fukuma <yasuf@big.or.jp> X# X# $Id$ X# X XDISTNAME= postgres-0.4.1 XPKGNAME= ruby-postgres-0.4.1 XCATEGORIES= databases XMASTER_SITES= ftp://ftp.netlab.co.jp/pub/lang/ruby/contrib/ \ X ftp://ftp.TokyoNet.AD.JP/pub/misc/ruby/contrib/ \ X ftp://ftp.iij.ad.jp/pub/lang/ruby/contrib/ \ X ftp://blade.nagaokaut.ac.jp/pub/lang/ruby/contrib/ \ X ftp://ftp.krnet.ne.jp/pub/ruby/contrib/ \ X ftp://mirror.nucba.ac.jp/mirror/ruby/contrib/ X XMAINTAINER= yasuf@big.or.jp X XBUILD_DEPENDS= ruby:${PORTSDIR}/lang/ruby XRUN_DEPENDS= ruby:${PORTSDIR}/lang/ruby XLIB_DEPENDS= pq.2:${PORTSDIR}/databases/postgresql X XWRKSRC= ${WRKDIR}/postgres XCONFIGURE_ENV+= PGLIB="${PGLIB}" XPLIST_SUB+= RUBY_ARCH="${RUBY_ARCH}" X XRUBY_ARCH= ${ARCH}-freebsd${OSREL} X XRUBY= ${PREFIX}/bin/ruby XPGLIB= ${PREFIX}/pgsql/lib X Xdo-configure: X @cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${RUBY} extconf.rb X Xpost-install: X.if !defined(NOPORTDOCS) X ${MKDIR} ${PREFIX}/share/doc/ruby/postgres X ${INSTALL_DATA} ${WRKSRC}/postgres.html ${PREFIX}/share/doc/ruby/postgres X.endif X X.include <bsd.port.mk> END-of-ruby-postgres/Makefile exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990611142851S.yasuf>