mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Add new port editors/gnuserv-emacs20
PR: ports/25993 Submitted by: Ilya Martynov <ilya@martynov.org>
This commit is contained in:
parent
6f512f69a1
commit
3d07d3da69
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=48151
15 changed files with 191 additions and 0 deletions
|
@ -54,6 +54,7 @@
|
||||||
SUBDIR += glimmer
|
SUBDIR += glimmer
|
||||||
SUBDIR += gmanedit
|
SUBDIR += gmanedit
|
||||||
SUBDIR += gnotepad+
|
SUBDIR += gnotepad+
|
||||||
|
SUBDIR += gnuserv-emacs20
|
||||||
SUBDIR += gxedit
|
SUBDIR += gxedit
|
||||||
SUBDIR += hexcurse
|
SUBDIR += hexcurse
|
||||||
SUBDIR += hexedit
|
SUBDIR += hexedit
|
||||||
|
|
48
editors/gnuserv-emacs20/Makefile
Normal file
48
editors/gnuserv-emacs20/Makefile
Normal file
|
@ -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>
|
1
editors/gnuserv-emacs20/distinfo
Normal file
1
editors/gnuserv-emacs20/distinfo
Normal file
|
@ -0,0 +1 @@
|
||||||
|
MD5 (gnuserv-3.12.3.tar.gz) = 5d5a90810f353c81332c9002d4aa31eb
|
11
editors/gnuserv-emacs20/files/patch-aa
Normal file
11
editors/gnuserv-emacs20/files/patch-aa
Normal file
|
@ -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)
|
1
editors/gnuserv-emacs20/pkg-comment
Normal file
1
editors/gnuserv-emacs20/pkg-comment
Normal file
|
@ -0,0 +1 @@
|
||||||
|
A standalone release of gnuserv for GNU Emacs
|
7
editors/gnuserv-emacs20/pkg-descr
Normal file
7
editors/gnuserv-emacs20/pkg-descr
Normal file
|
@ -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>
|
10
editors/gnuserv-emacs20/pkg-message
Normal file
10
editors/gnuserv-emacs20/pkg-message
Normal file
|
@ -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)
|
||||||
|
|
||||||
|
*****************************************************************************
|
17
editors/gnuserv-emacs20/pkg-plist
Normal file
17
editors/gnuserv-emacs20/pkg-plist
Normal file
|
@ -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%%
|
48
editors/gnuserv/Makefile
Normal file
48
editors/gnuserv/Makefile
Normal file
|
@ -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>
|
1
editors/gnuserv/distinfo
Normal file
1
editors/gnuserv/distinfo
Normal file
|
@ -0,0 +1 @@
|
||||||
|
MD5 (gnuserv-3.12.3.tar.gz) = 5d5a90810f353c81332c9002d4aa31eb
|
11
editors/gnuserv/files/patch-aa
Normal file
11
editors/gnuserv/files/patch-aa
Normal file
|
@ -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)
|
1
editors/gnuserv/pkg-comment
Normal file
1
editors/gnuserv/pkg-comment
Normal file
|
@ -0,0 +1 @@
|
||||||
|
A standalone release of gnuserv for GNU Emacs
|
7
editors/gnuserv/pkg-descr
Normal file
7
editors/gnuserv/pkg-descr
Normal file
|
@ -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>
|
10
editors/gnuserv/pkg-message
Normal file
10
editors/gnuserv/pkg-message
Normal file
|
@ -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)
|
||||||
|
|
||||||
|
*****************************************************************************
|
17
editors/gnuserv/pkg-plist
Normal file
17
editors/gnuserv/pkg-plist
Normal file
|
@ -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%%
|
Loading…
Add table
Reference in a new issue