summaryrefslogtreecommitdiff
path: root/lang/ruby
diff options
context:
space:
mode:
authorrillig <rillig>2007-01-07 09:13:46 +0000
committerrillig <rillig>2007-01-07 09:13:46 +0000
commit87e1bea888d90a6044a18e46681bc456ea30305c (patch)
tree77b9cef42b625156081609e43af1544d569620be /lang/ruby
parent0e3f31f90a7d6a3a3dc9c7045ed1c6c9c8dac0ac (diff)
downloadpkgsrc-87e1bea888d90a6044a18e46681bc456ea30305c.tar.gz
Mechanically replaced man/* with ${PKGMANDIR}/* in the definition of
INSTALLATION_DIRS, as well as all occurrences of ${PREFIX}/man with ${PREFIX}/${PKGMANDIR}. Fixes PR 35265, although I did not use the patch provided therein.
Diffstat (limited to 'lang/ruby')
-rw-r--r--lang/ruby/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/lang/ruby/Makefile b/lang/ruby/Makefile
index c608b3c29f8..eda29987508 100644
--- a/lang/ruby/Makefile
+++ b/lang/ruby/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.41 2006/12/06 16:34:42 taca Exp $
+# $NetBSD: Makefile,v 1.42 2007/01/07 09:13:57 rillig Exp $
DISTNAME= ruby-${RUBY_VERSION}.${RUBY_PATCH_DATE}
CATEGORIES= lang ruby
@@ -24,7 +24,7 @@ RUBY_COMMANDS= irb ruby
RUBY_COMMANDS+= erb h2rb rdoc ri testrb
.endif
-INSTALLATION_DIRS= bin man/man1
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
do-install:
${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
@@ -33,7 +33,7 @@ do-install:
${LN} -sf ${f}${RUBY_VER} ${PREFIX}/bin/${f}
${ECHO} bin/${f} >> ${PLIST_SRC}
.endfor
- ${LN} -sf ${RUBY_NAME}.1 ${PREFIX}/man/man1/ruby.1
+ ${LN} -sf ${RUBY_NAME}.1 ${PREFIX}/${PKGMANDIR}/man1/ruby.1
${ECHO} man/man1/ruby.1 >> ${PLIST_SRC}
.endif