pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/47391: [PATCH] add info files to math/R
>Number: 47391
>Category: pkg
>Synopsis: [PATCH] add info files to math/R
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Tue Jan 01 15:45:03 +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:
Home |
Main Index |
Thread Index |
Old Index