aboutsummaryrefslogtreecommitdiff
path: root/lang/ruby-usersguide
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2000-09-04 08:53:48 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2000-09-04 08:53:48 +0000
commit1acbe9eb43a914f34b9cc6f9d8a4ba9558620282 (patch)
tree1f50b3323c4389271e863b5bde58d618d7081ace /lang/ruby-usersguide
parente20ef52339e42c4ad6c2a3ed26745e62b7f00403 (diff)
downloadports-1acbe9eb43a914f34b9cc6f9d8a4ba9558620282.tar.gz
ports-1acbe9eb43a914f34b9cc6f9d8a4ba9558620282.zip
Notes
Diffstat (limited to 'lang/ruby-usersguide')
-rw-r--r--lang/ruby-usersguide/Makefile12
-rw-r--r--lang/ruby-usersguide/distinfo2
-rw-r--r--lang/ruby-usersguide/pkg-descr5
-rw-r--r--lang/ruby-usersguide/pkg-plist7
4 files changed, 21 insertions, 5 deletions
diff --git a/lang/ruby-usersguide/Makefile b/lang/ruby-usersguide/Makefile
index 78ba9d427f83..582bb23d554a 100644
--- a/lang/ruby-usersguide/Makefile
+++ b/lang/ruby-usersguide/Makefile
@@ -8,14 +8,14 @@
PORTNAME= ruby-usersguide
PORTVERSION= ${VERSION}
CATEGORIES+= lang ruby
-MASTER_SITES?= http://www.math.sci.hokudai.ac.jp/~gotoken/ruby/
-DISTNAME= ${SHORTNAME}-${PORTVERSION}
+MASTER_SITES?= http://www.cs.iastate.edu/~slagell/ruby/
+DISTNAME?= ${SHORTNAME}
DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
SHORTNAME= ${PORTNAME:S/usersguide/uguide/}
-VERSION?= 981227
+VERSION?= 20000904
PLIST_SUB= RUBY_VER="${RUBY_VER}" LANGSUFFIX="${LANGSUFFIX}"
@@ -25,8 +25,12 @@ NO_BUILD= yes
DOCDIR= ${PREFIX}/share/doc/ruby/${PORTNAME}${LANGSUFFIX}
+post-extract:
+ if [ -f ${WRKSRC}/ansi.com ]; then ${RM} ${WRKSRC}/ansi.com; fi
+
do-install:
${MKDIR} ${DOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/index.html ${WRKSRC}/uguide* ${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/* ${DOCDIR}
+ ${LN} -fs uguide00.html ${DOCDIR}/index.html
.include <bsd.port.mk>
diff --git a/lang/ruby-usersguide/distinfo b/lang/ruby-usersguide/distinfo
index 4a7268c2825d..84b1d3e57f69 100644
--- a/lang/ruby-usersguide/distinfo
+++ b/lang/ruby-usersguide/distinfo
@@ -1 +1 @@
-MD5 (ruby/ruby-uguide-981227.tar.gz) = 24eadcd067278901da9ad70efb146b07
+MD5 (ruby/ruby-uguide.tar.gz) = 951b7c743599b85fc435525a73f08dd3
diff --git a/lang/ruby-usersguide/pkg-descr b/lang/ruby-usersguide/pkg-descr
index 1bdab93a80b4..1f50321f02a9 100644
--- a/lang/ruby-usersguide/pkg-descr
+++ b/lang/ruby-usersguide/pkg-descr
@@ -4,3 +4,8 @@ files and to do system management tasks. This package contains the
Ruby users guide in HTML format.
WWW: http://www.ruby-lang.org/
+Authors:
+ Yukihiro Matsumoto <matz@netlab.co.jp> (Japanese version)
+ GOTO Kentaro <gotoken@notwork.org> (Initial translation)
+ Julian Fondren (ditto)
+ Mark Slagell <slagell@cs.iastate.edu> (Retranslation)
diff --git a/lang/ruby-usersguide/pkg-plist b/lang/ruby-usersguide/pkg-plist
index b0ed2c99c1db..d1a5f1f569e1 100644
--- a/lang/ruby-usersguide/pkg-plist
+++ b/lang/ruby-usersguide/pkg-plist
@@ -1,4 +1,10 @@
+share/doc/ruby/ruby-usersguide/README.txt
+share/doc/ruby/ruby-usersguide/a2l.gif
+share/doc/ruby/ruby-usersguide/a2r.gif
+share/doc/ruby/ruby-usersguide/a2u.gif
+share/doc/ruby/ruby-usersguide/eval.rb
share/doc/ruby/ruby-usersguide/index.html
+share/doc/ruby/ruby-usersguide/install.html
share/doc/ruby/ruby-usersguide/uguide.css
share/doc/ruby/ruby-usersguide/uguide00.html
share/doc/ruby/ruby-usersguide/uguide01.html
@@ -26,5 +32,6 @@ share/doc/ruby/ruby-usersguide/uguide22.html
share/doc/ruby/ruby-usersguide/uguide23.html
share/doc/ruby/ruby-usersguide/uguide24.html
share/doc/ruby/ruby-usersguide/uguide25.html
+share/doc/ruby/ruby-usersguide/uguide26.html
@dirrm share/doc/ruby/ruby-usersguide
@unexec rmdir %D/share/doc/ruby 2>/dev/null || true