pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Attempt a little harder to support multi-Rubies.



Module Name:	pkgsrc-wip
Committed By:	Amitai Schleier <schmonz%NetBSD.org@localhost>
Pushed By:	schmonz
Date:		Thu Aug 17 15:46:52 2017 +0200
Changeset:	a6b439329f1b76679d7e833b0623630bb7f0056b

Modified Files:
	ruby-rdiscount/Makefile
	ruby-rdiscount/PLIST

Log Message:
Attempt a little harder to support multi-Rubies.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=a6b439329f1b76679d7e833b0623630bb7f0056b

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 ruby-rdiscount/Makefile | 2 +-
 ruby-rdiscount/PLIST    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diffs:
diff --git a/ruby-rdiscount/Makefile b/ruby-rdiscount/Makefile
index 80a0f5ae34..a090957202 100644
--- a/ruby-rdiscount/Makefile
+++ b/ruby-rdiscount/Makefile
@@ -14,7 +14,7 @@ RUBYGEM_OPTIONS+=	--format-executable
 INSTALLATION_DIRS+=	${PKGMANDIR}/man1
 
 post-install:
-	${LN} -sf ${PREFIX}/${GEM_LIBDIR}/man/rdiscount.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/rdiscount.1
+	${LN} -sf ${PREFIX}/${GEM_LIBDIR}/man/rdiscount.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/${RUBY_PKGPREFIX}-rdiscount.1
 
 .include "../../lang/ruby/gem.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/ruby-rdiscount/PLIST b/ruby-rdiscount/PLIST
index 53261a015a..ba535763a9 100644
--- a/ruby-rdiscount/PLIST
+++ b/ruby-rdiscount/PLIST
@@ -53,5 +53,5 @@ ${GEM_LIBDIR}/test/benchmark.txt
 ${GEM_LIBDIR}/test/markdown_test.rb
 ${GEM_LIBDIR}/test/rdiscount_test.rb
 ${GEM_HOME}/specifications/${GEM_NAME}.gemspec
-man/man1/rdiscount.1
+man/man1/${RUBY_PKGPREFIX}-rdiscount.1
 @pkgdir lib/ruby/gems/2.2.0/build_info


Home | Main Index | Thread Index | Old Index