summaryrefslogtreecommitdiff
path: root/editors/neatvi
diff options
context:
space:
mode:
authorleot <leot@pkgsrc.org>2019-07-07 14:59:43 +0000
committerleot <leot@pkgsrc.org>2019-07-07 14:59:43 +0000
commitc062465b085831cdd9791be1b9fe5504719ec67a (patch)
treec15965a8fb5286d64fd4be3ce60bc6323ed8ee2e /editors/neatvi
parent6c21202edac27c4892cbd8d8e91658615ddeebc8 (diff)
downloadpkgsrc-c062465b085831cdd9791be1b9fe5504719ec67a.tar.gz
neatvi: Import neatvi-06 as editors/neatvi
Neatvi is a vi/ex editor. It can edit bidirectional UTF-8 text.
Diffstat (limited to 'editors/neatvi')
-rw-r--r--editors/neatvi/DESCR1
-rw-r--r--editors/neatvi/Makefile26
-rw-r--r--editors/neatvi/PLIST3
-rw-r--r--editors/neatvi/distinfo6
4 files changed, 36 insertions, 0 deletions
diff --git a/editors/neatvi/DESCR b/editors/neatvi/DESCR
new file mode 100644
index 00000000000..1e6a280fc6c
--- /dev/null
+++ b/editors/neatvi/DESCR
@@ -0,0 +1 @@
+Neatvi is a vi/ex editor. It can edit bidirectional UTF-8 text.
diff --git a/editors/neatvi/Makefile b/editors/neatvi/Makefile
new file mode 100644
index 00000000000..64e39c8c5b4
--- /dev/null
+++ b/editors/neatvi/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1 2019/07/07 14:59:43 leot Exp $
+
+DISTNAME= neatvi-06
+CATEGORIES= editors
+MASTER_SITES= ${MASTER_SITE_GITHUB:=aligrudi/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/aligrudi/neatvi/
+COMMENT= Small vi/ex editor for editing bidirectional UTF-8 text
+LICENSE= isc
+
+SUBST_CLASSES+= makefile
+SUBST_STAGE.makefile= pre-configure
+SUBST_MESSAGE.makefile= Honors user's CC, CFLAGS and LDFLAGS
+SUBST_FILES.makefile= Makefile
+SUBST_SED.makefile= -e 's/cc/${CC}/'
+SUBST_SED.makefile+= -e 's,^CFLAGS *= ,CFLAGS += ,'
+SUBST_SED.makefile+= -e 's,^LDFLAGS *= ,LDFLAGS += ,'
+
+INSTALLATION_DIRS+= bin share/doc/neatvi
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/vi ${DESTDIR}${PREFIX}/bin/neatvi
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/neatvi
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/editors/neatvi/PLIST b/editors/neatvi/PLIST
new file mode 100644
index 00000000000..7d6c1d9ed34
--- /dev/null
+++ b/editors/neatvi/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2019/07/07 14:59:43 leot Exp $
+bin/neatvi
+share/doc/neatvi/README
diff --git a/editors/neatvi/distinfo b/editors/neatvi/distinfo
new file mode 100644
index 00000000000..a78f732aca8
--- /dev/null
+++ b/editors/neatvi/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/07/07 14:59:43 leot Exp $
+
+SHA1 (neatvi-06.tar.gz) = b54f0e888c61afe4c300b94bfff19ce09abb90ae
+RMD160 (neatvi-06.tar.gz) = 608152d08ef6a7b558da0e4cb14b484aa6c52da9
+SHA512 (neatvi-06.tar.gz) = ff5850fc736afb33f57bcf738fc6eab346785caa5eff81fac567248eb0bede973731ca1791651d73d0157df170b6f07df3cd05ee4d8a6eb2090d51f92460d2b9
+Size (neatvi-06.tar.gz) = 42877 bytes