summaryrefslogtreecommitdiff
path: root/security/ruby-oauth
diff options
context:
space:
mode:
authorobache <obache>2011-02-25 06:35:23 +0000
committerobache <obache>2011-02-25 06:35:23 +0000
commit0cdcdc92d2b33e9d9158ca9eddef13b91d04c753 (patch)
tree9ab8693adabc6a5fc435e1e7fe27e6930ec506a2 /security/ruby-oauth
parentd537b4f642e27cceba7c735f47ab21f0ae1322ed (diff)
downloadpkgsrc-0cdcdc92d2b33e9d9158ca9eddef13b91d04c753.tar.gz
Use --format-executable to avoid conflicts with ruby variants each other.
Bump PKGREVISION.
Diffstat (limited to 'security/ruby-oauth')
-rw-r--r--security/ruby-oauth/ALTERNATIVES1
-rw-r--r--security/ruby-oauth/Makefile5
-rw-r--r--security/ruby-oauth/PLIST4
3 files changed, 7 insertions, 3 deletions
diff --git a/security/ruby-oauth/ALTERNATIVES b/security/ruby-oauth/ALTERNATIVES
new file mode 100644
index 00000000000..c904dd419c5
--- /dev/null
+++ b/security/ruby-oauth/ALTERNATIVES
@@ -0,0 +1 @@
+bin/oauth @PREFIX@/bin/oauth@RUBY_VER@
diff --git a/security/ruby-oauth/Makefile b/security/ruby-oauth/Makefile
index 79a314100fa..e5d6e0e0f27 100644
--- a/security/ruby-oauth/Makefile
+++ b/security/ruby-oauth/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.6 2010/11/01 04:02:26 obache Exp $
+# $NetBSD: Makefile,v 1.7 2011/02/25 06:35:23 obache Exp $
DISTNAME= oauth-0.4.4
+PKGREVISION= 1
CATEGORIES= security
MAINTAINER= obache@NetBSD.org
@@ -9,5 +10,7 @@ HOMEPAGE= http://oauth.rubyforge.org/
COMMENT= OAuth Core Ruby implementation
LICENSE= mit
+RUBYGEM_OPTIONS+= --format-executable
+
.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/security/ruby-oauth/PLIST b/security/ruby-oauth/PLIST
index 087eaa3b9d1..89e0c027f86 100644
--- a/security/ruby-oauth/PLIST
+++ b/security/ruby-oauth/PLIST
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.2 2010/08/14 02:55:24 obache Exp $
-bin/oauth
+@comment $NetBSD: PLIST,v 1.3 2011/02/25 06:35:23 obache Exp $
+bin/oauth${RUBY_VER}
${GEM_HOME}/cache/oauth-${PKGVERSION}.gem
${GEM_LIBDIR}/.gitignore
${GEM_LIBDIR}/Gemfile