pkgsrc-WIP-changes archive

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

Indent, and support multiple-Ruby installation.



Module Name:	pkgsrc-wip
Committed By:	Amitai Schleier <schmonz%NetBSD.org@localhost>
Pushed By:	schmonz
Date:		Fri Aug 18 13:48:59 2017 +0200
Changeset:	ed525c7a433f8adf85e87f7a70f53a6e514bf11f

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

Log Message:
Indent, and support multiple-Ruby installation.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=ed525c7a433f8adf85e87f7a70f53a6e514bf11f

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

diffstat:
 ruby-ronn/Makefile | 24 +++++++++++++-----------
 ruby-ronn/PLIST    |  2 +-
 2 files changed, 14 insertions(+), 12 deletions(-)

diffs:
diff --git a/ruby-ronn/Makefile b/ruby-ronn/Makefile
index 27da27d1af..6bf2037006 100644
--- a/ruby-ronn/Makefile
+++ b/ruby-ronn/Makefile
@@ -1,19 +1,21 @@
 # $NetBSD: Makefile,v 1.1 2015/04/25 21:59:58 ahp-nils Exp $
 
-DISTNAME=	ronn-0.7.3
-PKGNAME=	${RUBY_PKGPREFIX}-${DISTNAME}
-CATEGORIES=	devel textproc
+DISTNAME=		ronn-0.7.3
+PKGNAME=		${RUBY_PKGPREFIX}-${DISTNAME}
+CATEGORIES=		devel textproc
 
-MAINTAINER=	nils%NetBSD.org@localhost
-HOMEPAGE=	https://rtomayko.github.io/ronn/
-COMMENT=	Manual authoring tool
-LICENSE=	mit
+MAINTAINER=		nils%NetBSD.org@localhost
+HOMEPAGE=		https://rtomayko.github.io/ronn/
+COMMENT=		Manual authoring tool
+LICENSE=		mit
 
-DEPENDS+=	${RUBY_PKGPREFIX}-hpricot-[0-9]*:../../textproc/ruby-hpricot
-DEPENDS+=	${RUBY_PKGPREFIX}-mustache-[0-9]*:../../wip/ruby-mustache
-DEPENDS+=	${RUBY_PKGPREFIX}-rdiscount-[0-9]*:../../wip/ruby-rdiscount
+DEPENDS+=		${RUBY_PKGPREFIX}-hpricot-[0-9]*:../../textproc/ruby-hpricot
+DEPENDS+=		${RUBY_PKGPREFIX}-mustache-[0-9]*:../../wip/ruby-mustache
+DEPENDS+=		${RUBY_PKGPREFIX}-rdiscount-[0-9]*:../../wip/ruby-rdiscount
 
-INSTALLATION_DIRS+=		${PKGMANDIR}/man1/ ${PKGMANDIR}/man7/
+RUBYGEM_OPTIONS+=	--format-executable
+
+INSTALLATION_DIRS+=	${PKGMANDIR}/man1 ${PKGMANDIR}/man7
 
 post-install:
 	${LN} -sf ${PREFIX}/${GEM_LIBDIR}/man/ronn.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/ronn.1
diff --git a/ruby-ronn/PLIST b/ruby-ronn/PLIST
index b8c9e20838..bf4c295418 100644
--- a/ruby-ronn/PLIST
+++ b/ruby-ronn/PLIST
@@ -1,5 +1,5 @@
 @comment $NetBSD: PLIST,v 1.1 2015/04/25 21:59:58 ahp-nils Exp $
-bin/ronn
+bin/ronn${RUBY_SUFFIX}
 ${GEM_HOME}/cache/${GEM_NAME}.gem
 ${GEM_LIBDIR}/AUTHORS
 ${GEM_LIBDIR}/CHANGES


Home | Main Index | Thread Index | Old Index