Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Feb 2001 18:27:11 +0300 (MSK)
From:      ilya@martynov.org
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/24994: New port: gnuserv-3.12.1
Message-ID:  <20010210152711.7876D572@juil.domain>

next in thread | raw e-mail | index | archive | help

>Number:         24994
>Category:       ports
>Synopsis:       New port: gnuserv-3.12.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 10 07:30:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Ilya Martynov
>Release:        FreeBSD 4.2-STABLE i386
>Organization:
AGAVA Software
>Environment:

N/A

>Description:

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://linuxcare.com.au/people/martins/hacks/emacs/

>How-To-Repeat:

N/A

>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	gnuserv-emacs20/Makefile
#	gnuserv-emacs20/distinfo
#	gnuserv-emacs20/files
#	gnuserv-emacs20/pkg-comment
#	gnuserv-emacs20/pkg-descr
#	gnuserv-emacs20/pkg-message
#	gnuserv-emacs20/pkg-plist
#	gnuserv-emacs20/files/patch-aa
#	gnuserv-emacs20/files/patch-ab
#
echo x - gnuserv-emacs20/Makefile
sed 's/^X//' >gnuserv-emacs20/Makefile << 'END-of-gnuserv-emacs20/Makefile'
X# New ports collection makefile for:   gnuserv-emacs20
X# Date created:        10 February 2001
X# Whom:                ilya
X#
X# $FreeBSD$
X#
X
XPORTNAME=	gnuserv
XPORTVERSION=	3.12.1
XCATEGORIES=	editors
XMASTER_SITES=	http://linuxcare.com.au/people/martins/hacks/emacs/src/
XPKGNAMESUFFIX=	-${EMACS_PORT_NAME}
X
XMAINTAINER=	ilya@martynov.org
X
XHAS_CONFIGURE=	yes
X
XEMACS_PORT_NAME?=emacs20
X
XCONFIGURE_ARGS=	--prefix=${PREFIX}
X
XPORTDOCDIR=	share/doc/gnuserv-${EMACS_PORT_NAME}
XMAN1=		gnuserv.1
XMLINKS=		gnuserv.1 gnuattach.1
XMLINKS+=	gnuserv.1 gnuclient.1
XMLINKS+=	gnuserv.1 gnudoit.1
XDOCS=		COPYING ChangeLog INSTALL README README.orig
XSOURCES=	devices.el gnuserv-compat.el gnuserv.el
XELCS=		${SOURCES:S/.el/.elc/g}
X
XPLIST_SUB=	EMACS_PORT_NAME=${EMACS_PORT_NAME} \
X		EMACS_SITE_LISPDIR=${EMACS_SITE_LISPDIR}
X
Xlispdir=	${PREFIX}/${EMACS_SITE_LISPDIR}/gnuserv
Xpost-install:
X	${MKDIR} ${lispdir};
X.for i in ${SOURCES} ${ELCS}
X	${INSTALL_DATA} ${WRKSRC}/${i} ${lispdir}
X.endfor
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${PREFIX}/${PORTDOCDIR}
X.for i in ${DOCS}
X	${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/${PORTDOCDIR}
X.endfor
X.endif
X	@${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.mk>
END-of-gnuserv-emacs20/Makefile
echo x - gnuserv-emacs20/distinfo
sed 's/^X//' >gnuserv-emacs20/distinfo << 'END-of-gnuserv-emacs20/distinfo'
XMD5 (gnuserv-3.12.1.tar.gz) = b8a60c799686a8a74bc7928f8e92b7d7
END-of-gnuserv-emacs20/distinfo
echo c - gnuserv-emacs20/files
mkdir -p gnuserv-emacs20/files > /dev/null 2>&1
echo x - gnuserv-emacs20/pkg-comment
sed 's/^X//' >gnuserv-emacs20/pkg-comment << 'END-of-gnuserv-emacs20/pkg-comment'
XA standalone release of gnuserv for GNU Emacs
END-of-gnuserv-emacs20/pkg-comment
echo x - gnuserv-emacs20/pkg-descr
sed 's/^X//' >gnuserv-emacs20/pkg-descr << 'END-of-gnuserv-emacs20/pkg-descr'
Xgnuserv allows you to attach to an already running Emacs.  This allows
Xexternal programs to make use of Emacs' editing capabilities.  It is
Xlike GNU Emacs' emacsserver/server.el, but has many more features.
X
XWWW: http://linuxcare.com.au/people/martins/hacks/emacs/
X
X-- ported by Ilya Martynov <ilya@martynov.org>
END-of-gnuserv-emacs20/pkg-descr
echo x - gnuserv-emacs20/pkg-message
sed 's/^X//' >gnuserv-emacs20/pkg-message << 'END-of-gnuserv-emacs20/pkg-message'
X*****************************************************************************
X
XAdd following code into your .emacs to enable autoloading of gnuserv lisp
Xfiles:
X
X    (autoload 'gnuserv-start "gnuserv-compat"
X              "Allow this Emacs process to be a server for client processes."
X	      t)
X
X*****************************************************************************
END-of-gnuserv-emacs20/pkg-message
echo x - gnuserv-emacs20/pkg-plist
sed 's/^X//' >gnuserv-emacs20/pkg-plist << 'END-of-gnuserv-emacs20/pkg-plist'
X%%EMACS_SITE_LISPDIR%%/gnuserv/devices.el
X%%EMACS_SITE_LISPDIR%%/gnuserv/devices.elc
X%%EMACS_SITE_LISPDIR%%/gnuserv/gnuserv-compat.el
X%%EMACS_SITE_LISPDIR%%/gnuserv/gnuserv-compat.elc
X%%EMACS_SITE_LISPDIR%%/gnuserv/gnuserv.el
X%%EMACS_SITE_LISPDIR%%/gnuserv/gnuserv.elc
Xbin/gnuattach
Xbin/gnuclient
Xbin/gnudoit
Xbin/gnuserv
Xshare/doc/gnuserv-%%EMACS_PORT_NAME%%/COPYING
Xshare/doc/gnuserv-%%EMACS_PORT_NAME%%/ChangeLog
Xshare/doc/gnuserv-%%EMACS_PORT_NAME%%/INSTALL
Xshare/doc/gnuserv-%%EMACS_PORT_NAME%%/README
Xshare/doc/gnuserv-%%EMACS_PORT_NAME%%/README.orig
X@dirrm %%EMACS_SITE_LISPDIR%%/gnuserv
X@dirrm share/doc/gnuserv-%%EMACS_PORT_NAME%%
END-of-gnuserv-emacs20/pkg-plist
echo x - gnuserv-emacs20/files/patch-aa
sed 's/^X//' >gnuserv-emacs20/files/patch-aa << 'END-of-gnuserv-emacs20/files/patch-aa'
X--- Makefile.in.orig	Wed Jan 31 03:23:38 2001
X+++ Makefile.in	Sat Feb 10 17:24:58 2001
X@@ -31,6 +31,7 @@
X 
X INSTALL = @INSTALL@
X INSTALL_PROGRAM = @INSTALL_PROGRAM@
X+INSTALL_SCRIPT = @INSTALL_SCRIPT@
X INSTALL_DATA = @INSTALL_DATA@
X 
X DEFS = @DEFS@
X@@ -179,10 +180,15 @@
X 	-$(SHELL) $(srcdir)/mkinstalldirs $(bindir) $(datadir) $(libdir) $(infodir) $(mandir)
X 
X install-programs: all-gnuserv
X-	@for prog in gnuserv gnuclient gnuattach gnudoit ; do \
X+	@for prog in gnuserv gnuclient ; do \
X 	  new=$(bindir)/$(binprefix)$$prog$(binsuffix); \
X           echo $(INSTALL_PROGRAM) $$prog $$new; \
X 	  $(INSTALL_PROGRAM) $$prog $$new;\
X+	done
X+	@for prog in gnuattach gnudoit ; do \
X+	  new=$(bindir)/$(binprefix)$$prog$(binsuffix); \
X+          echo $(INSTALL_SCRIPT) $$prog $$new; \
X+	  $(INSTALL_SCRIPT) $$prog $$new;\
X 	done
X 
X install-man: force
END-of-gnuserv-emacs20/files/patch-aa
echo x - gnuserv-emacs20/files/patch-ab
sed 's/^X//' >gnuserv-emacs20/files/patch-ab << 'END-of-gnuserv-emacs20/files/patch-ab'
X--- gnuserv.c~	Thu Jan 25 13:41:48 2001
X+++ gnuserv.c	Sat Feb 10 18:00:44 2001
X@@ -790,7 +790,7 @@
X 	     + strlen (server.sun_path) + 1);
X   server.sun_len = bindlen;
X #else
X-  bindlen = strlen (server.sun_path) + sizeof (server.sun_family);
X+  bindlen = strlen (server.sun_path) + 1 + sizeof (server.sun_family);
X #endif
X 
X   if (bind(ls,(struct sockaddr *)&server,bindlen) < 0)
END-of-gnuserv-emacs20/files/patch-ab
exit


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010210152711.7876D572>