Subject: New Emacs elisp packages
To: None <pkgsrc-users@pkgsrc.org>
From: Cherry G.Mathew <cherry@zyx.in>
List: pkgsrc-users
Date: 03/08/2007 23:53:00
Hi,

1) cscope.el
2) tramp.el
3) updates to emacs-packages.

PS: I can't import these myself, as I don't have CVS commit ATM.

Cheers,

Cherry




diff -urN emacs-cscope.orig/DESCR emacs-cscope/DESCR
--- emacs-cscope.orig/DESCR	1970-01-01 01:00:00.000000000 +0100
+++ emacs-cscope/DESCR	2007-03-08 23:23:13.000000000 +0000
@@ -0,0 +1 @@
+cscope.el is an emacs frontend for cscope, similar to etags.
diff -urN emacs-cscope.orig/Makefile emacs-cscope/Makefile
--- emacs-cscope.orig/Makefile	1970-01-01 01:00:00.000000000 +0100
+++ emacs-cscope/Makefile	2007-03-08 23:35:52.000000000 +0000
@@ -0,0 +1,37 @@
+# $NetBSD: Makefile,v 1.19 2007/02/19 09:22:30 jnemeth Exp $
+
+DISTNAME=	cscope
+PKGNAME=	emacs-cscope-0.1
+CATEGORIES=	devel editors
+MASTER_SITES=	http://www.emacswiki.org/cgi-bin/wiki/download/
+EXTRACT_SUFX=	.el
+
+
+MAINTAINER=	pkgsrc-users@NetBSD.org
+HOMEPAGE=	http://www.emacswiki.org/cgi-bin/wiki/cscope.el
+COMMENT=	emacs interface to cscope
+
+WRKSRC=		${WRKDIR}
+
+DEPENDS+=	cscope>=15.6:../../devel/cscope
+
+
+NO_CONFIGURE=	yes
+SRCS=		cscope.el
+
+PLIST_SUBST+=	SITE_LISP=${SITE_LISP:Q}
+
+do-build:
+	cd ${WRKSRC}; \
+		${EMACS_BIN} --no-init-file --no-site-file -batch \
+		-l cscope.el -f batch-byte-compile cscope.el; \
+
+do-install:
+	${INSTALL_DATA_DIR} ${EMACS_LISPPREFIX}/cscope
+	cd ${WRKSRC}; \
+		${INSTALL_DATA} ${SRCS} ${SRCS:.el=.elc} \
+			${EMACS_LISPPREFIX}/cscope
+
+
+.include "../../mk/emacs.mk"
+.include "../../mk/bsd.pkg.mk"
diff -urN emacs-cscope.orig/PLIST emacs-cscope/PLIST
--- emacs-cscope.orig/PLIST	1970-01-01 01:00:00.000000000 +0100
+++ emacs-cscope/PLIST	2007-03-08 23:26:25.000000000 +0000
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.9 2007/02/19 09:22:30 jnemeth Exp $
+${EMACS_LISPPREFIX}/cscope/cscope.el
+${EMACS_LISPPREFIX}/cscope/cscope.elc
+@dirrm ${EMACS_LISPPREFIX}/cscope
diff -urN emacs-cscope.orig/distinfo emacs-cscope/distinfo
--- emacs-cscope.orig/distinfo	1970-01-01 01:00:00.000000000 +0100
+++ emacs-cscope/distinfo	2007-03-07 05:44:18.000000000 +0000
@@ -0,0 +1,5 @@
+$NetBSD$
+
+SHA1 (cscope.el) = db0488e8da4c3cd161cebf1d0aa5ec924166028c
+RMD160 (cscope.el) = 1b7d1350036472047377486123803483b663080b
+Size (cscope.el) = 42161 bytes


