Index: head/editors/mode-info/files/ELISP_CFG =================================================================== --- head/editors/mode-info/files/ELISP_CFG (revision 65529) +++ head/editors/mode-info/files/ELISP_CFG (nonexistent) @@ -1,3 +0,0 @@ -(require 'info) -(info-initialize) -(setq elisp-info-list '("elisp-ja")) Property changes on: head/editors/mode-info/files/ELISP_CFG ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.1 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/editors/mode-info/files/elisp-info-setup.el =================================================================== --- head/editors/mode-info/files/elisp-info-setup.el (revision 65529) +++ head/editors/mode-info/files/elisp-info-setup.el (nonexistent) @@ -1,11 +0,0 @@ -;; Setup for elisp-info.el -(require 'elisp-info) -(eval-after-load "help.el" - (progn - (define-key help-map "f" 'elisp-info-describe-function) - (define-key help-map "d" 'elisp-info-describe-function) - (define-key help-map "D" 'describe-function) - (define-key help-map "v" 'elisp-info-describe-variable) - (define-key help-map "V" 'describe-variable) - (define-key help-mode-map "i" 'elisp-info-help-to-info))) -(provide 'elisp-info-setup) \ No newline at end of file Property changes on: head/editors/mode-info/files/elisp-info-setup.el ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.1 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/editors/mode-info/Makefile =================================================================== --- head/editors/mode-info/Makefile (revision 65529) +++ head/editors/mode-info/Makefile (revision 65530) @@ -1,40 +1,62 @@ # New ports collection makefile for: elisp-info.el # Date Created: 21 Jan 2002 # Whom: Yoichi NAKAYAMA # # $FreeBSD$ # -PORTNAME= elisp-info -PORTVERSION= 2.11 -CATEGORIES= japanese elisp +PORTNAME= mode-info +PORTVERSION= 0.1.3 +CATEGORIES= elisp MASTER_SITES= http://namazu.org/~tsuchiya/elisp/ -DISTNAME= ${PORTNAME} -EXTRACT_SUFX= .el MAINTAINER= yoichi@FreeBSD.org -BUILD_DEPENDS= ${LOCALBASE}/info/elisp-ja:${PORTSDIR}/japanese/elisp-manual -RUN_DEPENDS= ${LOCALBASE}/info/elisp-ja:${PORTSDIR}/japanese/elisp-manual +MI_INDEX+= mi-emacs.idx +MI_WITH_ELISP?= yes +MI_ELISP_LANG?= en -NO_WRKSUBDIR= yes -EXTRACT_CMD= ${CP} -EXTRACT_BEFORE_ARGS= -p -EXTRACT_AFTER_ARGS= ./ +.if (${MI_WITH_ELISP} == "yes") +.if (${MI_ELISP_LANG} == "en") +BUILD_DEPENDS+= ${LOCALBASE}/info/elisp:${PORTSDIR}/lang/elisp-manual +RUN_DEPENDS+= ${LOCALBASE}/info/elisp:${PORTSDIR}/lang/elisp-manual +.elif (${MI_ELISP_LANG} == "ja") +BUILD_DEPENDS+= ${LOCALBASE}/info/elisp-ja:${PORTSDIR}/japanese/elisp-manual +RUN_DEPENDS+= ${LOCALBASE}/info/elisp-ja:${PORTSDIR}/japanese/elisp-manual +.else +.error MI_ELISP_LANG should be "en" or "ja". +.endif +MI_INDEX+= mi-elisp.idx +PLIST_SUB+= MI_WITH_ELISP="" +.else +PLIST_SUB+= MI_WITH_ELISP="@comment " +.endif EMACS_PORT_NAME?= emacs21 EMACS_NO_RUN_DEPENDS= yes LISPDIR?= ${PREFIX}/${EMACS_SITE_LISPDIR}/${PORTNAME} +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --with-emacs=${EMACS_CMD} \ + --with-lispdir=${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/mode-info +ALL_TARGET= default index +#INSTALL_TARGET= install install-index -post-extract: - ${CP} ${FILESDIR}/ELISP_CFG ${WRKDIR} -do-build: - (cd ${WRKDIR}; \ - ${EMACS_CMD} -batch -l ./ELISP_CFG -l ./${PORTNAME}.el -f ${PORTNAME}-make-index) -do-install: - ${MKDIR} ${LISPDIR} - ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.el ${LISPDIR} - ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}-index.el ${LISPDIR} - ${INSTALL_DATA} ${FILESDIR}/${PORTNAME}-setup.el ${LISPDIR} - +post-configure: +.if (${MI_ELISP_LANG} == "en") + ${ECHO_CMD} "(setq mode-info-elisp-titles (list \"elisp\"))" >> ${WRKSRC}/elisp-comp +.elif (${MI_ELISP_LANG} == "ja") + ${ECHO_CMD} "(setq mode-info-elisp-titles (list \"elisp-ja\"))" >> ${WRKSRC}/elisp-comp +.endif +post-install: +.for i in ${MI_INDEX} + ${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/mode-info/ +.endfor + ${RM} ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/mode-info/ChangeLog +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} +.for i in README README.ja ChangeLog + ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} +.endfor +.endif + @${CAT} ${PKGMESSAGE} .include Property changes on: head/editors/mode-info/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property Index: head/editors/mode-info/distinfo =================================================================== --- head/editors/mode-info/distinfo (revision 65529) +++ head/editors/mode-info/distinfo (revision 65530) @@ -1 +1 @@ -MD5 (elisp-info.el) = 8f1d82402b087992586186597a88fe4c +MD5 (mode-info-0.1.3.tar.gz) = 114c3447e9af3a0003ca2fa06c3b06a0 Property changes on: head/editors/mode-info/distinfo ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property Index: head/editors/mode-info/pkg-comment =================================================================== --- head/editors/mode-info/pkg-comment (revision 65529) +++ head/editors/mode-info/pkg-comment (revision 65530) @@ -1 +1 @@ -Functions to refer Emacs-Lisp Reference Manual +Functions to refer Manuals on Emacsen with describe-* like interface Property changes on: head/editors/mode-info/pkg-comment ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property Index: head/editors/mode-info/pkg-descr =================================================================== --- head/editors/mode-info/pkg-descr (revision 65529) +++ head/editors/mode-info/pkg-descr (revision 65530) @@ -1,9 +1,4 @@ -This package provide functions for Emacs with which you can -find description of function or variable from Emacs-Lisp -Reference Manual. If you put (require 'elisp-info-setup) -in ~/.emacs then following key binds are provided. +This package provide functions to refer Manuals (info files) +on Emacs with similar interface to describe-{function,variable}. -C-h f (C-h d) : elisp-info-describe-function -C-h D : describe-function -C-h v : elisp-info-describe-variable -C-h V : describe-variable +WWW: http://www.namazu.org/~tsuchiya/elisp/mode-info/ (Japanese) Property changes on: head/editors/mode-info/pkg-descr ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property Index: head/editors/mode-info/pkg-message =================================================================== --- head/editors/mode-info/pkg-message (nonexistent) +++ head/editors/mode-info/pkg-message (revision 65530) @@ -0,0 +1,8 @@ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; You should add following lines into your ~/.emacs +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +(require 'mi-config) +(global-set-key "\C-hf" 'mode-info-describe-function) +(global-set-key "\C-hv" 'mode-info-describe-variable) +(global-set-key "\M-." 'mode-info-find-tag) +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Property changes on: head/editors/mode-info/pkg-message ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/editors/mode-info/pkg-plist =================================================================== --- head/editors/mode-info/pkg-plist (revision 65529) +++ head/editors/mode-info/pkg-plist (revision 65530) @@ -1,4 +1,35 @@ -%%EMACS_SITE_LISPDIR%%/elisp-info/elisp-info.el -%%EMACS_SITE_LISPDIR%%/elisp-info/elisp-info-index.el -%%EMACS_SITE_LISPDIR%%/elisp-info/elisp-info-setup.el -@dirrm %%EMACS_SITE_LISPDIR%%/elisp-info +%%EMACS_VERSION_SITE_LISPDIR%%/mode-info/mi-config.el +%%EMACS_VERSION_SITE_LISPDIR%%/mode-info/mi-config.elc +%%EMACS_VERSION_SITE_LISPDIR%%/mode-info/mi-elisp.el +%%EMACS_VERSION_SITE_LISPDIR%%/mode-info/mi-elisp.elc +%%EMACS_VERSION_SITE_LISPDIR%%/mode-info/mi-emacs.el +%%EMACS_VERSION_SITE_LISPDIR%%/mode-info/mi-emacs.elc +%%EMACS_VERSION_SITE_LISPDIR%%/mode-info/mi-fontify.el +%%EMACS_VERSION_SITE_LISPDIR%%/mode-info/mi-fontify.elc +%%EMACS_VERSION_SITE_LISPDIR%%/mode-info/mi-gauche.el +%%EMACS_VERSION_SITE_LISPDIR%%/mode-info/mi-gauche.elc +%%EMACS_VERSION_SITE_LISPDIR%%/mode-info/mi-guile.el +%%EMACS_VERSION_SITE_LISPDIR%%/mode-info/mi-guile.elc +%%EMACS_VERSION_SITE_LISPDIR%%/mode-info/mi-index.el +%%EMACS_VERSION_SITE_LISPDIR%%/mode-info/mi-index.elc +%%EMACS_VERSION_SITE_LISPDIR%%/mode-info/mi-libc.el +%%EMACS_VERSION_SITE_LISPDIR%%/mode-info/mi-libc.elc +%%EMACS_VERSION_SITE_LISPDIR%%/mode-info/mi-octave.el +%%EMACS_VERSION_SITE_LISPDIR%%/mode-info/mi-octave.elc +%%EMACS_VERSION_SITE_LISPDIR%%/mode-info/mi-perl.el +%%EMACS_VERSION_SITE_LISPDIR%%/mode-info/mi-perl.elc +%%EMACS_VERSION_SITE_LISPDIR%%/mode-info/mi-ruby.el +%%EMACS_VERSION_SITE_LISPDIR%%/mode-info/mi-ruby.elc +%%EMACS_VERSION_SITE_LISPDIR%%/mode-info/mi-scheme.el +%%EMACS_VERSION_SITE_LISPDIR%%/mode-info/mi-scheme.elc +%%EMACS_VERSION_SITE_LISPDIR%%/mode-info/mi-util.el +%%EMACS_VERSION_SITE_LISPDIR%%/mode-info/mi-util.elc +%%EMACS_VERSION_SITE_LISPDIR%%/mode-info/mode-info.el +%%EMACS_VERSION_SITE_LISPDIR%%/mode-info/mode-info.elc +%%EMACS_VERSION_SITE_LISPDIR%%/mode-info/mi-emacs.idx +%%MI_WITH_ELISP%%%%EMACS_VERSION_SITE_LISPDIR%%/mode-info/mi-elisp.idx +@dirrm %%EMACS_VERSION_SITE_LISPDIR%%/mode-info +%%PORTDOCS%%share/doc/mode-info/ChangeLog +%%PORTDOCS%%share/doc/mode-info/README +%%PORTDOCS%%share/doc/mode-info/README.ja +%%PORTDOCS%%@dirrm share/doc/mode-info Property changes on: head/editors/mode-info/pkg-plist ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property