aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/eruby
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2008-05-31 01:09:01 +0800
committerdinoex <dinoex@FreeBSD.org>2008-05-31 01:09:01 +0800
commitc25974ce083ff136211ddfb55dd77fd7ec8f9a3b (patch)
tree646a482ee9d727f94ca636705cbba6169c7be195 /textproc/eruby
parent558098ac9b30dc5c9e5d00b9ab8d9395ee71992a (diff)
downloadfreebsd-ports-gnome-c25974ce083ff136211ddfb55dd77fd7ec8f9a3b.tar.gz
freebsd-ports-gnome-c25974ce083ff136211ddfb55dd77fd7ec8f9a3b.tar.zst
freebsd-ports-gnome-c25974ce083ff136211ddfb55dd77fd7ec8f9a3b.zip
- use PORTEXAMPLES
Diffstat (limited to 'textproc/eruby')
-rw-r--r--textproc/eruby/Makefile4
-rw-r--r--textproc/eruby/pkg-plist10
2 files changed, 8 insertions, 6 deletions
diff --git a/textproc/eruby/Makefile b/textproc/eruby/Makefile
index 7204f3ca9754..6937a12612f2 100644
--- a/textproc/eruby/Makefile
+++ b/textproc/eruby/Makefile
@@ -35,9 +35,11 @@ do-configure:
@cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${RUBY} configure.rb ${CONFIGURE_ARGS}
post-install:
-.if !defined(NOPORTDOCS)
+.if !defined(NOPORTEXAMPLES)
${MKDIR} ${RUBY_MODEXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/* ${RUBY_MODEXAMPLESDIR}/
+.endif
+.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODDOCDIR}/ja
.for f in ${DOCS_EN}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
diff --git a/textproc/eruby/pkg-plist b/textproc/eruby/pkg-plist
index 6b6b96f5289b..4f6a21583b4f 100644
--- a/textproc/eruby/pkg-plist
+++ b/textproc/eruby/pkg-plist
@@ -4,11 +4,11 @@ lib/liberuby.so.10
lib/liberuby.so
lib/liberuby.a
%%RUBY_SITEARCHLIBDIR%%/eruby.so
-%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/e2r.rb
-%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/foo.rhtml
-%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test.rb
-%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test.rhtml
-%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%
+%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/e2r.rb
+%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/foo.rhtml
+%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/test.rb
+%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/test.rhtml
+%%PORTEXAMPLES%%@dirrm %%RUBY_MODEXAMPLESDIR%%
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/COPYING
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README.en