diff -urN emacs-tramp.orig/DESCR emacs-tramp/DESCR
--- emacs-tramp.orig/DESCR	1970-01-01 01:00:00.000000000 +0100
+++ emacs-tramp/DESCR	2007-03-08 21:04:33.000000000 +0000
@@ -0,0 +1,7 @@
+tramp stands for `Transparent Remote (file) Access, Multiple
+Protocol'. This package provides remote file editing, similar to
+Ange-FTP. 
+
+The difference is that Ange-FTP uses FTP to transfer files between the
+local and the remote host, whereas tramp uses a combination of rsh and
+rcp or other work-alike programs, such as ssh/scp.
diff -urN emacs-tramp.orig/Makefile emacs-tramp/Makefile
--- emacs-tramp.orig/Makefile	1970-01-01 01:00:00.000000000 +0100
+++ emacs-tramp/Makefile	2007-03-08 23:07:02.000000000 +0000
@@ -0,0 +1,34 @@
+# $NetBSD$
+#
+
+DISTNAME=		tramp-2.1.8
+PKGNAME=		${EMACS_PKGNAME_PREFIX}${DISTNAME}
+CATEGORIES=		security
+MASTER_SITES=		ftp://ftp.gnu.org/gnu/tramp/
+
+MAINTAINER=		pkgsrc-users@NetBSD.org
+HOMEPAGE=		ftp://ftp.gnu.org/gnu/tramp/
+COMMENT=		Remote file editing package for GNU Emacs
+
+USE_TOOLS+=		makeinfo gmake autoconf
+AUTOMAKE_OVERRIDE=	yes
+GNU_CONFIGURE=		yes
+USE_LANGUAGES=		# none
+
+# tramp is included in xemacs-packages
+EMACS_VERSIONS_ACCEPTED=	emacs21 emacs21nox emacs20
+CONFLICTS+=		xemacs-packages-[0-9]*
+
+USE_PKGLOCALEDIR=	yes
+INFO_FILES=		yes# PLIST
+LISPDIR=		${EMACS_LISPPREFIX}/tramp
+#INSTALLATION_DIRS=	${EMACS_INFOPREFIX}
+
+.include "../../mk/emacs.mk"
+
+CONFIGURE_ARGS+=	--with-contrib
+
+pre-configure:
+	cd ${WRKSRC}; autoconf
+
+.include "../../mk/bsd.pkg.mk"
diff -urN emacs-tramp.orig/PLIST emacs-tramp/PLIST
--- emacs-tramp.orig/PLIST	1970-01-01 01:00:00.000000000 +0100
+++ emacs-tramp/PLIST	2007-03-08 22:58:21.000000000 +0000
@@ -0,0 +1,22 @@
+@comment $NetBSD$
+info/tramp
+share/emacs/site-lisp/password.el
+share/emacs/site-lisp/password.elc
+share/emacs/site-lisp/tramp-cache.el
+share/emacs/site-lisp/tramp-cache.elc
+share/emacs/site-lisp/tramp-fish.el
+share/emacs/site-lisp/tramp-fish.elc
+share/emacs/site-lisp/tramp-ftp.el
+share/emacs/site-lisp/tramp-ftp.elc
+share/emacs/site-lisp/tramp-smb.el
+share/emacs/site-lisp/tramp-smb.elc
+share/emacs/site-lisp/tramp-util.el
+share/emacs/site-lisp/tramp-util.elc
+share/emacs/site-lisp/tramp-uu.el
+share/emacs/site-lisp/tramp-uu.elc
+share/emacs/site-lisp/tramp-vc.el
+share/emacs/site-lisp/tramp-vc.elc
+share/emacs/site-lisp/tramp.el
+share/emacs/site-lisp/tramp.elc
+share/emacs/site-lisp/trampver.el
+share/emacs/site-lisp/trampver.elc
diff -urN emacs-tramp.orig/distinfo emacs-tramp/distinfo
--- emacs-tramp.orig/distinfo	1970-01-01 01:00:00.000000000 +0100
+++ emacs-tramp/distinfo	2007-03-08 21:59:32.000000000 +0000
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (tramp-2.1.8.tar.gz) = 75b611a906fe1f394fd813f1c6d2b56cf91e6e9a
+RMD160 (tramp-2.1.8.tar.gz) = a4e78833c0200caf8462cfb7ee4b6d6c3a8e2620
+Size (tramp-2.1.8.tar.gz) = 312034 bytes
+SHA1 (patch-a) = c4cf87ee3cf7f85f81b4d0188273ed1f1e0a5500
diff -urN emacs-tramp.orig/patches/patch-a emacs-tramp/patches/patch-a
--- emacs-tramp.orig/patches/patch-a	1970-01-01 01:00:00.000000000 +0100
+++ emacs-tramp/patches/patch-a	2007-03-08 21:59:25.000000000 +0000
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- texi/Makefile.in.orig	2006-03-14 21:27:20.000000000 +0000
++++ texi/Makefile.in
+@@ -62,7 +62,7 @@ NONGNU		= ../../tramp-web
+ .PHONY: all install clean distclean tramp dvi html savannah \
+ 	$(INSTALL_FILES) $(localinfodir)/dir $(DESTDIR)$(infodir)/dir
+ 
+-all: tramp dvi html
++all: tramp #dvi html
+ 
+ tramp: $(INFO_FILES) $(localinfodir)/dir
+ 




Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/editors/emacs-packages/Makefile,v
retrieving revision 1.20
diff -u -r1.20 Makefile
--- Makefile	9 Oct 2006 01:07:07 -0000	1.20
+++ Makefile	8 Mar 2007 23:45:33 -0000
@@ -23,6 +23,7 @@
 .endif
 DEPENDS+=	${EMACS_PKGNAME_PREFIX}eieio-[0-9]*:../../lang/eieio
 DEPENDS+=	${EMACS_PKGNAME_PREFIX}elib-[0-9]*:../../devel/elib
+DEPENDS+=       ${EMACS_PKGNAME_PREFIX}emacs-cscope-[0-9]*:../../devel/emacs-cscope
 DEPENDS+=	${EMACS_PKGNAME_PREFIX}emacs-dict-client-[0-9]*:../../textproc/emacs-dict-client
 DEPENDS+=	${EMACS_PKGNAME_PREFIX}emacs-ilisp-[0-9]*:../../devel/emacs-ilisp
 DEPENDS+=	${EMACS_PKGNAME_PREFIX}emacs-w3m-[0-9]*:../../www/emacs-w3m
@@ -59,6 +60,7 @@
 DEPENDS+=	${EMACS_PKGNAME_PREFIX}speedbar-[0-9]*:../../editors/speedbar
 DEPENDS+=	${EMACS_PKGNAME_PREFIX}tamago-[0-9]*:../../editors/tamago
 DEPENDS+=	${EMACS_PKGNAME_PREFIX}tc-[0-9]*:../../inputmethod/tc
+DEPENDS+=       ${EMACS_PKGNAME_PREFIX}tramp-[0-9]*:../../security/emacs-tramp
 DEPENDS+=	${EMACS_PKGNAME_PREFIX}verilog-mode-[0-9]*:../../cad/verilog-mode
 DEPENDS+=	${EMACS_PKGNAME_PREFIX}vm-[0-9]*:../../mail/vm
 DEPENDS+=	${EMACS_PKGNAME_PREFIX}w3-[0-9]*:../../www/w3
@@ -66,6 +68,8 @@
 DEPENDS+=	${EMACS_PKGNAME_PREFIX}zenicb-[0-9]*:../../chat/zenicb
 DEPENDS+=	${EMACS_PKGNAME_PREFIX}zenirc-[0-9]*:../../chat/zenirc
 
+
+
 EXTRACT_ONLY=	# empty
 NO_CHECKSUM=	yes
 NO_CONFIGURE=	yes