pkgsrc-WIP-changes archive

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

vis-editor: Import vis-0.1 as wip/vis-editor.



Module Name:	pkgsrc-wip
Committed By:	Eric Garver <e%erig.me@localhost>
Pushed By:	erig
Date:		Mon Feb 15 19:54:16 2016 -0500
Changeset:	ebc97882bc4827874c3443a2c103708dc1aa2be5

Modified Files:
	Makefile
Added Files:
	vis-editor/DESCR
	vis-editor/Makefile
	vis-editor/PLIST
	vis-editor/distinfo

Log Message:
vis-editor: Import vis-0.1 as wip/vis-editor.

Vis aims to be a modern, legacy free, simple yet efficient vim-like editor.

The intention is not to be bug for bug compatible with vim, instead a similar
editing experience should be provided. The goal could thus be summarized as
"80% of vim's features implemented in roughly 1% of the code".

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=ebc97882bc4827874c3443a2c103708dc1aa2be5

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

diffstat:
 Makefile            |   1 +
 vis-editor/DESCR    |   7 +++
 vis-editor/Makefile |  69 +++++++++++++++++++++++++++++
 vis-editor/PLIST    | 123 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 vis-editor/distinfo |   6 +++
 5 files changed, 206 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 90aa7b2..44dfd09 100644
--- a/Makefile
+++ b/Makefile
@@ -4080,6 +4080,7 @@ SUBDIR+=	virtualbox-ose
 SUBDIR+=	virtualjaguar
 SUBDIR+=	virus
 SUBDIR+=	vis
+SUBDIR+=	vis-editor
 SUBDIR+=	vista-fonts
 SUBDIR+=	vkeybd
 SUBDIR+=	vlevel
