aboutsummaryrefslogtreecommitdiff
path: root/databases/ruby-postgres
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2008-05-30 17:09:01 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2008-05-30 17:09:01 +0000
commit79efb30db9018f7dc0190848f0c3abf1060b4336 (patch)
tree9fd78abdee564742abce31a5d46f1e89b4cbc0c1 /databases/ruby-postgres
parent0dcb5d271b6eab41164fb2d962fcc540f42871dc (diff)
downloadports-79efb30db9018f7dc0190848f0c3abf1060b4336.tar.gz
ports-79efb30db9018f7dc0190848f0c3abf1060b4336.zip
Notes
Diffstat (limited to 'databases/ruby-postgres')
-rw-r--r--databases/ruby-postgres/Makefile4
-rw-r--r--databases/ruby-postgres/pkg-plist14
2 files changed, 10 insertions, 8 deletions
diff --git a/databases/ruby-postgres/Makefile b/databases/ruby-postgres/Makefile
index c276bb1da9ad..a3cfbcaf22f7 100644
--- a/databases/ruby-postgres/Makefile
+++ b/databases/ruby-postgres/Makefile
@@ -28,9 +28,11 @@ DOCS_EN= ChangeLog README doc/postgres.html
DOCS_JA= README.ja doc/postgres.jp.html
post-install:
-.if !defined(NOPORTDOCS)
+.if !defined(NOPORTEXAMPLES)
${MKDIR} ${RUBY_MODEXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/../sample/*.rb ${RUBY_MODEXAMPLESDIR}/
+.endif
+.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODDOCDIR}/ja
.for f in ${DOCS_EN}
${INSTALL_DATA} ${WRKSRC}/../${f} ${RUBY_MODDOCDIR}/
diff --git a/databases/ruby-postgres/pkg-plist b/databases/ruby-postgres/pkg-plist
index 1535649e3bc3..e8aed121857e 100644
--- a/databases/ruby-postgres/pkg-plist
+++ b/databases/ruby-postgres/pkg-plist
@@ -1,11 +1,11 @@
%%RUBY_SITEARCHLIBDIR%%/postgres.so
-%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/losample.rb
-%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/psql.rb
-%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/psqlHelp.rb
-%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test1.rb
-%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test2.rb
-%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test4.rb
-%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%
+%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/losample.rb
+%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/psql.rb
+%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/psqlHelp.rb
+%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/test1.rb
+%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/test2.rb
+%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/test4.rb
+%%PORTEXAMPLES%%@dirrm %%RUBY_MODEXAMPLESDIR%%
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/postgres.html