pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/nim lang/nim: Also install the nimsuggest directory
details: https://anonhg.NetBSD.org/pkgsrc/rev/030d6f47bdbc
branches: trunk
changeset: 386672:030d6f47bdbc
user: charlotte <charlotte%pkgsrc.org@localhost>
date: Thu Oct 13 01:17:14 2022 +0000
description:
lang/nim: Also install the nimsuggest directory
This is a little quality-of-life improvement that simplifies
certain operations with 'nimble install'
Suggested by Chavdar Ivanov
diffstat:
lang/nim/Makefile | 6 +++-
lang/nim/PLIST | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++-
2 files changed, 62 insertions(+), 3 deletions(-)
diffs (99 lines):
diff -r 6e9194640fac -r 030d6f47bdbc lang/nim/Makefile
--- a/lang/nim/Makefile Wed Oct 12 22:59:58 2022 +0000
+++ b/lang/nim/Makefile Thu Oct 13 01:17:14 2022 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.28 2022/09/29 22:05:39 charlotte Exp $
+# $NetBSD: Makefile,v 1.29 2022/10/13 01:17:14 charlotte Exp $
DISTNAME= nim-1.6.8
+PKGREVISION= 1
CATEGORIES= lang
MASTER_SITES= http://nim-lang.org/download/
EXTRACT_SUFX= .tar.xz
@@ -12,7 +13,7 @@
DEPENDS+= coreutils-[0-9]*:../../sysutils/coreutils
-USE_TOOLS+= bash
+USE_TOOLS+= bash pax
REPLACE_BASH+= bin/nim-gdb
INSTALLATION_DIRS= bin
@@ -44,6 +45,7 @@
${INSTALL} ${WRKSRC}/bin/nim-gdb ${DESTDIR}${PREFIX}/bin/nim-gdb
${INSTALL} ${WRKSRC}/bin/nim-gdb.bash ${DESTDIR}${PREFIX}/bin/nim-gdb.bash
${INSTALL} ${WRKSRC}/bin/nim-gdb ${DESTDIR}${PREFIX}/bin/nim_dbg
+ cd ${WRKSRC}/nimsuggest && ${PAX} -r -w . ${DESTDIR}${PREFIX}/nim/nimsuggest
do-test:
cd ${WRKSRC} && ./bin/nim compile koch.nim
diff -r 6e9194640fac -r 030d6f47bdbc lang/nim/PLIST
--- a/lang/nim/PLIST Wed Oct 12 22:59:58 2022 +0000
+++ b/lang/nim/PLIST Thu Oct 13 01:17:14 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.15 2022/09/29 22:05:39 charlotte Exp $
+@comment $NetBSD: PLIST,v 1.16 2022/10/13 01:17:14 charlotte Exp $
bin/nim
bin/nim-gdb
bin/nim-gdb.bash
@@ -506,3 +506,60 @@
nim/lib/wrappers/postgres.nim
nim/lib/wrappers/sqlite3.nim
nim/lib/wrappers/tinyc.nim
+nim/nimsuggest/config.nims
+nim/nimsuggest/crashtester.nim
+nim/nimsuggest/nimsuggest.nim
+nim/nimsuggest/nimsuggest.nim.cfg
+nim/nimsuggest/nimsuggest.nimble
+nim/nimsuggest/sexp.nim
+nim/nimsuggest/tester.nim
+nim/nimsuggest/tests/fixtures/mclass_macro.nim
+nim/nimsuggest/tests/fixtures/mdep_v1.nim
+nim/nimsuggest/tests/fixtures/mdep_v2.nim
+nim/nimsuggest/tests/fixtures/mfakeassert.nim
+nim/nimsuggest/tests/fixtures/minclude_import.nim
+nim/nimsuggest/tests/fixtures/minclude_include.nim
+nim/nimsuggest/tests/fixtures/minclude_types.nim
+nim/nimsuggest/tests/fixtures/mstrutils.nim
+nim/nimsuggest/tests/taccent_highlight.nim
+nim/nimsuggest/tests/tcallstrlit_highlight.nim
+nim/nimsuggest/tests/tcase.nim
+nim/nimsuggest/tests/tchk1.nim
+nim/nimsuggest/tests/tchk_compiles.nim
+nim/nimsuggest/tests/tcon1.nim
+nim/nimsuggest/tests/tcon_variable.nim
+nim/nimsuggest/tests/tcursor_at_end.nim
+nim/nimsuggest/tests/tdef1.nim
+nim/nimsuggest/tests/tdef2.nim
+nim/nimsuggest/tests/tdef_forward.nim
+nim/nimsuggest/tests/tdef_let.nim
+nim/nimsuggest/tests/tdot1.nim
+nim/nimsuggest/tests/tdot2.nim
+nim/nimsuggest/tests/tdot3.nim
+nim/nimsuggest/tests/tdot4.nim
+nim/nimsuggest/tests/tgeneric_highlight.nim
+nim/nimsuggest/tests/tinclude.nim
+nim/nimsuggest/tests/tmacro_highlight.nim
+nim/nimsuggest/tests/tno_deref.nim
+nim/nimsuggest/tests/tobj_highlight.nim
+nim/nimsuggest/tests/top_highlight.nim
+nim/nimsuggest/tests/tqualified_highlight.nim
+nim/nimsuggest/tests/tsetter_highlight.nim
+nim/nimsuggest/tests/tsi_highlight.nim
+nim/nimsuggest/tests/tsug_accquote.nim
+nim/nimsuggest/tests/tsug_enum.nim
+nim/nimsuggest/tests/tsug_regression.nim
+nim/nimsuggest/tests/tsug_template.nim
+nim/nimsuggest/tests/tsug_typedecl.nim
+nim/nimsuggest/tests/ttempl_inst.nim
+nim/nimsuggest/tests/ttemplate_highlight.nim
+nim/nimsuggest/tests/ttype_decl.nim
+nim/nimsuggest/tests/ttype_highlight.nim
+nim/nimsuggest/tests/tuse.nim
+nim/nimsuggest/tests/tuse_structure.nim
+nim/nimsuggest/tests/tv3.nim
+nim/nimsuggest/tests/tv3_definition.nim
+nim/nimsuggest/tests/tv3_import.nim
+nim/nimsuggest/tests/tv3_typeDefinition.nim
+nim/nimsuggest/tests/twithin_macro.nim
+nim/nimsuggest/tests/twithin_macro_prefix.nim
Home |
Main Index |
Thread Index |
Old Index