aboutsummaryrefslogtreecommitdiff
path: root/lang/ruby18
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-06-09 01:43:01 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-06-09 01:43:01 +0000
commita8de289ab4055512b943dcbefdb0164aa80a1a86 (patch)
treea67df6ad9e040a087a3038a321e0838fd1a93fc8 /lang/ruby18
parentafc8d2a1d4290e86a5f575688bc9cb32b8595244 (diff)
downloadports-a8de289ab4055512b943dcbefdb0164aa80a1a86.tar.gz
ports-a8de289ab4055512b943dcbefdb0164aa80a1a86.zip
Dig ${RUBY_EXAMPLESDIR} and ${RUBY_DOCDIR} even if NOPORTDOCS is
defined. (But not actual examples & docs)
Notes
Notes: svn path=/head/; revision=43674
Diffstat (limited to 'lang/ruby18')
-rw-r--r--lang/ruby18/Makefile4
-rw-r--r--lang/ruby18/pkg-plist4
2 files changed, 4 insertions, 4 deletions
diff --git a/lang/ruby18/Makefile b/lang/ruby18/Makefile
index ec68d7f7e577..6f061d620813 100644
--- a/lang/ruby18/Makefile
+++ b/lang/ruby18/Makefile
@@ -98,14 +98,14 @@ post-install:
-e ' end;' \
-e 'end' \
${IRB_WITH_SUFFIX}
-.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_EXAMPLESDIR}
+ ${MKDIR} ${RUBY_DOCDIR}
+.if !defined(NOPORTDOCS)
${INSTALL_DATA} ${WRKSRC}/sample/* ${RUBY_EXAMPLESDIR}
${MKDIR} ${RUBY_EXAMPLESDIR}/curses
${INSTALL_DATA} ${WRKSRC}/ext/curses/hello.rb ${WRKSRC}/ext/curses/rain.rb ${WRKSRC}/ext/curses/view.rb ${RUBY_EXAMPLESDIR}/curses
${MKDIR} ${RUBY_EXAMPLESDIR}/pty
${INSTALL_DATA} ${WRKSRC}/ext/pty/expect_sample.rb ${WRKSRC}/ext/pty/script.rb ${WRKSRC}/ext/pty/shl.rb ${RUBY_EXAMPLESDIR}/pty
- ${MKDIR} ${RUBY_DOCDIR}
${INSTALL_DATA} ${WRKSRC}/README* ${RUBY_DOCDIR}
${MKDIR} ${RUBY_DOCDIR}/etc
${INSTALL_DATA} ${WRKSRC}/ext/etc/etc.txt* ${RUBY_DOCDIR}/etc
diff --git a/lang/ruby18/pkg-plist b/lang/ruby18/pkg-plist
index 2effb5e05516..7aaec03c5282 100644
--- a/lang/ruby18/pkg-plist
+++ b/lang/ruby18/pkg-plist
@@ -162,7 +162,7 @@ lib/lib%%RUBY_NAME%%.so.%%RUBY_SHLIBVER%%
%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/pty
%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/readline
%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/sha1
-%%PORTDOCS%%@unexec rmdir %D/%%RUBY_DOCDIR%% 2>/dev/null || true
+@unexec rmdir %D/%%RUBY_DOCDIR%% 2>/dev/null || true
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/README
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/biorhythm.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/cal.rb
@@ -221,4 +221,4 @@ lib/lib%%RUBY_NAME%%.so.%%RUBY_SHLIBVER%%
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/pty/shl.rb
%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/curses
%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/pty
-%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%
+@dirrm %%RUBY_EXAMPLESDIR%%