Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified)) by mollari.NetBSD.org (Postfix) with ESMTPS id DBEEC1A923A for ; Sat, 26 Feb 2022 08:53:57 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id 54E8884EB7; Sat, 26 Feb 2022 08:53:57 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 918CB84E91 for ; Sat, 26 Feb 2022 08:53:56 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id X7ncbEm57ijg for ; Sat, 26 Feb 2022 08:53:56 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 10D1D84C13 for ; Sat, 26 Feb 2022 08:53:56 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 0BDC9FB24; Sat, 26 Feb 2022 08:53:56 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1645865636134960" MIME-Version: 1.0 Date: Sat, 26 Feb 2022 08:53:56 +0000 From: "Masatake Daimon" Subject: CVS commit: pkgsrc/devel/hs-ghcide To: pkgsrc-changes@NetBSD.org Reply-To: pho@netbsd.org X-Mailer: log_accum Message-Id: <20220226085356.0BDC9FB24@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1645865636134960 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: pho Date: Sat Feb 26 08:53:55 UTC 2022 Modified Files: pkgsrc/devel/hs-ghcide: Makefile Log Message: devel/hs-ghcide: Generate shell completion scripts with optparse-applicative Although it is no longer recommended to invoke ghcide directly, that doesn't mean we shouldn't generate completion scripts for it. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/hs-ghcide/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1645865636134960 Content-Disposition: inline Content-Length: 1791 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/devel/hs-ghcide/Makefile diff -u pkgsrc/devel/hs-ghcide/Makefile:1.2 pkgsrc/devel/hs-ghcide/Makefile:1.3 --- pkgsrc/devel/hs-ghcide/Makefile:1.2 Sat Feb 26 03:57:56 2022 +++ pkgsrc/devel/hs-ghcide/Makefile Sat Feb 26 08:53:55 2022 @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.2 2022/02/26 03:57:56 pho Exp $ +# $NetBSD: Makefile,v 1.3 2022/02/26 08:53:55 pho Exp $ DISTNAME= ghcide-1.6.0.0 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= devel MAINTAINER= pkgsrc-users@NetBSD.org @@ -11,6 +11,12 @@ LICENSE= apache-2.0 CONFIGURE_ARGS+= -f-test-exe CONFIGURE_ARGS+= -f-bench-exe +# purs is built with optparse-applicative, and can generate shell +# completion scripts automatically. +OPTPARSE_APPLICATIVE_EXECUTABLES+= ghcide +.include "../../devel/hs-optparse-applicative/application.mk" + +# lib:ghcide .include "../../converters/hs-aeson/buildlink3.mk" .include "../../converters/hs-aeson-pretty/buildlink3.mk" .include "../../devel/hs-async/buildlink3.mk" @@ -33,6 +39,7 @@ CONFIGURE_ARGS+= -f-bench-exe .include "../../textproc/hs-Glob/buildlink3.mk" .include "../../textproc/hs-haddock-library/buildlink3.mk" .include "../../devel/hs-hashable/buildlink3.mk" +.include "../../devel/hs-heapsize/buildlink3.mk" .include "../../devel/hs-hie-bios/buildlink3.mk" .include "../../devel/hs-hie-compat/buildlink3.mk" .include "../../devel/hs-hiedb/buildlink3.mk" @@ -67,7 +74,9 @@ CONFIGURE_ARGS+= -f-bench-exe .include "../../devel/hs-utf8-string/buildlink3.mk" .include "../../devel/hs-vector/buildlink3.mk" .include "../../devel/hs-vector-algorithms/buildlink3.mk" + +# exe:ghcide .include "../../devel/hs-gitrev/buildlink3.mk" -.include "../../devel/hs-heapsize/buildlink3.mk" + .include "../../mk/haskell.mk" .include "../../mk/bsd.pkg.mk" --_----------=_1645865636134960--