aboutsummaryrefslogtreecommitdiff
path: root/graphics
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 /graphics
parent0dcb5d271b6eab41164fb2d962fcc540f42871dc (diff)
downloadports-79efb30db9018f7dc0190848f0c3abf1060b4336.tar.gz
ports-79efb30db9018f7dc0190848f0c3abf1060b4336.zip
- use PORTEXAMPLES
Notes
Notes: svn path=/head/; revision=213955
Diffstat (limited to 'graphics')
-rw-r--r--graphics/ruby-gd/Makefile4
-rw-r--r--graphics/ruby-gd/pkg-plist8
2 files changed, 7 insertions, 5 deletions
diff --git a/graphics/ruby-gd/Makefile b/graphics/ruby-gd/Makefile
index 4eb1fb5e3633..3e229375dd41 100644
--- a/graphics/ruby-gd/Makefile
+++ b/graphics/ruby-gd/Makefile
@@ -71,11 +71,13 @@ post-patch:
.endif
post-install:
-.if !defined(NOPORTDOCS)
+.if !defined(NOPORTEXAMPLES)
${MKDIR} ${RUBY_MODEXAMPLESDIR}
.for f in ${EXAMPLES_EN}
${INSTALL_DATA} ${WRKSRC}/sample/${f} ${RUBY_MODEXAMPLESDIR}/
.endfor
+.endif
+.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODDOCDIR}/ja
.for f in ${DOCS_EN}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
diff --git a/graphics/ruby-gd/pkg-plist b/graphics/ruby-gd/pkg-plist
index 54e781c78ab9..1b431c399754 100644
--- a/graphics/ruby-gd/pkg-plist
+++ b/graphics/ruby-gd/pkg-plist
@@ -1,8 +1,8 @@
%%RUBY_SITEARCHLIBDIR%%/GD.so
-%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/example.rb
-%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gdtestttf.rb
-%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/webpng.rb
-%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%
+%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/example.rb
+%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/gdtestttf.rb
+%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/webpng.rb
+%%PORTEXAMPLES%%@dirrm %%RUBY_MODEXAMPLESDIR%%
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/Changes
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/INSTALL.en
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/TODO