summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorSADA Kenji <sada@FreeBSD.org>2001-09-24 12:43:46 +0000
committerSADA Kenji <sada@FreeBSD.org>2001-09-24 12:43:46 +0000
commit3d07d3da69b2d71a46c1148561c1ca0878f6a85c (patch)
treed45010d36909446126c312180b5d7d4ba47810bb /editors
parentDefine INSTALLS_SHLIB properly. (diff)
Add new port editors/gnuserv-emacs20
PR: ports/25993 Submitted by: Ilya Martynov <ilya@martynov.org>
Notes
Notes: svn path=/head/; revision=48151
Diffstat (limited to 'editors')
-rw-r--r--editors/Makefile1
-rw-r--r--editors/gnuserv-emacs20/Makefile48
-rw-r--r--editors/gnuserv-emacs20/distinfo1
-rw-r--r--editors/gnuserv-emacs20/files/patch-aa11
-rw-r--r--editors/gnuserv-emacs20/pkg-comment1
-rw-r--r--editors/gnuserv-emacs20/pkg-descr7
-rw-r--r--editors/gnuserv-emacs20/pkg-message10
-rw-r--r--editors/gnuserv-emacs20/pkg-plist17
-rw-r--r--editors/gnuserv/Makefile48
-rw-r--r--editors/gnuserv/distinfo1
-rw-r--r--editors/gnuserv/files/patch-aa11
-rw-r--r--editors/gnuserv/pkg-comment1
-rw-r--r--editors/gnuserv/pkg-descr7
-rw-r--r--editors/gnuserv/pkg-message10
-rw-r--r--editors/gnuserv/pkg-plist17
15 files changed, 191 insertions, 0 deletions
diff --git a/editors/Makefile b/editors/Makefile
index ae8e5e150f01..ba10138f242f 100644
--- a/editors/Makefile
+++ b/editors/Makefile
@@ -54,6 +54,7 @@
SUBDIR += glimmer
SUBDIR += gmanedit
SUBDIR += gnotepad+
+ SUBDIR += gnuserv-emacs20
SUBDIR += gxedit
SUBDIR += hexcurse
SUBDIR += hexedit
diff --git a/editors/gnuserv-emacs20/Makefile b/editors/gnuserv-emacs20/Makefile
new file mode 100644
index 000000000000..05acb879af20
--- /dev/null
+++ b/editors/gnuserv-emacs20/Makefile
@@ -0,0 +1,48 @@
+# New ports collection makefile for: gnuserv-emacs20
+# Date created: 10 February 2001
+# Whom: ilya
+#
+# $FreeBSD$
+#
+
+PORTNAME= gnuserv
+PORTVERSION= 3.12.3
+CATEGORIES= editors
+MASTER_SITES= http://meltin.net/hacks/emacs/src/
+PKGNAMESUFFIX= -${EMACS_PORT_NAME}
+
+MAINTAINER= ilya@martynov.org
+
+HAS_CONFIGURE= yes
+
+EMACS_PORT_NAME?=emacs20
+
+CONFIGURE_ARGS= --prefix=${PREFIX}
+
+PORTDOCDIR= share/doc/gnuserv-${EMACS_PORT_NAME}
+MAN1= gnuserv.1
+MLINKS= gnuserv.1 gnuattach.1 \
+ gnuserv.1 gnuclient.1 \
+ gnuserv.1 gnudoit.1
+DOCS= COPYING ChangeLog INSTALL README README.orig
+SOURCES= devices.el gnuserv-compat.el gnuserv.el
+ELCS= ${SOURCES:S/.el/.elc/g}
+
+PLIST_SUB= EMACS_PORT_NAME=${EMACS_PORT_NAME} \
+ EMACS_SITE_LISPDIR=${EMACS_SITE_LISPDIR}
+
+lispdir= ${PREFIX}/${EMACS_SITE_LISPDIR}/gnuserv
+post-install:
+ ${MKDIR} ${lispdir};
+.for i in ${SOURCES} ${ELCS}
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${lispdir}
+.endfor
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/${PORTDOCDIR}
+.for i in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/${PORTDOCDIR}
+.endfor
+.endif
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/editors/gnuserv-emacs20/distinfo b/editors/gnuserv-emacs20/distinfo
new file mode 100644
index 000000000000..ff8a7f93d810
--- /dev/null
+++ b/editors/gnuserv-emacs20/distinfo
@@ -0,0 +1 @@
+MD5 (gnuserv-3.12.3.tar.gz) = 5d5a90810f353c81332c9002d4aa31eb
diff --git a/editors/gnuserv-emacs20/files/patch-aa b/editors/gnuserv-emacs20/files/patch-aa
new file mode 100644
index 000000000000..b0f8bb0aa727
--- /dev/null
+++ b/editors/gnuserv-emacs20/files/patch-aa
@@ -0,0 +1,11 @@
+--- gnuserv.c~ Thu Jan 25 13:41:48 2001
++++ gnuserv.c Sat Feb 10 18:00:44 2001
+@@ -790,7 +790,7 @@
+ + 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)
diff --git a/editors/gnuserv-emacs20/pkg-comment b/editors/gnuserv-emacs20/pkg-comment
new file mode 100644
index 000000000000..089532c88781
--- /dev/null
+++ b/editors/gnuserv-emacs20/pkg-comment
@@ -0,0 +1 @@
+A standalone release of gnuserv for GNU Emacs
diff --git a/editors/gnuserv-emacs20/pkg-descr b/editors/gnuserv-emacs20/pkg-descr
new file mode 100644
index 000000000000..db64c04118d3
--- /dev/null
+++ b/editors/gnuserv-emacs20/pkg-descr
@@ -0,0 +1,7 @@
+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.
+
+WWW: http://meltin.net/hacks/emacs/
+
+-- ported by Ilya Martynov <ilya@martynov.org>
diff --git a/editors/gnuserv-emacs20/pkg-message b/editors/gnuserv-emacs20/pkg-message
new file mode 100644
index 000000000000..2553879a1178
--- /dev/null
+++ b/editors/gnuserv-emacs20/pkg-message
@@ -0,0 +1,10 @@
+*****************************************************************************
+
+Add following code into your .emacs to enable autoloading of gnuserv lisp
+files:
+
+ (autoload 'gnuserv-start "gnuserv-compat"
+ "Allow this Emacs process to be a server for client processes."
+ t)
+
+*****************************************************************************
diff --git a/editors/gnuserv-emacs20/pkg-plist b/editors/gnuserv-emacs20/pkg-plist
new file mode 100644
index 000000000000..303adc252c42
--- /dev/null
+++ b/editors/gnuserv-emacs20/pkg-plist
@@ -0,0 +1,17 @@
+%%EMACS_SITE_LISPDIR%%/gnuserv/devices.el
+%%EMACS_SITE_LISPDIR%%/gnuserv/devices.elc
+%%EMACS_SITE_LISPDIR%%/gnuserv/gnuserv-compat.el
+%%EMACS_SITE_LISPDIR%%/gnuserv/gnuserv-compat.elc
+%%EMACS_SITE_LISPDIR%%/gnuserv/gnuserv.el
+%%EMACS_SITE_LISPDIR%%/gnuserv/gnuserv.elc
+bin/gnuattach
+bin/gnuclient
+bin/gnudoit
+bin/gnuserv
+share/doc/gnuserv-%%EMACS_PORT_NAME%%/COPYING
+share/doc/gnuserv-%%EMACS_PORT_NAME%%/ChangeLog
+share/doc/gnuserv-%%EMACS_PORT_NAME%%/INSTALL
+share/doc/gnuserv-%%EMACS_PORT_NAME%%/README
+share/doc/gnuserv-%%EMACS_PORT_NAME%%/README.orig
+@dirrm %%EMACS_SITE_LISPDIR%%/gnuserv
+@dirrm share/doc/gnuserv-%%EMACS_PORT_NAME%%
diff --git a/editors/gnuserv/Makefile b/editors/gnuserv/Makefile
new file mode 100644
index 000000000000..05acb879af20
--- /dev/null
+++ b/editors/gnuserv/Makefile
@@ -0,0 +1,48 @@
+# New ports collection makefile for: gnuserv-emacs20
+# Date created: 10 February 2001
+# Whom: ilya
+#
+# $FreeBSD$
+#
+
+PORTNAME= gnuserv
+PORTVERSION= 3.12.3
+CATEGORIES= editors
+MASTER_SITES= http://meltin.net/hacks/emacs/src/
+PKGNAMESUFFIX= -${EMACS_PORT_NAME}
+
+MAINTAINER= ilya@martynov.org
+
+HAS_CONFIGURE= yes
+
+EMACS_PORT_NAME?=emacs20
+
+CONFIGURE_ARGS= --prefix=${PREFIX}
+
+PORTDOCDIR= share/doc/gnuserv-${EMACS_PORT_NAME}
+MAN1= gnuserv.1
+MLINKS= gnuserv.1 gnuattach.1 \
+ gnuserv.1 gnuclient.1 \
+ gnuserv.1 gnudoit.1
+DOCS= COPYING ChangeLog INSTALL README README.orig
+SOURCES= devices.el gnuserv-compat.el gnuserv.el
+ELCS= ${SOURCES:S/.el/.elc/g}
+
+PLIST_SUB= EMACS_PORT_NAME=${EMACS_PORT_NAME} \
+ EMACS_SITE_LISPDIR=${EMACS_SITE_LISPDIR}
+
+lispdir= ${PREFIX}/${EMACS_SITE_LISPDIR}/gnuserv
+post-install:
+ ${MKDIR} ${lispdir};
+.for i in ${SOURCES} ${ELCS}
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${lispdir}
+.endfor
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/${PORTDOCDIR}
+.for i in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/${PORTDOCDIR}
+.endfor
+.endif
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/editors/gnuserv/distinfo b/editors/gnuserv/distinfo
new file mode 100644
index 000000000000..ff8a7f93d810
--- /dev/null
+++ b/editors/gnuserv/distinfo
@@ -0,0 +1 @@
+MD5 (gnuserv-3.12.3.tar.gz) = 5d5a90810f353c81332c9002d4aa31eb
diff --git a/editors/gnuserv/files/patch-aa b/editors/gnuserv/files/patch-aa
new file mode 100644
index 000000000000..b0f8bb0aa727
--- /dev/null
+++ b/editors/gnuserv/files/patch-aa
@@ -0,0 +1,11 @@
+--- gnuserv.c~ Thu Jan 25 13:41:48 2001
++++ gnuserv.c Sat Feb 10 18:00:44 2001
+@@ -790,7 +790,7 @@
+ + 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)
diff --git a/editors/gnuserv/pkg-comment b/editors/gnuserv/pkg-comment
new file mode 100644
index 000000000000..089532c88781
--- /dev/null
+++ b/editors/gnuserv/pkg-comment
@@ -0,0 +1 @@
+A standalone release of gnuserv for GNU Emacs
diff --git a/editors/gnuserv/pkg-descr b/editors/gnuserv/pkg-descr
new file mode 100644
index 000000000000..db64c04118d3
--- /dev/null
+++ b/editors/gnuserv/pkg-descr
@@ -0,0 +1,7 @@
+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.
+
+WWW: http://meltin.net/hacks/emacs/
+
+-- ported by Ilya Martynov <ilya@martynov.org>
diff --git a/editors/gnuserv/pkg-message b/editors/gnuserv/pkg-message
new file mode 100644
index 000000000000..2553879a1178
--- /dev/null
+++ b/editors/gnuserv/pkg-message
@@ -0,0 +1,10 @@
+*****************************************************************************
+
+Add following code into your .emacs to enable autoloading of gnuserv lisp
+files:
+
+ (autoload 'gnuserv-start "gnuserv-compat"
+ "Allow this Emacs process to be a server for client processes."
+ t)
+
+*****************************************************************************
diff --git a/editors/gnuserv/pkg-plist b/editors/gnuserv/pkg-plist
new file mode 100644
index 000000000000..303adc252c42
--- /dev/null
+++ b/editors/gnuserv/pkg-plist
@@ -0,0 +1,17 @@
+%%EMACS_SITE_LISPDIR%%/gnuserv/devices.el
+%%EMACS_SITE_LISPDIR%%/gnuserv/devices.elc
+%%EMACS_SITE_LISPDIR%%/gnuserv/gnuserv-compat.el
+%%EMACS_SITE_LISPDIR%%/gnuserv/gnuserv-compat.elc
+%%EMACS_SITE_LISPDIR%%/gnuserv/gnuserv.el
+%%EMACS_SITE_LISPDIR%%/gnuserv/gnuserv.elc
+bin/gnuattach
+bin/gnuclient
+bin/gnudoit
+bin/gnuserv
+share/doc/gnuserv-%%EMACS_PORT_NAME%%/COPYING
+share/doc/gnuserv-%%EMACS_PORT_NAME%%/ChangeLog
+share/doc/gnuserv-%%EMACS_PORT_NAME%%/INSTALL
+share/doc/gnuserv-%%EMACS_PORT_NAME%%/README
+share/doc/gnuserv-%%EMACS_PORT_NAME%%/README.orig
+@dirrm %%EMACS_SITE_LISPDIR%%/gnuserv
+@dirrm share/doc/gnuserv-%%EMACS_PORT_NAME%%