aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
Diffstat (limited to 'devel')
-rw-r--r--devel/ruby-fileutils/Makefile11
-rw-r--r--devel/ruby-fileutils/distinfo2
-rw-r--r--devel/ruby-fileutils/pkg-plist2
3 files changed, 12 insertions, 3 deletions
diff --git a/devel/ruby-fileutils/Makefile b/devel/ruby-fileutils/Makefile
index 1e05fa5a0476..e9ba16129936 100644
--- a/devel/ruby-fileutils/Makefile
+++ b/devel/ruby-fileutils/Makefile
@@ -6,11 +6,10 @@
#
PORTNAME= fileutils
-PORTVERSION= 0.0.0
+PORTVERSION= 2
CATEGORIES= devel ruby
MASTER_SITES= http://www.loveruby.net/archive/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
-DISTNAME= ${PORTNAME}
DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
@@ -22,17 +21,25 @@ RUBY_SETUP= install.rb
USE_RUBY_RD= yes
.endif
+WRKSRC= ${WRKDIR}/${PORTNAME}
+
+DOCS_EN= doc-en.rd doc-en.html
DOCS_JA= doc-ja.rd doc-ja.html
post-build:
.if !defined(NOPORTDOCS)
@cd ${WRKSRC}; \
+ ${RUBY_RD} doc-en.rd > doc-en.html
+ @cd ${WRKSRC}; \
${RUBY_RD} doc-ja.rd > doc-ja.html
.endif
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}/ja
+.for f in ${DOCS_EN}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/
+.endfor
.for f in ${DOCS_JA}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/ja/
.endfor
diff --git a/devel/ruby-fileutils/distinfo b/devel/ruby-fileutils/distinfo
index 6a9ffe376d31..7910027d3158 100644
--- a/devel/ruby-fileutils/distinfo
+++ b/devel/ruby-fileutils/distinfo
@@ -1 +1 @@
-MD5 (ruby/fileutils.tar.gz) = 972f027068f53a31213b96a78e2917af
+MD5 (ruby/fileutils-2.tar.gz) = 034c12c877e6df8e19e8debffe432ce2
diff --git a/devel/ruby-fileutils/pkg-plist b/devel/ruby-fileutils/pkg-plist
index 09cf773017de..a2084cfe82a5 100644
--- a/devel/ruby-fileutils/pkg-plist
+++ b/devel/ruby-fileutils/pkg-plist
@@ -1,4 +1,6 @@
%%RUBY_SITELIBDIR%%/fileutils.rb
+%%PORTDOCS%%%%RUBY_DOCDIR%%/fileutils/doc-en.html
+%%PORTDOCS%%%%RUBY_DOCDIR%%/fileutils/doc-en.rd
%%PORTDOCS%%%%RUBY_DOCDIR%%/fileutils/ja/doc-ja.html
%%PORTDOCS%%%%RUBY_DOCDIR%%/fileutils/ja/doc-ja.rd
%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/fileutils/ja