pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/haskell-language-server



Module Name:    pkgsrc
Committed By:   pho
Date:           Sat Feb 26 09:00:21 UTC 2022

Modified Files:
        pkgsrc/devel/haskell-language-server: Makefile

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


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/haskell-language-server/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/haskell-language-server/Makefile
diff -u pkgsrc/devel/haskell-language-server/Makefile:1.2 pkgsrc/devel/haskell-language-server/Makefile:1.3
--- pkgsrc/devel/haskell-language-server/Makefile:1.2   Sat Feb 26 03:57:46 2022
+++ pkgsrc/devel/haskell-language-server/Makefile       Sat Feb 26 09:00:21 2022
@@ -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