pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/haskell-language-server devel/haskell-language-s...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a53bb724e090
branches:  trunk
changeset: 374765:a53bb724e090
user:      pho <pho%pkgsrc.org@localhost>
date:      Sat Feb 26 09:00:21 2022 +0000

description:
devel/haskell-language-server: Generate shell completion scripts with optparse-applicative

diffstat:

 devel/haskell-language-server/Makefile |  10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 97b67a47914d -r a53bb724e090 devel/haskell-language-server/Makefile
--- a/devel/haskell-language-server/Makefile    Sat Feb 26 08:53:55 2022 +0000
+++ b/devel/haskell-language-server/Makefile    Sat Feb 26 09:00:21 2022 +0000
@@ -1,14 +1,20 @@
-# $NetBSD: Makefile,v 1.2 2022/02/26 03:57:46 pho Exp $
+# $NetBSD: Makefile,v 1.3 2022/02/26 09:00:21 pho Exp $
 
 DISTNAME=      haskell-language-server-1.6.1.1
 PKGNAME=       ${DISTNAME}
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    devel
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 COMMENT=       LSP server for GHC
 LICENSE=       apache-2.0
 
+# HLS is built with optparse-applicative, and can generate shell completion
+# scripts automatically.
+OPTPARSE_APPLICATIVE_EXECUTABLES+=     haskell-language-server
+OPTPARSE_APPLICATIVE_EXECUTABLES+=     haskell-language-server-wrapper
+.include "../../devel/hs-optparse-applicative/application.mk"
+
 # lib:haskell-language-server
 .include "../../converters/hs-aeson-pretty/buildlink3.mk"
 .include "../../devel/hs-async/buildlink3.mk"



Home | Main Index | Thread Index | Old Index