diff options
author | knu <knu@FreeBSD.org> | 2002-01-11 03:26:21 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2002-01-11 03:26:21 +0800 |
commit | f2db405a8c99dda9692c99c7408885828221f6ec (patch) | |
tree | 1efa235cd85b69d7e5defe9236d3136e315b731b /devel | |
parent | 27f4cbab1a3a4a8187e2d565cf48bda8def690e6 (diff) | |
download | freebsd-ports-gnome-f2db405a8c99dda9692c99c7408885828221f6ec.tar.gz freebsd-ports-gnome-f2db405a8c99dda9692c99c7408885828221f6ec.tar.zst freebsd-ports-gnome-f2db405a8c99dda9692c99c7408885828221f6ec.zip |
Update to version 2.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/ruby-fileutils/Makefile | 11 | ||||
-rw-r--r-- | devel/ruby-fileutils/distinfo | 2 | ||||
-rw-r--r-- | devel/ruby-fileutils/pkg-plist | 2 |
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 |