summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorepg <epg@pkgsrc.org>2003-06-08 05:46:34 +0000
committerepg <epg@pkgsrc.org>2003-06-08 05:46:34 +0000
commit93e1bb707d11337bc8a7b049f16c4a75f165bff1 (patch)
tree6a8db514579a073bee7d8c5c5366e28c2c53507e /editors
parenta1569de75fbe213cd15d2a00c8ad6389c3c05016 (diff)
downloadpkgsrc-93e1bb707d11337bc8a7b049f16c4a75f165bff1.tar.gz
Import gnuserv-3.12.6.
gnuserv allows you to attach to an already running Emacs. This allows external programs to make use of Emacs' editing capabilities. It is like GNU Emacs' emacsserver/server.el, but has many more features. This is the gnuserv part of XEmacs split out for use in GNU Emacs. If you use XEmacs you do not need this package.
Diffstat (limited to 'editors')
-rw-r--r--editors/gnuserv/DESCR6
-rw-r--r--editors/gnuserv/Makefile20
-rw-r--r--editors/gnuserv/PLIST15
-rw-r--r--editors/gnuserv/distinfo5
-rw-r--r--editors/gnuserv/patches/patch-aa13
5 files changed, 59 insertions, 0 deletions
diff --git a/editors/gnuserv/DESCR b/editors/gnuserv/DESCR
new file mode 100644
index 00000000000..367514dfd81
--- /dev/null
+++ b/editors/gnuserv/DESCR
@@ -0,0 +1,6 @@
+gnuserv allows you to attach to an already running Emacs. This allows
+external programs to make use of Emacs' editing capabilities. It is
+like GNU Emacs' emacsserver/server.el, but has many more features.
+
+This is the gnuserv part of XEmacs split out for use in GNU Emacs. If
+you use XEmacs you do not need this package.
diff --git a/editors/gnuserv/Makefile b/editors/gnuserv/Makefile
new file mode 100644
index 00000000000..a6da5665a7b
--- /dev/null
+++ b/editors/gnuserv/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/06/08 05:46:34 epg Exp $
+
+DISTNAME= gnuserv-3.12.6
+CATEGORIES= editors
+MASTER_SITES= ${HOMEPAGE}/src/
+
+MAINTAINER= epg@netbsd.org
+HOMEPAGE= http://meltin.net/hacks/emacs/
+COMMENT= Improved version of emacsserver for GNU Emacs
+
+GNU_CONFIGURE= YES
+
+EL_FILES= devices.el gnuserv.el gnuserv-compat.el
+post-install:
+ cd ${WRKSRC} && for FILE in ${EL_FILES}; do \
+ ${INSTALL_DATA} $${FILE} $${FILE}c ${EMACS_LISPPREFIX}; \
+ done
+
+.include "../../mk/emacs.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/editors/gnuserv/PLIST b/editors/gnuserv/PLIST
new file mode 100644
index 00000000000..7fd771fe699
--- /dev/null
+++ b/editors/gnuserv/PLIST
@@ -0,0 +1,15 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/06/08 05:46:34 epg Exp $
+bin/gnuattach
+bin/gnuclient
+bin/gnudoit
+bin/gnuserv
+man/man1/gnuattach.1
+man/man1/gnuclient.1
+man/man1/gnudoit.1
+man/man1/gnuserv.1
+${EMACS_LISPPREFIX}/devices.el
+${EMACS_LISPPREFIX}/devices.elc
+${EMACS_LISPPREFIX}/gnuserv-compat.el
+${EMACS_LISPPREFIX}/gnuserv-compat.elc
+${EMACS_LISPPREFIX}/gnuserv.el
+${EMACS_LISPPREFIX}/gnuserv.elc
diff --git a/editors/gnuserv/distinfo b/editors/gnuserv/distinfo
new file mode 100644
index 00000000000..9d77560554a
--- /dev/null
+++ b/editors/gnuserv/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/06/08 05:46:34 epg Exp $
+
+SHA1 (gnuserv-3.12.6.tar.gz) = 6d5a3d2366a9ccb69258b8e6c0ea6924f86f4908
+Size (gnuserv-3.12.6.tar.gz) = 92501 bytes
+SHA1 (patch-aa) = f10c267b84290265df2a757454b0548bf8383889
diff --git a/editors/gnuserv/patches/patch-aa b/editors/gnuserv/patches/patch-aa
new file mode 100644
index 00000000000..b435fd848c0
--- /dev/null
+++ b/editors/gnuserv/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/06/08 05:46:34 epg Exp $
+
+--- gnuserv.c.orig Fri Sep 13 07:19:16 2002
++++ gnuserv.c
+@@ -793,7 +793,7 @@ unix_init (void)
+ + strlen (server.sun_path) + 1);
+ server.sun_len = bindlen;
+ #else
+- bindlen = strlen (server.sun_path) + sizeof (server.sun_family);
++ bindlen = strlen (server.sun_path) + 1 + sizeof (server.sun_family);
+ #endif
+
+ if (bind(ls,(struct sockaddr *)&server,bindlen) < 0)