pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/editline



Module Name:    pkgsrc
Committed By:   tnn
Date:           Mon Mar 23 09:27:34 UTC 2020

Modified Files:
        pkgsrc/devel/editline: Makefile PLIST

Log Message:
editline: make manpage installation optional. Bump. PR pkg/55100


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/devel/editline/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/editline/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/editline/Makefile
diff -u pkgsrc/devel/editline/Makefile:1.8 pkgsrc/devel/editline/Makefile:1.9
--- pkgsrc/devel/editline/Makefile:1.8  Sun Mar 22 22:32:11 2020
+++ pkgsrc/devel/editline/Makefile      Mon Mar 23 09:27:34 2020
@@ -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 @@ pre-configure:
 .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"

Index: pkgsrc/devel/editline/PLIST
diff -u pkgsrc/devel/editline/PLIST:1.3 pkgsrc/devel/editline/PLIST:1.4
--- pkgsrc/devel/editline/PLIST:1.3     Sun Mar 22 22:32:11 2020
+++ pkgsrc/devel/editline/PLIST Mon Mar 23 09:27:34 2020
@@ -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