pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/editline editline: make manpage installation opt...
details: https://anonhg.NetBSD.org/pkgsrc/rev/98fd9598d33d
branches: trunk
changeset: 425670:98fd9598d33d
user: tnn <tnn%pkgsrc.org@localhost>
date: Mon Mar 23 09:27:34 2020 +0000
description:
editline: make manpage installation optional. Bump. PR pkg/55100
diffstat:
devel/editline/Makefile | 20 ++++++++++-
devel/editline/PLIST | 88 ++++++++++++++++++++++++------------------------
2 files changed, 63 insertions(+), 45 deletions(-)
diffs (134 lines):
diff -r a4a523271d46 -r 98fd9598d33d devel/editline/Makefile
--- a/devel/editline/Makefile Mon Mar 23 09:25:58 2020 +0000
+++ b/devel/editline/Makefile Mon Mar 23 09:27:34 2020 +0000
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.8 2020/03/22 22:32:11 tnn Exp $
+# $NetBSD: Makefile,v 1.9 2020/03/23 09:27:34 tnn Exp $
#
DISTNAME= libedit-20191231-3.1
PKGNAME= editline-3.1.20191231
+PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://thrysoee.dk/editline/
@@ -27,5 +28,22 @@
.endif
cd ${WRKSRC} && autoreconf -fiv
+PKG_OPTIONS_VAR= PKG_OPTIONS.editline
+PKG_SUPPORTED_OPTIONS+= doc
+PKG_SUGGESTED_OPTIONS+= # empty; conflicts with devel/readline
+
+.include "../../mk/bsd.options.mk"
+
+PLIST_VARS+= doc
+.if !empty(PKG_OPTIONS:Mdoc)
+PLIST.doc= yes
+.endif
+
+post-extract:
+.if !empty(PKG_OPTIONS:Mdoc)
+.else
+ ${ECHO} "" > ${WRKSRC}/doc/Makefile.am
+.endif
+
.include "../../mk/termcap.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r a4a523271d46 -r 98fd9598d33d devel/editline/PLIST
--- a/devel/editline/PLIST Mon Mar 23 09:25:58 2020 +0000
+++ b/devel/editline/PLIST Mon Mar 23 09:27:34 2020 +0000
@@ -1,49 +1,49 @@
-@comment $NetBSD: PLIST,v 1.3 2020/03/22 22:32:11 tnn Exp $
+@comment $NetBSD: PLIST,v 1.4 2020/03/23 09:27:34 tnn Exp $
include/editline/history.h
include/editline/readline.h
include/histedit.h
lib/libedit.la
lib/pkgconfig/libedit.pc
-man/man3/editline.3
-man/man3/el_deletestr.3
-man/man3/el_end.3
-man/man3/el_get.3
-man/man3/el_getc.3
-man/man3/el_gets.3
-man/man3/el_init.3
-man/man3/el_init_fd.3
-man/man3/el_insertstr.3
-man/man3/el_line.3
-man/man3/el_parse.3
-man/man3/el_push.3
-man/man3/el_reset.3
-man/man3/el_resize.3
-man/man3/el_set.3
-man/man3/el_source.3
-man/man3/el_wdeletestr.3
-man/man3/el_wget.3
-man/man3/el_wgetc.3
-man/man3/el_wgets.3
-man/man3/el_winsertstr.3
-man/man3/el_wline.3
-man/man3/el_wparse.3
-man/man3/el_wpush.3
-man/man3/el_wset.3
-man/man3/history.3
-man/man3/history_end.3
-man/man3/history_init.3
-man/man3/history_w.3
-man/man3/history_wend.3
-man/man3/history_winit.3
-man/man3/tok_end.3
-man/man3/tok_init.3
-man/man3/tok_line.3
-man/man3/tok_reset.3
-man/man3/tok_str.3
-man/man3/tok_wend.3
-man/man3/tok_winit.3
-man/man3/tok_wline.3
-man/man3/tok_wreset.3
-man/man3/tok_wstr.3
-man/man5/editrc.5
-man/man7/editline.7
+${PLIST.doc}man/man3/editline.3
+${PLIST.doc}man/man3/el_deletestr.3
+${PLIST.doc}man/man3/el_end.3
+${PLIST.doc}man/man3/el_get.3
+${PLIST.doc}man/man3/el_getc.3
+${PLIST.doc}man/man3/el_gets.3
+${PLIST.doc}man/man3/el_init.3
+${PLIST.doc}man/man3/el_init_fd.3
+${PLIST.doc}man/man3/el_insertstr.3
+${PLIST.doc}man/man3/el_line.3
+${PLIST.doc}man/man3/el_parse.3
+${PLIST.doc}man/man3/el_push.3
+${PLIST.doc}man/man3/el_reset.3
+${PLIST.doc}man/man3/el_resize.3
+${PLIST.doc}man/man3/el_set.3
+${PLIST.doc}man/man3/el_source.3
+${PLIST.doc}man/man3/el_wdeletestr.3
+${PLIST.doc}man/man3/el_wget.3
+${PLIST.doc}man/man3/el_wgetc.3
+${PLIST.doc}man/man3/el_wgets.3
+${PLIST.doc}man/man3/el_winsertstr.3
+${PLIST.doc}man/man3/el_wline.3
+${PLIST.doc}man/man3/el_wparse.3
+${PLIST.doc}man/man3/el_wpush.3
+${PLIST.doc}man/man3/el_wset.3
+${PLIST.doc}man/man3/history.3
+${PLIST.doc}man/man3/history_end.3
+${PLIST.doc}man/man3/history_init.3
+${PLIST.doc}man/man3/history_w.3
+${PLIST.doc}man/man3/history_wend.3
+${PLIST.doc}man/man3/history_winit.3
+${PLIST.doc}man/man3/tok_end.3
+${PLIST.doc}man/man3/tok_init.3
+${PLIST.doc}man/man3/tok_line.3
+${PLIST.doc}man/man3/tok_reset.3
+${PLIST.doc}man/man3/tok_str.3
+${PLIST.doc}man/man3/tok_wend.3
+${PLIST.doc}man/man3/tok_winit.3
+${PLIST.doc}man/man3/tok_wline.3
+${PLIST.doc}man/man3/tok_wreset.3
+${PLIST.doc}man/man3/tok_wstr.3
+${PLIST.doc}man/man5/editrc.5
+${PLIST.doc}man/man7/editline.7
Home |
Main Index |
Thread Index |
Old Index