Date: Sat, 21 Aug 1999 15:30:03 -0700 (PDT) From: Yasuhiro Fukuma <yasuf@big.or.jp> To: freebsd-ports@FreeBSD.org Subject: Re: ports/12123: New port: databases/ruby-postgres Message-ID: <199908212230.PAA52284@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/12123; it has been noted by GNATS. From: Yasuhiro Fukuma <yasuf@big.or.jp> To: freebsd-gnats-submit@freebsd.org Cc: Subject: Re: ports/12123: New port: databases/ruby-postgres Date: Sun, 22 Aug 1999 07:25:21 +0900 Here is a patch: - to update to postgres-0.5.3. - to cope with Ruby 1.4. Removed file: patches/patch-aa diff -ruN ruby-postgres-19990420/Makefile ruby-postgres/Makefile --- ruby-postgres-19990420/Makefile Mon Apr 19 22:49:32 1999 +++ ruby-postgres/Makefile Sat Aug 14 07:08:59 1999 @@ -1,13 +1,13 @@ # New ports collection makefile for: ruby-postgres -# Version required: 0.4.1 +# Version required: 0.5.3 # Date created: 19 April 1999 # Whom: Yasuhiro Fukuma <yasuf@big.or.jp> # # $Id$ # -DISTNAME= postgres-0.4.1 -PKGNAME= ruby-postgres-0.4.1 +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/ \ @@ -23,21 +23,25 @@ LIB_DEPENDS= pq.2:${PORTSDIR}/databases/postgresql WRKSRC= ${WRKDIR}/postgres -CONFIGURE_ENV+= PGLIB="${PGLIB}" -PLIST_SUB+= RUBY_ARCH="${RUBY_ARCH}" +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} -RUBY= ${PREFIX}/bin/ruby -PGLIB= ${PREFIX}/pgsql/lib +PGDIR?= ${PREFIX}/pgsql do-configure: - @cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${RUBY} extconf.rb + @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}/postgres.html ${PREFIX}/share/doc/ruby/postgres + ${INSTALL_DATA} ${WRKSRC}/README* ${WRKSRC}/*.html ${PREFIX}/share/doc/ruby/postgres .endif .include <bsd.port.mk> diff -ruN ruby-postgres-19990420/files/md5 ruby-postgres/files/md5 --- ruby-postgres-19990420/files/md5 Mon Apr 19 22:24:28 1999 +++ ruby-postgres/files/md5 Sat Aug 14 05:51:34 1999 @@ -1 +1 @@ -MD5 (postgres-0.4.1.tar.gz) = c5c50269b9bfb49043fd8a7bcd266c9e +MD5 (postgres-0.5.3.tar.gz) = f34965e627807b9e9ac78e322e3d21f2 diff -ruN ruby-postgres-19990420/patches/patch-aa ruby-postgres/patches/patch-aa --- ruby-postgres-19990420/patches/patch-aa Mon Apr 19 22:31:18 1999 +++ ruby-postgres/patches/patch-aa Thu Jan 1 09:00:00 1970 @@ -1,9 +0,0 @@ ---- extconf.rb.orig Wed Jan 20 17:09:18 1999 -+++ extconf.rb Mon Apr 19 22:31:02 1999 -@@ -1,3 +1,6 @@ -+require 'mkmf' -+$CFLAGS ||= '' -+ - have_library("wsock32", "cygwin32_socket") or have_library("socket", "socket") - have_library("inet", "gethostbyname") - have_library("nsl", "gethostbyname") diff -ruN ruby-postgres-19990420/pkg/PLIST ruby-postgres/pkg/PLIST --- ruby-postgres-19990420/pkg/PLIST Mon Apr 19 22:59:36 1999 +++ ruby-postgres/pkg/PLIST Sat Aug 14 07:07:57 1999 @@ -1,4 +1,10 @@ -lib/ruby/%%RUBY_ARCH%%/postgres.so +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 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?199908212230.PAA52284>