summaryrefslogtreecommitdiff
path: root/devel/ruby-rcov
diff options
context:
space:
mode:
authortaca <taca>2015-03-01 15:50:01 +0000
committertaca <taca>2015-03-01 15:50:01 +0000
commitf4dd12b364657d5a18cafb4f209fe2e91ee9cc88 (patch)
treee477ba0553180842537a1b2fd63f11321e5ccc67 /devel/ruby-rcov
parent31a8bc8648f8051eec83411887e521a464b89bcc (diff)
downloadpkgsrc-f4dd12b364657d5a18cafb4f209fe2e91ee9cc88.tar.gz
* Use rubygems's --format-executable option instead of post-install target.
* Fix PLIST with newer rubygems and ruby21.
Diffstat (limited to 'devel/ruby-rcov')
-rw-r--r--devel/ruby-rcov/Makefile6
-rw-r--r--devel/ruby-rcov/PLIST3
2 files changed, 4 insertions, 5 deletions
diff --git a/devel/ruby-rcov/Makefile b/devel/ruby-rcov/Makefile
index 191e28398ba..d552530d6e0 100644
--- a/devel/ruby-rcov/Makefile
+++ b/devel/ruby-rcov/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2014/03/17 14:07:06 taca Exp $
+# $NetBSD: Makefile,v 1.11 2015/03/01 15:50:01 taca Exp $
DISTNAME= rcov-1.0.0
CATEGORIES= devel
@@ -11,9 +11,7 @@ LICENSE= gnu-gpl-v2 OR ruby-license
RUBY_VERSION_SUPPORTED= 18
USE_GCC_RUNTIME= yes
-
-post-install:
- ${MV} ${DESTDIR}${PREFIX}/bin/rcov ${DESTDIR}${PREFIX}/bin/rcov${RUBY_SUFFIX}
+RUBYGEM_OPTIONS+= --format-executable
.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/ruby-rcov/PLIST b/devel/ruby-rcov/PLIST
index 4254b310455..a15e1dee195 100644
--- a/devel/ruby-rcov/PLIST
+++ b/devel/ruby-rcov/PLIST
@@ -1,6 +1,7 @@
-@comment $NetBSD: PLIST,v 1.5 2014/03/17 14:07:06 taca Exp $
+@comment $NetBSD: PLIST,v 1.6 2015/03/01 15:50:01 taca Exp $
bin/rcov${RUBY_SUFFIX}
${GEM_HOME}/cache/${GEM_NAME}.gem
+${GEM_EXTSDIR}/rcovrt.${RUBY_DLEXT}
${GEM_LIBDIR}/bin/rcov
${GEM_LIBDIR}/ext/rcovrt/1.8/callsite.c
${GEM_LIBDIR}/ext/rcovrt/1.8/rcovrt.c