diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2008-05-30 17:09:01 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2008-05-30 17:09:01 +0000 |
commit | 79efb30db9018f7dc0190848f0c3abf1060b4336 (patch) | |
tree | 9fd78abdee564742abce31a5d46f1e89b4cbc0c1 /databases | |
parent | 0dcb5d271b6eab41164fb2d962fcc540f42871dc (diff) |
- use PORTEXAMPLES
Notes
Notes:
svn path=/head/; revision=213955
Diffstat (limited to 'databases')
-rw-r--r-- | databases/ruby-postgres/Makefile | 4 | ||||
-rw-r--r-- | databases/ruby-postgres/pkg-plist | 14 | ||||
-rw-r--r-- | databases/ruby-rdbc1/Makefile | 4 | ||||
-rw-r--r-- | databases/ruby-rdbc1/pkg-plist | 4 |
4 files changed, 15 insertions, 11 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 diff --git a/databases/ruby-rdbc1/Makefile b/databases/ruby-rdbc1/Makefile index 2b4f1a054129..ec8337007d6e 100644 --- a/databases/ruby-rdbc1/Makefile +++ b/databases/ruby-rdbc1/Makefile @@ -28,9 +28,11 @@ NO_BUILD= yes do-install: ${MKDIR} ${RUBY_SITELIBDIR} ${INSTALL_DATA} ${WRKSRC}/*.rb ${RUBY_SITELIBDIR}/ -.if !defined(NOPORTDOCS) +.if !defined(NOPORTEXAMPLES) ${MKDIR} ${RUBY_MODEXAMPLESDIR}/ ${INSTALL_DATA} ${WRKSRC}/sample/*.rb ${RUBY_MODEXAMPLESDIR}/ +.endif +.if !defined(NOPORTDOCS) ${MKDIR} ${RUBY_MODDOCDIR}/ja ${CP} -R ${WRKSRC}/doc/en/* ${RUBY_MODDOCDIR}/ ${CP} -R ${WRKSRC}/doc/ja/* ${RUBY_MODDOCDIR}/ja/ diff --git a/databases/ruby-rdbc1/pkg-plist b/databases/ruby-rdbc1/pkg-plist index e0f9d434460a..ed1c3fd31c28 100644 --- a/databases/ruby-rdbc1/pkg-plist +++ b/databases/ruby-rdbc1/pkg-plist @@ -1,8 +1,8 @@ %%RUBY_SITELIBDIR%%/ora_rdbc1.rb %%RUBY_SITELIBDIR%%/pg_rdbc1.rb %%RUBY_SITELIBDIR%%/rdbc1.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test1.rb -%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%% +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/test1.rb +%%PORTEXAMPLES%%@dirrm %%RUBY_MODEXAMPLESDIR%% %%PORTDOCS%%%%RUBY_MODDOCDIR%%/Composite.html %%PORTDOCS%%%%RUBY_MODDOCDIR%%/Connection.html %%PORTDOCS%%%%RUBY_MODDOCDIR%%/ConnectionBridge.html |