pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc/ruby-lolcat misc/ruby-lolcat: add support to RUBY...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/72f71d98b383
branches:  trunk
changeset: 390382:72f71d98b383
user:      taca <taca%pkgsrc.org@localhost>
date:      Sun Dec 18 14:54:28 2022 +0000

description:
misc/ruby-lolcat: add support to RUBYGEM_MANPAGES

Bump PKGREVISION since dependency might change.

diffstat:

 misc/ruby-lolcat/Makefile |  9 +++++++--
 misc/ruby-lolcat/PLIST    |  4 ++--
 2 files changed, 9 insertions(+), 4 deletions(-)

diffs (44 lines):

diff -r efc67fa95924 -r 72f71d98b383 misc/ruby-lolcat/Makefile
--- a/misc/ruby-lolcat/Makefile Sun Dec 18 14:53:07 2022 +0000
+++ b/misc/ruby-lolcat/Makefile Sun Dec 18 14:54:28 2022 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.1 2022/11/11 14:12:34 taca Exp $
+# $NetBSD: Makefile,v 1.2 2022/12/18 14:54:28 taca Exp $
 
 DISTNAME=      lolcat-100.0.1
+PKGREVISION=   1
 CATEGORIES=    misc
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -10,11 +11,15 @@
 
 DEPENDS+=      ${RUBY_PKGPREFIX}-paint>=2.1<3:../../devel/ruby-paint
 DEPENDS+=      ${RUBY_PKGPREFIX}-optimist>=3.0.0<3.1:../../devel/ruby-optimist
-DEPENDS+=      ${RUBY_PKGPREFIX}-manpages>=0.6.1<0.7:../../misc/ruby-manpages
 
 USE_LANGUAGES= # none
 
+OVERRIDE_GEMSPEC+=     manpages:
 RUBYGEM_OPTIONS+=      --format-executable
 
+.include "../../mk/bsd.prefs.mk"
+
+RUBYGEM_MANPAGES?=     yes
+
 .include "../../lang/ruby/gem.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r efc67fa95924 -r 72f71d98b383 misc/ruby-lolcat/PLIST
--- a/misc/ruby-lolcat/PLIST    Sun Dec 18 14:53:07 2022 +0000
+++ b/misc/ruby-lolcat/PLIST    Sun Dec 18 14:54:28 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2022/11/11 14:12:34 taca Exp $
+@comment $NetBSD: PLIST,v 1.2 2022/12/18 14:54:28 taca Exp $
 bin/lolcat${RUBY_SUFFIX}
 ${GEM_HOME}/cache/${GEM_NAME}.gem
 ${GEM_LIBDIR}/.gitignore
@@ -16,4 +16,4 @@
 ${GEM_LIBDIR}/lolcat.gemspec
 ${GEM_LIBDIR}/man/lolcat.6
 ${GEM_HOME}/specifications/${GEM_NAME}.gemspec
-man/man6/lolcat.6
+${PLIST.rubygem_man}man/man6/lolcat.6



Home | Main Index | Thread Index | Old Index