pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/ruby-mustache devel/ruby-mustache: switch to use...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/03c7a2ba6d88
branches:  trunk
changeset: 390585:03c7a2ba6d88
user:      taca <taca%pkgsrc.org@localhost>
date:      Fri Dec 23 13:28:04 2022 +0000

description:
devel/ruby-mustache: switch to use RUBYGEM_MANPAGES

Switch to use RUBYGEM_MANPAGES.

Bump PKGREVISION.

diffstat:

 devel/ruby-mustache/Makefile |  8 +++-----
 devel/ruby-mustache/PLIST    |  6 +++---
 2 files changed, 6 insertions(+), 8 deletions(-)

diffs (45 lines):

diff -r 86fec990faf3 -r 03c7a2ba6d88 devel/ruby-mustache/Makefile
--- a/devel/ruby-mustache/Makefile      Fri Dec 23 13:17:49 2022 +0000
+++ b/devel/ruby-mustache/Makefile      Fri Dec 23 13:28:04 2022 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.3 2020/04/27 06:03:16 taca Exp $
+# $NetBSD: Makefile,v 1.4 2022/12/23 13:28:04 taca Exp $
 
 DISTNAME=              mustache-1.1.1
 PKGNAME=               ${RUBY_PKGPREFIX}-${DISTNAME}
+PKGREVISION=           1
 CATEGORIES=            devel
 
 MAINTAINER=            nils%NetBSD.org@localhost
@@ -10,12 +11,9 @@
 LICENSE=               mit
 
 RUBYGEM_OPTIONS+=      --format-executable
+RUBYGEM_MANPAGES=      yes
 
 INSTALLATION_DIRS+=    ${PKGMANDIR}/man1 ${PKGMANDIR}/man5
 
-post-install:
-       ${LN} -sf ${PREFIX}/${GEM_LIBDIR}/man/mustache.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/${RUBY_PKGPREFIX}-mustache.1
-       ${LN} -sf ${PREFIX}/${GEM_LIBDIR}/man/mustache.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5/${RUBY_PKGPREFIX}-mustache.5
-
 .include "../../lang/ruby/gem.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 86fec990faf3 -r 03c7a2ba6d88 devel/ruby-mustache/PLIST
--- a/devel/ruby-mustache/PLIST Fri Dec 23 13:17:49 2022 +0000
+++ b/devel/ruby-mustache/PLIST Fri Dec 23 13:28:04 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2017/08/21 11:49:31 nils Exp $
+@comment $NetBSD: PLIST,v 1.2 2022/12/23 13:28:04 taca Exp $
 bin/mustache${RUBY_SUFFIX}
 ${GEM_HOME}/cache/${GEM_NAME}.gem
 ${GEM_LIBDIR}/LICENSE
@@ -73,6 +73,6 @@
 ${GEM_LIBDIR}/test/spec_test.rb
 ${GEM_LIBDIR}/test/template_test.rb
 ${GEM_HOME}/specifications/${GEM_NAME}.gemspec
-man/man1/${RUBY_PKGPREFIX}-mustache.1
-man/man5/${RUBY_PKGPREFIX}-mustache.5
+${PLIST.rubygem_man}man/man1/mustache.1
+${PLIST.rubygem_man}man/man5/mustache.5
 @pkgdir lib/ruby/gems/2.0.0/build_info



Home | Main Index | Thread Index | Old Index