pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/ruby-ronn



Module Name:    pkgsrc
Committed By:   taca
Date:           Fri Dec 23 13:30:41 UTC 2022

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

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

* Remove redundant PKGNMAE.
* Switch to use RUBYGEM_MANPAGES and make things simpler.

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/ruby-ronn/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/ruby-ronn/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-ronn/Makefile
diff -u pkgsrc/devel/ruby-ronn/Makefile:1.4 pkgsrc/devel/ruby-ronn/Makefile:1.5
--- pkgsrc/devel/ruby-ronn/Makefile:1.4 Mon Jul 18 12:44:47 2022
+++ pkgsrc/devel/ruby-ronn/Makefile     Fri Dec 23 13:30:41 2022
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.4 2022/07/18 12:44:47 jperkin Exp $
+# $NetBSD: Makefile,v 1.5 2022/12/23 13:30:41 taca Exp $
 
 DISTNAME=              ronn-0.7.3
-PKGNAME=               ${RUBY_PKGPREFIX}-${DISTNAME}
-PKGREVISION=           2
+PKGREVISION=           3
 CATEGORIES=            devel textproc
 
 MAINTAINER=            nils%NetBSD.org@localhost
@@ -15,24 +14,7 @@ DEPENDS+=            ${RUBY_PKGPREFIX}-mustache-[0
 DEPENDS+=              ${RUBY_PKGPREFIX}-rdiscount-[0-9]*:../../textproc/ruby-rdiscount
 
 RUBYGEM_OPTIONS+=      --format-executable
-
-INSTALLATION_DIRS+=    ${PKGMANDIR}/man1 ${PKGMANDIR}/man7
-
-post-build:
-       ${SED} -e 's/ronn(1)/ronn${RUBY_SUFFIX}(1)/g' \
-           -e 's/ronn\\-format(7)/ronn\-format${RUBY_SUFFIX}(7)/g' \
-           ${WRKSRC}/man/ronn.1 > \
-           ${WRKDIR}/ronn${RUBY_SUFFIX}.1
-       ${SED} -e 's/ronn(1)/ronn${RUBY_SUFFIX}(1)/g' \
-           -e 's/ronn\\-format(7)/ronn\-format${RUBY_SUFFIX}(7)/g' \
-           ${WRKSRC}/man/ronn-format.7 > \
-           ${WRKDIR}/ronn-format${RUBY_SUFFIX}.7
-
-post-install:
-       ${INSTALL_MAN} ${WRKDIR}/ronn${RUBY_SUFFIX}.1 \
-           ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/ronn${RUBY_SUFFIX}.1
-       ${INSTALL_MAN} ${WRKDIR}/ronn-format${RUBY_SUFFIX}.7 \
-           ${DESTDIR}${PREFIX}/${PKGMANDIR}/man7/ronn-format${RUBY_SUFFIX}.7
+RUBYGEM_MANPAGES=      yes
 
 .include "../../lang/ruby/gem.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/ruby-ronn/PLIST
diff -u pkgsrc/devel/ruby-ronn/PLIST:1.2 pkgsrc/devel/ruby-ronn/PLIST:1.3
--- pkgsrc/devel/ruby-ronn/PLIST:1.2    Sun Mar 28 10:05:55 2021
+++ pkgsrc/devel/ruby-ronn/PLIST        Fri Dec 23 13:30:41 2022
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2021/03/28 10:05:55 nia Exp $
+@comment $NetBSD: PLIST,v 1.3 2022/12/23 13:30:41 taca Exp $
 bin/ronn${RUBY_SUFFIX}
 ${GEM_HOME}/cache/${GEM_NAME}.gem
 ${GEM_LIBDIR}/AUTHORS
@@ -68,5 +68,5 @@ ${GEM_LIBDIR}/test/titleless_document.ro
 ${GEM_LIBDIR}/test/underline_spacing_test.roff
 ${GEM_LIBDIR}/test/underline_spacing_test.ronn
 ${GEM_HOME}/specifications/${GEM_NAME}.gemspec
-man/man1/ronn${RUBY_SUFFIX}.1
-man/man7/ronn-format${RUBY_SUFFIX}.7
+${PLIST.rubygem_man}man/man1/ronn.1
+${PLIST.rubygem_man}man/man7/ronn-format.7



Home | Main Index | Thread Index | Old Index