summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2018-12-17 15:58:59 +0000
committertaca <taca@pkgsrc.org>2018-12-17 15:58:59 +0000
commitd803883f71bb8c4d4f2775a16a38f197fdf78c64 (patch)
treeecc6240b01b13941fe03249df332c413f60e6135 /graphics
parent88b6b0942a7e28eb4f5fe42f55e468e255f64180 (diff)
downloadpkgsrc-d803883f71bb8c4d4f2775a16a38f197fdf78c64.tar.gz
graphics/ruby-screengif: add pkg_alternatives support
* Add pkg_alternatives support. * Add "USE_LANGUAGES=none". Bump PKGREVISION.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/ruby-screengif/ALTERNATIVES1
-rw-r--r--graphics/ruby-screengif/Makefile6
-rw-r--r--graphics/ruby-screengif/PLIST4
3 files changed, 8 insertions, 3 deletions
diff --git a/graphics/ruby-screengif/ALTERNATIVES b/graphics/ruby-screengif/ALTERNATIVES
new file mode 100644
index 00000000000..0b043301a5a
--- /dev/null
+++ b/graphics/ruby-screengif/ALTERNATIVES
@@ -0,0 +1 @@
+bin/screengif bin/screengif@RUBY_SUFFIX@
diff --git a/graphics/ruby-screengif/Makefile b/graphics/ruby-screengif/Makefile
index cc3691bf538..faba4b0f120 100644
--- a/graphics/ruby-screengif/Makefile
+++ b/graphics/ruby-screengif/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.1 2018/11/16 00:16:15 schmonz Exp $
+# $NetBSD: Makefile,v 1.2 2018/12/17 15:58:59 taca Exp $
DISTNAME= screengif-0.0.3
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
+PKGREVISION= 1
CATEGORIES= graphics
MAINTAINER= schmonz@NetBSD.org
@@ -13,7 +14,10 @@ DEPENDS+= ffmpeg4-[0-9]*:../../multimedia/ffmpeg4
DEPENDS+= gifsicle-[0-9]*:../../graphics/gifsicle
DEPENDS+= ${RUBY_PKGPREFIX}-RMagick-[0-9]*:../../graphics/ruby-RMagick
+USE_LANGUAGES= # none
USE_TOOLS+= pkg-config
+RUBYGEM_OPTIONS+= --format-executable
+
.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/ruby-screengif/PLIST b/graphics/ruby-screengif/PLIST
index 6465de7c1cf..10f8bf5e617 100644
--- a/graphics/ruby-screengif/PLIST
+++ b/graphics/ruby-screengif/PLIST
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.1 2018/11/16 00:16:15 schmonz Exp $
-bin/screengif
+@comment $NetBSD: PLIST,v 1.2 2018/12/17 15:58:59 taca Exp $
+bin/screengif${RUBY_SUFFIX}
${GEM_HOME}/cache/${GEM_NAME}.gem
${GEM_LIBDIR}/.gitignore
${GEM_LIBDIR}/CHANGELOG.md