diff --git a/vis-editor/DESCR b/vis-editor/DESCR
new file mode 100644
index 0000000..c690bb4
--- /dev/null
+++ b/vis-editor/DESCR
@@ -0,0 +1,7 @@
+Vis aims to be a modern, legacy free, simple yet efficient vim-like editor.
+
+The intention is not to be bug for bug compatible with vim, instead a similar
+editing experience should be provided. The goal could thus be summarized as
+"80% of vim's features implemented in roughly 1% of the code".
+
+https://github.com/martanne/vis
diff --git a/vis-editor/Makefile b/vis-editor/Makefile
new file mode 100644
index 0000000..3fac5f8
--- /dev/null
+++ b/vis-editor/Makefile
@@ -0,0 +1,69 @@
+# $NetBSD$
+
+DISTNAME=		vis-0.1
+PKGNAME=		${DISTNAME:S/vis/vis-editor/}
+CATEGORIES=		wip
+MASTER_SITES=		${MASTER_SITE_GITHUB:=martanne/}
+
+MAINTAINER=		e%erig.me@localhost
+HOMEPAGE=		${MASTER_SITE_GITHUB:=martanne/vis/}
+COMMENT=		Vim like text editor
+LICENSE=		isc
+
+GITHUB_PROJECT=		${DISTBASE}
+GITHUB_TAG=		v${PKGVERSION_NOREV}
+
+DISTBASE=		${DISTNAME:C/(.*)-${PKGVERSION}/\1/}
+
+WRKSRC=			${WRKDIR}/${DISTNAME}
+
+MAKE_JOBS_SAFE=		no
+
+LUA_VERSIONS_ACCEPTED=	52
+
+USE_TOOLS+=		gmake
+USE_TOOLS+=		gsed
+USE_TOOLS+=		pkg-config
+
+.include "../../mk/bsd.prefs.mk"
+
+SUBST_CLASSES+=			sha1sum
+SUBST_STAGE.sha1sum=		pre-build
+SUBST_FILES.sha1sum=		Makefile
+SUBST_SED.sha1sum=		-e 's/sha1sum/gsha1sum/g'
+
+.if ${OPSYS} != "Linux"
+SUBST_CLASSES+=			zap-ldl
+SUBST_MESSAGE.zap-ldl=		Remove -ldl from Makefiles.
+SUBST_STAGE.zap-ldl=		pre-build
+SUBST_FILES.zap-ldl=		Makefile config.mk
+SUBST_SED.zap-ldl=		-e 's/-ldl//g'
+.endif
+
+SUBST_CLASSES+=			fix-paths
+SUBST_STAGE.fix-paths=		pre-build
+SUBST_MESSAGE.fix-paths=	Fixing absolute paths.
+SUBST_FILES.fix-paths=		config.mk vis-lua.c vis.1
+SUBST_SED.fix-paths=		-e "s,/usr/local,${PREFIX},g"
+SUBST_SED.fix-paths+=		-e "s,/share/man,/${PKGMANDIR},g"
+SUBST_SED.fix-paths+=		-e "s,/share/vis,/share/${PKGBASE},g"
+
+SUBST_CLASSES+=			vis-open
+SUBST_STAGE.vis-open=		pre-build
+SUBST_FILES.vis-open=		vis-cmds.c
+SUBST_SED.vis-open=		-e 's,\("[^"]*\)'${DISTBASE}-open'\([^"]*"\),\1'${PKGBASE}-open'\2,g'
+
+BUILD_TARGET=	vis
+
+post-install:
+	${MV} ${DESTDIR}${PREFIX}/bin/${DISTBASE} ${DESTDIR}${PREFIX}/bin/${PKGBASE}
+	${MV} ${DESTDIR}${PREFIX}/bin/${DISTBASE}-open ${DESTDIR}${PREFIX}/bin/${PKGBASE}-open
+	${MV} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/${DISTBASE}.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/${PKGBASE}.1
+
+BUILD_DEPENDS+=	coreutils-[0-9]*:../../sysutils/coreutils
+DEPENDS+=	${LUA_PKGPREFIX}-lpeg-[0-9]*:../../devel/lua-lpeg
+.include "../../lang/lua/buildlink3.mk"
+.include "../../devel/ncursesw/buildlink3.mk"
+.include "../../wip/libtermkey/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/vis-editor/PLIST b/vis-editor/PLIST
new file mode 100644
index 0000000..7661bc2
--- /dev/null
+++ b/vis-editor/PLIST
@@ -0,0 +1,123 @@
+@comment $NetBSD$
+bin/vis-editor
+bin/vis-editor-open
+man/man1/vis-editor.1
+share/vis-editor/lexers/LICENSE
+share/vis-editor/lexers/README.md
+share/vis-editor/lexers/actionscript.lua
+share/vis-editor/lexers/ada.lua
+share/vis-editor/lexers/ansi_c.lua
+share/vis-editor/lexers/antlr.lua
+share/vis-editor/lexers/apdl.lua
+share/vis-editor/lexers/apl.lua
+share/vis-editor/lexers/applescript.lua
+share/vis-editor/lexers/asm.lua
+share/vis-editor/lexers/asp.lua
+share/vis-editor/lexers/awk.lua
+share/vis-editor/lexers/bash.lua
+share/vis-editor/lexers/batch.lua
+share/vis-editor/lexers/bibtex.lua
+share/vis-editor/lexers/boo.lua
+share/vis-editor/lexers/caml.lua
+share/vis-editor/lexers/chuck.lua
+share/vis-editor/lexers/cmake.lua
+share/vis-editor/lexers/coffeescript.lua
+share/vis-editor/lexers/container.lua
+share/vis-editor/lexers/context.lua
+share/vis-editor/lexers/cpp.lua
+share/vis-editor/lexers/csharp.lua
+share/vis-editor/lexers/css.lua
+share/vis-editor/lexers/cuda.lua
+share/vis-editor/lexers/dart.lua
+share/vis-editor/lexers/desktop.lua
+share/vis-editor/lexers/diff.lua
+share/vis-editor/lexers/django.lua
+share/vis-editor/lexers/dmd.lua
+share/vis-editor/lexers/dot.lua
+share/vis-editor/lexers/eiffel.lua
+share/vis-editor/lexers/elixir.lua
+share/vis-editor/lexers/erlang.lua
+share/vis-editor/lexers/faust.lua
+share/vis-editor/lexers/fish.lua
+share/vis-editor/lexers/forth.lua
+share/vis-editor/lexers/fortran.lua
+share/vis-editor/lexers/fsharp.lua
+share/vis-editor/lexers/gap.lua
+share/vis-editor/lexers/gettext.lua
+share/vis-editor/lexers/glsl.lua
+share/vis-editor/lexers/gnuplot.lua
+share/vis-editor/lexers/go.lua
+share/vis-editor/lexers/groovy.lua
+share/vis-editor/lexers/gtkrc.lua
+share/vis-editor/lexers/haskell.lua
+share/vis-editor/lexers/html.lua
+share/vis-editor/lexers/idl.lua
+share/vis-editor/lexers/inform.lua
+share/vis-editor/lexers/ini.lua
+share/vis-editor/lexers/io_lang.lua
+share/vis-editor/lexers/java.lua
+share/vis-editor/lexers/javascript.lua
+share/vis-editor/lexers/json.lua
+share/vis-editor/lexers/jsp.lua
+share/vis-editor/lexers/latex.lua
+share/vis-editor/lexers/ledger.lua
+share/vis-editor/lexers/less.lua
+share/vis-editor/lexers/lexer.lua
+share/vis-editor/lexers/lilypond.lua
+share/vis-editor/lexers/lisp.lua
+share/vis-editor/lexers/litcoffee.lua
+share/vis-editor/lexers/lua.lua
+share/vis-editor/lexers/makefile.lua
+share/vis-editor/lexers/man.lua
+share/vis-editor/lexers/markdown.lua
+share/vis-editor/lexers/matlab.lua
+share/vis-editor/lexers/nemerle.lua
+share/vis-editor/lexers/nim.lua
+share/vis-editor/lexers/nsis.lua
+share/vis-editor/lexers/null.lua
+share/vis-editor/lexers/objective_c.lua
+share/vis-editor/lexers/pascal.lua
+share/vis-editor/lexers/perl.lua
+share/vis-editor/lexers/php.lua
+share/vis-editor/lexers/pike.lua
+share/vis-editor/lexers/pkgbuild.lua
+share/vis-editor/lexers/powershell.lua
+share/vis-editor/lexers/prolog.lua
+share/vis-editor/lexers/props.lua
+share/vis-editor/lexers/ps.lua
+share/vis-editor/lexers/pure.lua
+share/vis-editor/lexers/python.lua
+share/vis-editor/lexers/rails.lua
+share/vis-editor/lexers/rebol.lua
+share/vis-editor/lexers/rest.lua
+share/vis-editor/lexers/rexx.lua
+share/vis-editor/lexers/rhtml.lua
+share/vis-editor/lexers/rstats.lua
+share/vis-editor/lexers/ruby.lua
+share/vis-editor/lexers/rust.lua
+share/vis-editor/lexers/sass.lua
+share/vis-editor/lexers/scala.lua
+share/vis-editor/lexers/scheme.lua
+share/vis-editor/lexers/smalltalk.lua
+share/vis-editor/lexers/sql.lua
+share/vis-editor/lexers/tcl.lua
+share/vis-editor/lexers/template.txt
+share/vis-editor/lexers/tex.lua
+share/vis-editor/lexers/texinfo.lua
+share/vis-editor/lexers/text.lua
+share/vis-editor/lexers/themes/dark-16.lua
+share/vis-editor/lexers/themes/default-16.lua
+share/vis-editor/lexers/themes/default-256.lua
+share/vis-editor/lexers/themes/solarized.lua
+share/vis-editor/lexers/toml.lua
+share/vis-editor/lexers/vala.lua
+share/vis-editor/lexers/vb.lua
+share/vis-editor/lexers/vbscript.lua
+share/vis-editor/lexers/vcard.lua
+share/vis-editor/lexers/verilog.lua
+share/vis-editor/lexers/vhdl.lua
+share/vis-editor/lexers/wsf.lua
+share/vis-editor/lexers/xml.lua
+share/vis-editor/lexers/xtend.lua
+share/vis-editor/lexers/yaml.lua
+share/vis-editor/visrc.lua
diff --git a/vis-editor/distinfo b/vis-editor/distinfo
new file mode 100644
index 0000000..a74d4c9
--- /dev/null
+++ b/vis-editor/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (vis-0.1.tar.gz) = 7d0075ca631eed5acd2be951d8ef8126cb62a74a
+RMD160 (vis-0.1.tar.gz) = e4522bcfb77351ee2ba3c8a9579ae11173f1e14d
+SHA512 (vis-0.1.tar.gz) = f2647971660ceb14a16371129e01027264c80818e1143684dffd19a7b99df5ee83978751b497b5678bb36a910203f9546366db335ccaf721b906b8e5b1bb9100
+Size (vis-0.1.tar.gz) = 221342 bytes


Home | Main Index | Thread Index | Old Index