summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2010-03-02 18:38:33 +0000
committerjmmv <jmmv@pkgsrc.org>2010-03-02 18:38:33 +0000
commit55d8eb592edaf86afdbf3d0be28a4e6ac4d5d264 (patch)
tree8c18188c189a94463864d01ad4deb83e541ebf2e
parent8c35655060a7de1ecd3c06a1bd9b40cd10107f38 (diff)
downloadpkgsrc-55d8eb592edaf86afdbf3d0be28a4e6ac4d5d264.tar.gz
Initial import of monotone-el-0.46:
This package provides the emacs modules shipped with monotone in a ready-to-use manner. These are: * monotone.el: Runs monotone from within emacs. Highlights for emacs configuration/use: (require 'monotone) (monotone-set-vc-prefix-key [f5]) ;; or "\C-xv" (setq monotone-passwd-remember t) * monotone-nav.el: A database browser for monotone databases. Using the sql option of monotone, it extacts the data into emacs which you may browse using the arrow keys. You can also mark revisons to run diffs or do other work. Highlights for emacs configuration/use: (require 'monotone-nav) (mnav-revdb-reload) (message "mnav-pick: %s" (mnav-rev-id (mnav-pick))) You may also want to install the lua-mode package if you edit config files.
-rw-r--r--devel/monotone-el/DESCR24
-rw-r--r--devel/monotone-el/Makefile34
-rw-r--r--devel/monotone-el/PLIST5
-rw-r--r--devel/monotone-el/distinfo5
4 files changed, 68 insertions, 0 deletions
diff --git a/devel/monotone-el/DESCR b/devel/monotone-el/DESCR
new file mode 100644
index 00000000000..89c6a65c91f
--- /dev/null
+++ b/devel/monotone-el/DESCR
@@ -0,0 +1,24 @@
+This package provides the emacs modules shipped with monotone in a ready-to-use
+manner. These are:
+
+* monotone.el: Runs monotone from within emacs.
+
+ Highlights for emacs configuration/use:
+
+ (require 'monotone)
+ (monotone-set-vc-prefix-key [f5]) ;; or "\C-xv"
+ (setq monotone-passwd-remember t)
+
+
+* monotone-nav.el: A database browser for monotone databases. Using the sql
+ option of monotone, it extacts the data into emacs which you may browse
+ using the arrow keys. You can also mark revisons to run diffs or do other
+ work.
+
+ Highlights for emacs configuration/use:
+
+ (require 'monotone-nav)
+ (mnav-revdb-reload)
+ (message "mnav-pick: %s" (mnav-rev-id (mnav-pick)))
+
+You may also want to install the lua-mode package if you edit config files.
diff --git a/devel/monotone-el/Makefile b/devel/monotone-el/Makefile
new file mode 100644
index 00000000000..f75d8120d8d
--- /dev/null
+++ b/devel/monotone-el/Makefile
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/03/02 18:38:33 jmmv Exp $
+#
+
+DISTNAME= monotone-0.46
+PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME:S/-/-el-/}
+CATEGORIES= devel scm
+MASTER_SITES= http://monotone.ca/downloads/0.46/
+
+MAINTAINER= jmmv@NetBSD.org
+HOMEPAGE= http://monotone.ca/
+COMMENT= Emacs packages to work with the monotone VCS
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+EL_FILES= monotone monotone-nav
+
+do-build:
+.for f in ${EL_FILES}
+ ${EMACS_BIN} --no-init-file --no-site-file --batch \
+ --directory ${WRKSRC}/contrib \
+ -f batch-byte-compile ${WRKSRC}/contrib/${f}.el
+.endfor
+
+do-install:
+ ${INSTALL_DATA_DIR} ${DESTDIR}${EMACS_LISPPREFIX}
+.for f in ${EL_FILES}
+ ${INSTALL_DATA} ${WRKSRC}/contrib/${f}.el \
+ ${DESTDIR}${EMACS_LISPPREFIX}
+ ${INSTALL_DATA} ${WRKSRC}/contrib/${f}.elc \
+ ${DESTDIR}${EMACS_LISPPREFIX}
+.endfor
+
+.include "../../editors/emacs/modules.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/monotone-el/PLIST b/devel/monotone-el/PLIST
new file mode 100644
index 00000000000..4f55e7e58c2
--- /dev/null
+++ b/devel/monotone-el/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/03/02 18:38:33 jmmv Exp $
+${EMACS_LISPPREFIX}/monotone.el
+${EMACS_LISPPREFIX}/monotone.elc
+${EMACS_LISPPREFIX}/monotone-nav.el
+${EMACS_LISPPREFIX}/monotone-nav.elc
diff --git a/devel/monotone-el/distinfo b/devel/monotone-el/distinfo
new file mode 100644
index 00000000000..494a8890228
--- /dev/null
+++ b/devel/monotone-el/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2010/03/02 18:38:33 jmmv Exp $
+
+SHA1 (monotone-0.46.tar.gz) = 2b498c30f91b741e45bc34f8cb5faf135e97976d
+RMD160 (monotone-0.46.tar.gz) = a8f09fc58d09f2144aef3d5f3a333a5cd4555c7b
+Size (monotone-0.46.tar.gz) = 4568806 bytes