pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/ruby-mustache



Module Name:    pkgsrc
Committed By:   taca
Date:           Fri Dec 23 13:28:04 UTC 2022

Modified Files:
        pkgsrc/devel/ruby-mustache: Makefile PLIST

Log Message:
devel/ruby-mustache: switch to use RUBYGEM_MANPAGES

Switch to use RUBYGEM_MANPAGES.

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/ruby-mustache/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/ruby-mustache/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/ruby-mustache/Makefile
diff -u pkgsrc/devel/ruby-mustache/Makefile:1.3 pkgsrc/devel/ruby-mustache/Makefile:1.4
--- pkgsrc/devel/ruby-mustache/Makefile:1.3     Mon Apr 27 06:03:16 2020
+++ pkgsrc/devel/ruby-mustache/Makefile Fri Dec 23 13:28:04 2022
@@ -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 @@ COMMENT=             Logic-less Ruby templates
 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"

Index: pkgsrc/devel/ruby-mustache/PLIST
diff -u pkgsrc/devel/ruby-mustache/PLIST:1.1 pkgsrc/devel/ruby-mustache/PLIST:1.2
--- pkgsrc/devel/ruby-mustache/PLIST:1.1        Mon Aug 21 11:49:31 2017
+++ pkgsrc/devel/ruby-mustache/PLIST    Fri Dec 23 13:28:04 2022
@@ -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/partial_test.rb
 ${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