pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/swi-prolog-lite swi-prolog-lite: Also remove libe...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/610af0f1cb42
branches:  trunk
changeset: 393386:610af0f1cb42
user:      leot <leot%pkgsrc.org@localhost>
date:      Sun Mar 17 15:05:49 2019 +0000

description:
swi-prolog-lite: Also remove libedit documentation

On platforms without editline(3) the libedit documentation is not
generated, always remove it for consistency.

PKGREVISION++

diffstat:

 lang/swi-prolog-lite/Makefile |  4 +++-
 lang/swi-prolog-lite/PLIST    |  3 +--
 2 files changed, 4 insertions(+), 3 deletions(-)

diffs (39 lines):

diff -r cfa99de5595f -r 610af0f1cb42 lang/swi-prolog-lite/Makefile
--- a/lang/swi-prolog-lite/Makefile     Sun Mar 17 14:09:56 2019 +0000
+++ b/lang/swi-prolog-lite/Makefile     Sun Mar 17 15:05:49 2019 +0000
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.29 2019/02/25 15:20:44 leot Exp $
+# $NetBSD: Makefile,v 1.30 2019/03/17 15:05:49 leot Exp $
 
 .include "Makefile.common"
 
 PKGNAME=               swi-prolog-lite-${SWIPLVERS}
+PKGREVISION=           1
 
 MAINTAINER=            pkgsrc-users%NetBSD.org@localhost
 COMMENT=               ISO/Edinburgh-style Prolog compiler
@@ -39,6 +40,7 @@
 # XXX: editline bindings seems limited and does not support completion, remove
 # XXX: them in order to always use readline.pl.
 post-install:
+       ${RM} ${DESTDIR}${PREFIX}/lib/swipl/doc/packages/libedit.html || ${TRUE}
        ${RM} ${DESTDIR}${PREFIX}/lib/swipl/lib/${MACHINE_GNU_PLATFORM}/libedit4pl.so || ${TRUE}
        ${RM} ${DESTDIR}${PREFIX}/lib/swipl/library/editline.pl || ${TRUE}
 
diff -r cfa99de5595f -r 610af0f1cb42 lang/swi-prolog-lite/PLIST
--- a/lang/swi-prolog-lite/PLIST        Sun Mar 17 14:09:56 2019 +0000
+++ b/lang/swi-prolog-lite/PLIST        Sun Mar 17 15:05:49 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.14 2019/02/25 15:20:44 leot Exp $
+@comment $NetBSD: PLIST,v 1.15 2019/03/17 15:05:49 leot Exp $
 bin/swipl
 bin/swipl-ld
 lib/swipl/LICENSE
@@ -355,7 +355,6 @@
 lib/swipl/doc/packages/examples/ssl/server.pl
 lib/swipl/doc/packages/http.html
 lib/swipl/doc/packages/index.html
-lib/swipl/doc/packages/libedit.html
 lib/swipl/doc/packages/nlp.html
 lib/swipl/doc/packages/paxos.html
 lib/swipl/doc/packages/penarch.png



Home | Main Index | Thread Index | Old Index