summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authormspo <mspo>2013-03-21 00:11:06 +0000
committermspo <mspo>2013-03-21 00:11:06 +0000
commit7c4b9bc961363dd1caff2f084512a8cddc6f6930 (patch)
tree075e844ef707c43d76211a25c5bc6ae8f8b6d80c /editors
parent361c2bc6583cd765ec4bd6ccf79905db7f7e9873 (diff)
downloadpkgsrc-7c4b9bc961363dd1caff2f084512a8cddc6f6930.tar.gz
sandy is the editor from suckless.org
sandy is a simple ncurses text editor. it has emacs-esque keybindings
Diffstat (limited to 'editors')
-rw-r--r--editors/sandy/DESCR4
-rw-r--r--editors/sandy/Makefile23
-rw-r--r--editors/sandy/PLIST3
-rw-r--r--editors/sandy/distinfo5
4 files changed, 35 insertions, 0 deletions
diff --git a/editors/sandy/DESCR b/editors/sandy/DESCR
new file mode 100644
index 00000000000..06e6e52ccbc
--- /dev/null
+++ b/editors/sandy/DESCR
@@ -0,0 +1,4 @@
+Sandy is an ncurses text editor with an easy-to-read, hackable C source. Sandy
+tries to maximize screen estate, minimize the SLOC used and not get in your way
+too much. It can somehow be controlled using a named pipe that lives in /tmp and
+all preferences and keybindings are to be chosen at compile time.
diff --git a/editors/sandy/Makefile b/editors/sandy/Makefile
new file mode 100644
index 00000000000..6f2519c6e65
--- /dev/null
+++ b/editors/sandy/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2013/03/21 00:11:06 mspo Exp $
+#
+
+DISTNAME= sandy-0.4
+CATEGORIES= editors
+MASTER_SITES= http://git.suckless.org/sandy/snapshot/
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://tools.suckless.org/sandy
+COMMENT= Sandy is an ncurses text editor
+LICENSE= mit
+
+SUBST_CLASSES= fix-paths
+SUBST_STAGE.fix-paths= pre-configure
+SUBST_MESSAGE.fix-paths= Fixing absolute paths.
+SUBST_FILES.fix-paths= config.mk
+SUBST_SED.fix-paths= -e 's,/usr/local,${PREFIX},g'
+SUBST_SED.fix-paths+= -e 's,/usr/include,${BUILDLINK_PREFIX.ncursesw}/include,g'
+SUBST_SED.fix-paths+= -e 's,/usr/lib,${BUILDLINK_PREFIX.ncursesw}/lib -Wl\,-R${BUILDLINK_PREFIX.ncursesw}/lib,g'
+SUBST_SED.fix-paths+= -e 's,share/man,man,g'
+
+.include "../../devel/ncursesw/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/editors/sandy/PLIST b/editors/sandy/PLIST
new file mode 100644
index 00000000000..1175b0b6da4
--- /dev/null
+++ b/editors/sandy/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2013/03/21 00:11:06 mspo Exp $
+bin/sandy
+man/man1/sandy.1
diff --git a/editors/sandy/distinfo b/editors/sandy/distinfo
new file mode 100644
index 00000000000..124f9046e90
--- /dev/null
+++ b/editors/sandy/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2013/03/21 00:11:06 mspo Exp $
+
+SHA1 (sandy-0.4.tar.gz) = 51786f52aa6efce9f03f31ecdc5f83e1e52a4041
+RMD160 (sandy-0.4.tar.gz) = f975cfb4eee15869916b6c88665d1585813f1f9f
+Size (sandy-0.4.tar.gz) = 19243 bytes