pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/nim



Module Name:    pkgsrc
Committed By:   charlotte
Date:           Thu Oct 13 01:17:14 UTC 2022

Modified Files:
        pkgsrc/lang/nim: Makefile PLIST

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 pkgsrc/lang/nim/Makefile
cvs rdiff -u -r1.15 -r1.16 pkgsrc/lang/nim/PLIST

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

Modified files:

Index: pkgsrc/lang/nim/Makefile
diff -u pkgsrc/lang/nim/Makefile:1.28 pkgsrc/lang/nim/Makefile:1.29
--- pkgsrc/lang/nim/Makefile:1.28       Thu Sep 29 22:05:39 2022
+++ pkgsrc/lang/nim/Makefile    Thu Oct 13 01:17:14 2022
@@ -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 @@ LICENSE=      mit
 
 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 @@ do-install:
        ${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

Index: pkgsrc/lang/nim/PLIST
diff -u pkgsrc/lang/nim/PLIST:1.15 pkgsrc/lang/nim/PLIST:1.16
--- pkgsrc/lang/nim/PLIST:1.15  Thu Sep 29 22:05:39 2022
+++ pkgsrc/lang/nim/PLIST       Thu Oct 13 01:17:14 2022
@@ -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/pcre.nim
 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