summaryrefslogtreecommitdiff
path: root/lang/ruby-usersguide/Makefile
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/Makefile
parentIncorrect error code fix when a connection is failed. (diff)
lang/ruby-usersguide:
- Replace with Mark Slagell's retranslation version. - Add an Author: credit to DESCR. japanese/ruby-usersguide: - Use MASTER_SITE_RUBY. - Add Authors: credits to DESCR.
Notes
Notes: svn path=/head/; revision=32241
Diffstat (limited to 'lang/ruby-usersguide/Makefile')
-rw-r--r--lang/ruby-usersguide/Makefile12
1 files changed, 8 insertions, 4 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>