NetBSD Problem Report #47391

From www@NetBSD.org  Tue Jan  1 15:43:22 2013
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id 8051A63E648
	for <gnats-bugs@gnats.NetBSD.org>; Tue,  1 Jan 2013 15:43:22 +0000 (UTC)
Message-Id: <20130101154320.61E5063E648@www.NetBSD.org>
Date: Tue,  1 Jan 2013 15:43:20 +0000 (UTC)
From: slitvinov@gmail.com
Reply-To: slitvinov@gmail.com
To: gnats-bugs@NetBSD.org
Subject: [PATCH] add info files to math/R
X-Send-Pr-Version: www-1.0

>Number:         47391
>Category:       pkg
>Synopsis:       [PATCH] add info files to math/R
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    markd
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 01 15:45:03 +0000 2013
>Closed-Date:    Sat Apr 06 03:18:09 +0000 2013
>Last-Modified:  Sat Apr 06 03:20:04 +0000 2013
>Originator:     Litvinov Sergey
>Release:        
>Organization:
>Environment:
>Description:
Currently math/R does not install info files. I propose to install them or to add an option for this. Find bellow a patch which adds 'infodoc' option to math/R.

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/math/R/Makefile,v
retrieving revision 1.133
diff -u -p -u -r1.133 Makefile
--- Makefile	17 Dec 2012 09:08:46 -0000	1.133
+++ Makefile	1 Jan 2013 15:35:26 -0000
@@ -139,5 +139,7 @@ INSTALL_TEMPLATES+=	../../math/R/files/p
 DEINSTALL_TEMPLATES+=	../../math/R/files/pkg-index.tmpl
 PRINT_PLIST_AWK+=	/^lib\/R\/doc\/html\/packages.html$$/ { next; }

+.include "options.mk"
+
 .include "../../mk/pthread.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/math/R/PLIST,v
retrieving revision 1.15
diff -u -p -u -r1.15 PLIST
--- PLIST	17 Dec 2012 09:08:46 -0000	1.15
+++ PLIST	1 Jan 2013 15:35:26 -0000
@@ -1324,4 +1324,14 @@ lib/R/share/texmf/tex/latex/upquote.sty
 lib/pkgconfig/libR.pc
 man/man1/R.1
 man/man1/Rscript.1
+${PLIST.infodoc}info/R-FAQ.info.gz
+${PLIST.infodoc}info/R-admin.info.gz
+${PLIST.infodoc}info/R-data.info.gz
+${PLIST.infodoc}info/R-exts.info-1.gz
+${PLIST.infodoc}info/R-exts.info-2.gz
+${PLIST.infodoc}info/R-exts.info.gz
+${PLIST.infodoc}info/R-intro.info.gz
+${PLIST.infodoc}info/R-ints.info.gz
+${PLIST.infodoc}info/R-lang.info.gz
+${PLIST.infodoc}info/dir
 @pkgdir lib/R/library/compiler/po/compiler-zh_CN/LC_MESSAGES
Index: options.mk
===================================================================
RCS file: options.mk
diff -N options.mk
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ options.mk	1 Jan 2013 15:35:26 -0000
@@ -0,0 +1,15 @@
+# $Id$
+
+PKG_OPTIONS_VAR=	PKG_OPTIONS.R
+PKG_SUPPORTED_OPTIONS=	infodoc
+
+.include "../../mk/bsd.options.mk"
+
+PLIST_VARS+=	infodoc
+
+.if !empty(PKG_OPTIONS:Minfodoc)
+BUILD_TARGET=		all info
+INSTALL_TARGET=		install install-info
+INFO_FILES=		yes
+PLIST.infodoc=		yes
+.endif

>How-To-Repeat:

>Fix:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->markd
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Tue, 01 Jan 2013 21:47:14 +0000
Responsible-Changed-Why:
over to maintainer


State-Changed-From-To: open->closed
State-Changed-By: markd@NetBSD.org
State-Changed-When: Sat, 06 Apr 2013 03:18:09 +0000
State-Changed-Why:
info files installed.


From: "Mark Davies" <markd@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/47391 CVS commit: pkgsrc/math/R
Date: Sat, 6 Apr 2013 03:16:51 +0000

 Module Name:	pkgsrc
 Committed By:	markd
 Date:		Sat Apr  6 03:16:50 UTC 2013

 Modified Files:
 	pkgsrc/math/R: Makefile PLIST

 Log Message:
 Install info files.  Bump PKGREVISION.
 Fixes PR pkg/47391


 To generate a diff of this commit:
 cvs rdiff -u -r1.135 -r1.136 pkgsrc/math/R/Makefile
 cvs rdiff -u -r1.15 -r1.16 pkgsrc/math/R/PLIST

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

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.