pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/ruby-erubis www/ruby-erubis: add support for pkg_a...
details: https://anonhg.NetBSD.org/pkgsrc/rev/5e07d421d2be
branches: trunk
changeset: 378797:5e07d421d2be
user: taca <taca%pkgsrc.org@localhost>
date: Thu May 05 14:03:28 2022 +0000
description:
www/ruby-erubis: add support for pkg_alternatives support
Also, tweak CONFLICTS.
Bump PKGREVISION.
diffstat:
www/ruby-erubis/ALTERNATIVES | 1 +
www/ruby-erubis/Makefile | 9 +++++++--
www/ruby-erubis/PLIST | 4 ++--
3 files changed, 10 insertions(+), 4 deletions(-)
diffs (41 lines):
diff -r aebe57d31293 -r 5e07d421d2be www/ruby-erubis/ALTERNATIVES
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ruby-erubis/ALTERNATIVES Thu May 05 14:03:28 2022 +0000
@@ -0,0 +1,1 @@
+bin/erubis @PREFIX@/bin/erubis@RUBY_SUFFIX@
diff -r aebe57d31293 -r 5e07d421d2be www/ruby-erubis/Makefile
--- a/www/ruby-erubis/Makefile Thu May 05 13:54:29 2022 +0000
+++ b/www/ruby-erubis/Makefile Thu May 05 14:03:28 2022 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2011/12/15 14:57:37 taca Exp $
+# $NetBSD: Makefile,v 1.3 2022/05/05 14:03:28 taca Exp $
DISTNAME= erubis-2.7.0
+PKGREVISION= 1
CATEGORIES= www
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
@@ -8,7 +9,11 @@
COMMENT= Fast and extensible eRuby implementation which supports multi-language
LICENSE= mit
-CONFLICTS+= ruby[1-9][0-9]-erubis-[0-9]* erubis-[0-9]*
+CONFLICTS+= ruby[1-9][0-9]-erubis<2.7.0nb1 erubis-[0-9]*
+
+USE_LANGUAGES= # empty
+
+RUBYGEM_OPTIONS+= --format-executable
.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"
diff -r aebe57d31293 -r 5e07d421d2be www/ruby-erubis/PLIST
--- a/www/ruby-erubis/PLIST Thu May 05 13:54:29 2022 +0000
+++ b/www/ruby-erubis/PLIST Thu May 05 14:03:28 2022 +0000
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.2 2011/12/15 14:57:37 taca Exp $
-bin/erubis
+@comment $NetBSD: PLIST,v 1.3 2022/05/05 14:03:28 taca Exp $
+bin/erubis${RUBY_SUFFIX}
${GEM_HOME}/cache/${GEM_NAME}.gem
${GEM_LIBDIR}/CHANGES.txt
${GEM_LIBDIR}/MIT-LICENSE
Home |
Main Index |
Thread Index |
Old Index