diff options
author | knu <knu@FreeBSD.org> | 2000-08-13 04:09:41 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2000-08-13 04:09:41 +0800 |
commit | e932a87c5235b90fa671f5b453afd18c94f3b2f3 (patch) | |
tree | 7f470d6c370885834b1ad0e7ffcd9a38f0534974 /databases/rubygem-postgres | |
parent | 761a287d6d458a83abfd6ab90410b27c5cda14af (diff) | |
download | freebsd-ports-gnome-e932a87c5235b90fa671f5b453afd18c94f3b2f3.tar.gz freebsd-ports-gnome-e932a87c5235b90fa671f5b453afd18c94f3b2f3.tar.zst freebsd-ports-gnome-e932a87c5235b90fa671f5b453afd18c94f3b2f3.zip |
Do The Right Thing. (R)
Overall changes:
Use tabs instead of sequential spaces.
Note Author as well as WWW in DESCR.
Do not install examples when NOPORTDOCS.
Make RUBY, RUBY_VER and RUBY_ARCH variables overridable.
ruby-date2:
share/doc/ruby/date2/examples/ -> share/examples/ruby/date2/cal.rb
textproc/ruby-html-parser:
databases/ruby-mysql:
devel/ruby-optparse:
devel/ruby-property:
Install modules under lib/ruby/site_ruby/${RUBY_VER}/ instead
of lib/ruby/site_ruby/ or lib/ruby/${RUBY_VER}/
textproc/ruby-rdtool:
Install documents in .rd format too.
Format optparse's rd file. (Since ruby-rdtool depends on
optparse, it cannot be done during optparse's build
process. So ruby-rdtool should take care of that when it is
installed. :)
Diffstat (limited to 'databases/rubygem-postgres')
-rw-r--r-- | databases/rubygem-postgres/Makefile | 14 | ||||
-rw-r--r-- | databases/rubygem-postgres/pkg-descr | 1 |
2 files changed, 8 insertions, 7 deletions
diff --git a/databases/rubygem-postgres/Makefile b/databases/rubygem-postgres/Makefile index 1901405a3808..5c9548e373fb 100644 --- a/databases/rubygem-postgres/Makefile +++ b/databases/rubygem-postgres/Makefile @@ -1,6 +1,6 @@ -# New ports collection makefile for: ruby-postgres -# Date created: 19 April 1999 -# Whom: Yasuhiro Fukuma <yasuf@big.or.jp> +# New ports collection makefile for: ruby-postgres +# Date created: 19 April 1999 +# Whom: Yasuhiro Fukuma <yasuf@big.or.jp> # # $FreeBSD$ # @@ -23,9 +23,9 @@ 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 +RUBY_VER?= 1.4 +RUBY_ARCH?= ${ARCH}-freebsd${OSREL} PGDIR?= ${PREFIX}/pgsql @@ -36,9 +36,9 @@ do-configure: @cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${RUBY} extconf.rb ${CONFIGURE_ARGS} post-install: +.if !defined(NOPORTDOCS) ${MKDIR} ${PREFIX}/share/examples/ruby/postgres ${INSTALL_DATA} ${WRKSRC}/sample/* ${PREFIX}/share/examples/ruby/postgres/ -.if !defined(NOPORTDOCS) ${MKDIR} ${PREFIX}/share/doc/ruby/postgres/ja .for f in ${DOCS_EN} ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/ruby/postgres/ diff --git a/databases/rubygem-postgres/pkg-descr b/databases/rubygem-postgres/pkg-descr index b16cc402eb53..d9bdd0f48c5e 100644 --- a/databases/rubygem-postgres/pkg-descr +++ b/databases/rubygem-postgres/pkg-descr @@ -1,4 +1,5 @@ This is an extention module to access PostgreSQL database from Ruby. This library works with PostgreSQL 6.4/6.5 and 7.0. +Author: Noboru Saitou <noborus@mb.kcom.ne.jp> WWW: http://webclub.kcom.ne.jp/mb/noborus/postgres/index.html |