pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/misc/exercism
Module Name: pkgsrc
Committed By: schmonz
Date: Fri Mar 17 11:39:18 UTC 2023
Modified Files:
pkgsrc/misc/exercism: Makefile PLIST
Log Message:
Install shell completions. Bump PKGREVISION.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/misc/exercism/Makefile \
pkgsrc/misc/exercism/PLIST
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/misc/exercism/Makefile
diff -u pkgsrc/misc/exercism/Makefile:1.1 pkgsrc/misc/exercism/Makefile:1.2
--- pkgsrc/misc/exercism/Makefile:1.1 Wed Mar 15 20:22:51 2023
+++ pkgsrc/misc/exercism/Makefile Fri Mar 17 11:39:18 2023
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.1 2023/03/15 20:22:51 schmonz Exp $
+# $NetBSD: Makefile,v 1.2 2023/03/17 11:39:18 schmonz Exp $
DISTNAME= cli-3.1.0
PKGNAME= ${DISTNAME:S/^cli-/exercism-/}
+PKGREVISION= 1
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_GITHUB:=exercism/}
GITHUB_PROJECT= cli
@@ -14,6 +15,16 @@ LICENSE= mit
USE_LANGUAGES= # none
+AUTO_MKDIRS= yes
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/shell/exercism_completion.bash \
+ ${DESTDIR}${PREFIX}/share/bash-completion/completions/exercism
+ ${INSTALL_DATA} ${WRKSRC}/shell/exercism.fish \
+ ${DESTDIR}${PREFIX}/share/fish/vendor_completions.d/exercism.fish
+ ${INSTALL_DATA} ${WRKSRC}/shell/exercism_completion.zsh \
+ ${DESTDIR}${PREFIX}/share/zsh/site-functions/_exercism
+
.include "go-modules.mk"
.include "../../lang/go/go-module.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/misc/exercism/PLIST
diff -u pkgsrc/misc/exercism/PLIST:1.1 pkgsrc/misc/exercism/PLIST:1.2
--- pkgsrc/misc/exercism/PLIST:1.1 Wed Mar 15 20:22:51 2023
+++ pkgsrc/misc/exercism/PLIST Fri Mar 17 11:39:18 2023
@@ -1,2 +1,5 @@
-@comment $NetBSD: PLIST,v 1.1 2023/03/15 20:22:51 schmonz Exp $
+@comment $NetBSD: PLIST,v 1.2 2023/03/17 11:39:18 schmonz Exp $
bin/exercism
+share/bash-completion/completions/exercism
+share/fish/vendor_completions.d/exercism.fish
+share/zsh/site-functions/_exercism
Home |
Main Index |
Thread Index |
Old Index