summaryrefslogtreecommitdiff
path: root/lang/ruby-man
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2000-09-07 07:58:12 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2000-09-07 07:58:12 +0000
commitfc5d55277ec47989b00f0a882046c2897f1881de (patch)
treea26d67f03f2a10c74828365878f982feb21d1ff1 /lang/ruby-man
parentUpdate with bsd.ruby.mk. (diff)
Update with bsd.ruby.mk.
Do not add a trailing version number to the name of the installed directory.
Notes
Notes: svn path=/head/; revision=32374
Diffstat (limited to 'lang/ruby-man')
-rw-r--r--lang/ruby-man/Makefile11
-rw-r--r--lang/ruby-man/pkg-plist102
2 files changed, 57 insertions, 56 deletions
diff --git a/lang/ruby-man/Makefile b/lang/ruby-man/Makefile
index f0f238a2cf33..fab80c8ab25f 100644
--- a/lang/ruby-man/Makefile
+++ b/lang/ruby-man/Makefile
@@ -16,17 +16,18 @@ MAINTAINER= olgeni@uli.it
DIST_SUBDIR= ruby
-PLIST_SUB= RUBY_VER="${RUBY_VER}" LANGSUFFIX="${LANGSUFFIX}"
+PLIST_SUB= LANGSUFFIX="${LANGSUFFIX}"
-RUBY_VER?= 1.4
-WRKSRC= ${WRKDIR}/${PORTNAME}-${RUBY_VER}${LANGSUFFIX}
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}${LANGSUFFIX}
NO_BUILD= yes
-DOCDIR= ${PREFIX}/share/doc/ruby/ruby-man-${RUBY_VER}${LANGSUFFIX}
+DOCDIR= ${RUBY_DOCDIR}/ruby-man${LANGSUFFIX}
do-install:
${MKDIR} ${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/*.html ${DOCDIR}
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/Mk/bsd.ruby.mk"
+.include <bsd.port.post.mk>
diff --git a/lang/ruby-man/pkg-plist b/lang/ruby-man/pkg-plist
index a89068028ae9..bf7401678001 100644
--- a/lang/ruby-man/pkg-plist
+++ b/lang/ruby-man/pkg-plist
@@ -1,51 +1,51 @@
-share/doc/ruby/ruby-man-%%RUBY_VER%%/Array.html
-share/doc/ruby/ruby-man-%%RUBY_VER%%/Bignum.html
-share/doc/ruby/ruby-man-%%RUBY_VER%%/Class.html
-share/doc/ruby/ruby-man-%%RUBY_VER%%/Compar.html
-share/doc/ruby/ruby-man-%%RUBY_VER%%/Data.html
-share/doc/ruby/ruby-man-%%RUBY_VER%%/Dir.html
-share/doc/ruby/ruby-man-%%RUBY_VER%%/ENV.html
-share/doc/ruby/ruby-man-%%RUBY_VER%%/Enum.html
-share/doc/ruby/ruby-man-%%RUBY_VER%%/Errno.html
-share/doc/ruby/ruby-man-%%RUBY_VER%%/Exception.html
-share/doc/ruby/ruby-man-%%RUBY_VER%%/File.html
-share/doc/ruby/ruby-man-%%RUBY_VER%%/FileTest.html
-share/doc/ruby/ruby-man-%%RUBY_VER%%/Fixnum.html
-share/doc/ruby/ruby-man-%%RUBY_VER%%/Float.html
-share/doc/ruby/ruby-man-%%RUBY_VER%%/GC.html
-share/doc/ruby/ruby-man-%%RUBY_VER%%/Hash.html
-share/doc/ruby/ruby-man-%%RUBY_VER%%/IO.html
-share/doc/ruby/ruby-man-%%RUBY_VER%%/Integer.html
-share/doc/ruby/ruby-man-%%RUBY_VER%%/Kernel.html
-share/doc/ruby/ruby-man-%%RUBY_VER%%/Marshal.html
-share/doc/ruby/ruby-man-%%RUBY_VER%%/Match.html
-share/doc/ruby/ruby-man-%%RUBY_VER%%/Math.html
-share/doc/ruby/ruby-man-%%RUBY_VER%%/Module.html
-share/doc/ruby/ruby-man-%%RUBY_VER%%/NilClass.html
-share/doc/ruby/ruby-man-%%RUBY_VER%%/Numeric.html
-share/doc/ruby/ruby-man-%%RUBY_VER%%/ObSpace.html
-share/doc/ruby/ruby-man-%%RUBY_VER%%/Object.html
-share/doc/ruby/ruby-man-%%RUBY_VER%%/Prec.html
-share/doc/ruby/ruby-man-%%RUBY_VER%%/Proc.html
-share/doc/ruby/ruby-man-%%RUBY_VER%%/Process.html
-share/doc/ruby/ruby-man-%%RUBY_VER%%/Range.html
-share/doc/ruby/ruby-man-%%RUBY_VER%%/Regexp.html
-share/doc/ruby/ruby-man-%%RUBY_VER%%/String.html
-share/doc/ruby/ruby-man-%%RUBY_VER%%/Struct.html
-share/doc/ruby/ruby-man-%%RUBY_VER%%/Time.html
-share/doc/ruby/ruby-man-%%RUBY_VER%%/bundle.html
-share/doc/ruby/ruby-man-%%RUBY_VER%%/classes.html
-share/doc/ruby/ruby-man-%%RUBY_VER%%/dbm.html
-share/doc/ruby/ruby-man-%%RUBY_VER%%/function.html
-share/doc/ruby/ruby-man-%%RUBY_VER%%/glossary.html
-share/doc/ruby/ruby-man-%%RUBY_VER%%/index.html
-share/doc/ruby/ruby-man-%%RUBY_VER%%/kconv.html
-share/doc/ruby/ruby-man-%%RUBY_VER%%/options.html
-share/doc/ruby/ruby-man-%%RUBY_VER%%/preface.html
-share/doc/ruby/ruby-man-%%RUBY_VER%%/socket.html
-share/doc/ruby/ruby-man-%%RUBY_VER%%/syntax.html
-share/doc/ruby/ruby-man-%%RUBY_VER%%/thread.html
-share/doc/ruby/ruby-man-%%RUBY_VER%%/variable.html
-share/doc/ruby/ruby-man-%%RUBY_VER%%/yacc.html
-@dirrm share/doc/ruby/ruby-man-%%RUBY_VER%%
-@unexec rmdir %D/share/doc/ruby 2>/dev/null || true
+%%RUBY_DOCDIR%%/ruby-man/Array.html
+%%RUBY_DOCDIR%%/ruby-man/Bignum.html
+%%RUBY_DOCDIR%%/ruby-man/Class.html
+%%RUBY_DOCDIR%%/ruby-man/Compar.html
+%%RUBY_DOCDIR%%/ruby-man/Data.html
+%%RUBY_DOCDIR%%/ruby-man/Dir.html
+%%RUBY_DOCDIR%%/ruby-man/ENV.html
+%%RUBY_DOCDIR%%/ruby-man/Enum.html
+%%RUBY_DOCDIR%%/ruby-man/Errno.html
+%%RUBY_DOCDIR%%/ruby-man/Exception.html
+%%RUBY_DOCDIR%%/ruby-man/File.html
+%%RUBY_DOCDIR%%/ruby-man/FileTest.html
+%%RUBY_DOCDIR%%/ruby-man/Fixnum.html
+%%RUBY_DOCDIR%%/ruby-man/Float.html
+%%RUBY_DOCDIR%%/ruby-man/GC.html
+%%RUBY_DOCDIR%%/ruby-man/Hash.html
+%%RUBY_DOCDIR%%/ruby-man/IO.html
+%%RUBY_DOCDIR%%/ruby-man/Integer.html
+%%RUBY_DOCDIR%%/ruby-man/Kernel.html
+%%RUBY_DOCDIR%%/ruby-man/Marshal.html
+%%RUBY_DOCDIR%%/ruby-man/Match.html
+%%RUBY_DOCDIR%%/ruby-man/Math.html
+%%RUBY_DOCDIR%%/ruby-man/Module.html
+%%RUBY_DOCDIR%%/ruby-man/NilClass.html
+%%RUBY_DOCDIR%%/ruby-man/Numeric.html
+%%RUBY_DOCDIR%%/ruby-man/ObSpace.html
+%%RUBY_DOCDIR%%/ruby-man/Object.html
+%%RUBY_DOCDIR%%/ruby-man/Prec.html
+%%RUBY_DOCDIR%%/ruby-man/Proc.html
+%%RUBY_DOCDIR%%/ruby-man/Process.html
+%%RUBY_DOCDIR%%/ruby-man/Range.html
+%%RUBY_DOCDIR%%/ruby-man/Regexp.html
+%%RUBY_DOCDIR%%/ruby-man/String.html
+%%RUBY_DOCDIR%%/ruby-man/Struct.html
+%%RUBY_DOCDIR%%/ruby-man/Time.html
+%%RUBY_DOCDIR%%/ruby-man/bundle.html
+%%RUBY_DOCDIR%%/ruby-man/classes.html
+%%RUBY_DOCDIR%%/ruby-man/dbm.html
+%%RUBY_DOCDIR%%/ruby-man/function.html
+%%RUBY_DOCDIR%%/ruby-man/glossary.html
+%%RUBY_DOCDIR%%/ruby-man/index.html
+%%RUBY_DOCDIR%%/ruby-man/kconv.html
+%%RUBY_DOCDIR%%/ruby-man/options.html
+%%RUBY_DOCDIR%%/ruby-man/preface.html
+%%RUBY_DOCDIR%%/ruby-man/socket.html
+%%RUBY_DOCDIR%%/ruby-man/syntax.html
+%%RUBY_DOCDIR%%/ruby-man/thread.html
+%%RUBY_DOCDIR%%/ruby-man/variable.html
+%%RUBY_DOCDIR%%/ruby-man/yacc.html
+@dirrm %%RUBY_DOCDIR%%/ruby-man
+@unexec rmdir %D/%%RUBY_DOCDIR%% 2>/dev/null || true