summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authormspo <mspo>2013-04-02 00:23:58 +0000
committermspo <mspo>2013-04-02 00:23:58 +0000
commit9ade33954ddb6e3376fb8b500ce3ce631d0f6070 (patch)
tree98761ed0d1c3435f0282ae1a6eaddb848d5b53f3 /editors
parentec7d35a76e64160300fc4b75ce8a28e78f8c943d (diff)
downloadpkgsrc-9ade33954ddb6e3376fb8b500ce3ce631d0f6070.tar.gz
add sandy editor again, after freeze
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..affa3acebb5
--- /dev/null
+++ b/editors/sandy/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.3 2013/04/02 00:23:58 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..9a877101dad
--- /dev/null
+++ b/editors/sandy/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.3 2013/04/02 00:23:58 mspo Exp $
+bin/sandy
+man/man1/sandy.1
diff --git a/editors/sandy/distinfo b/editors/sandy/distinfo
new file mode 100644
index 00000000000..bde0cc07e9f
--- /dev/null
+++ b/editors/sandy/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.3 2013/04/02 00:23:58 mspo Exp $
+
+SHA1 (sandy-0.4.tar.gz) = 51786f52aa6efce9f03f31ecdc5f83e1e52a4041
+RMD160 (sandy-0.4.tar.gz) = f975cfb4eee15869916b6c88665d1585813f1f9f
+Size (sandy-0.4.tar.gz) = 19243 bytes