mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Add emacs-w3m-emacs20, a simple interface program of w3m for Emacs20.
PR: 26130 Submitted by: MANTANI Nobutaka <nobutaka@nobutaka.com>
This commit is contained in:
parent
8f15e0febd
commit
0e84f5fea8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=40703
19 changed files with 349 additions and 0 deletions
|
@ -49,6 +49,7 @@
|
|||
SUBDIR += dillo
|
||||
SUBDIR += djvuplugin
|
||||
SUBDIR += eddie
|
||||
SUBDIR += emacs-w3m-emacs20
|
||||
SUBDIR += encompass
|
||||
SUBDIR += erwn
|
||||
SUBDIR += evg
|
||||
|
|
57
www/emacs-w3m-emacs20/Makefile
Normal file
57
www/emacs-w3m-emacs20/Makefile
Normal file
|
@ -0,0 +1,57 @@
|
|||
# New ports collection makefile for: emacs-w3m
|
||||
# Date Created: 24 Mar 2001
|
||||
# Whom: MANTANI Nobutaka <nobutaka@nobutaka.com>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= emacs-w3m
|
||||
PORTVERSION= 0.2.126
|
||||
CATEGORIES= www elisp
|
||||
MASTER_SITES= http://namazu.org/~tsuchiya/emacs-w3m/
|
||||
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
|
||||
DISTNAME= w3m_el-${PORTVERSION}
|
||||
|
||||
MAINTAINER= nobutaka@nobutaka.com
|
||||
|
||||
EMACS_PORT_NAME?= emacs20
|
||||
.if (${EMACS_PORT_NAME} == "emacs20")
|
||||
CONFIGURE_ARGS= --with-emacs=${EMACS_CMD}
|
||||
.endif
|
||||
.if (${EMACS_PORT_NAME} == "xemacs21-mule")
|
||||
CONFIGURE_ARGS= --with-xemacs=${EMACS_CMD}
|
||||
EMACS_PACKAGESDIR= lib/xemacs/site-packages
|
||||
MANIFEST= MANIFEST.w3m
|
||||
INSTALL_TARGET= install-package
|
||||
.endif
|
||||
|
||||
USE_AUTOCONF= yes
|
||||
ALL_TARGET= default
|
||||
|
||||
PLIST_SUB+= EMACS_PACKAGESDIR=${EMACS_PACKAGESDIR}
|
||||
|
||||
DOCS= README
|
||||
DOCS_JA= README.ja TIPS.ja
|
||||
|
||||
DOCSDIR= ${PREFIX}/share/doc/emacs-w3m
|
||||
DOCSDIR_JA= ${PREFIX}/share/doc/ja/emacs-w3m
|
||||
|
||||
pre-build:
|
||||
.if defined(EMACS_PACKAGESDIR)
|
||||
@${CP} ${FILESDIR}/_pkg.el ${WRKSRC}
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${MKDIR} ${DOCSDIR_JA}
|
||||
.for i in ${DOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
|
||||
.endfor
|
||||
.for i in ${DOCS_JA}
|
||||
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR_JA}
|
||||
.endfor
|
||||
.endif
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.mk>
|
1
www/emacs-w3m-emacs20/distinfo
Normal file
1
www/emacs-w3m-emacs20/distinfo
Normal file
|
@ -0,0 +1 @@
|
|||
MD5 (w3m_el-0.2.126.tar.gz) = 932f53e082ff7042c865103c17d3b6f7
|
4
www/emacs-w3m-emacs20/files/_pkg.el
Normal file
4
www/emacs-w3m-emacs20/files/_pkg.el
Normal file
|
@ -0,0 +1,4 @@
|
|||
;;;###autoload
|
||||
(package-provide 'w3m
|
||||
:version 0.2
|
||||
:type 'regular)
|
11
www/emacs-w3m-emacs20/files/patch-Makefile.in
Normal file
11
www/emacs-w3m-emacs20/files/patch-Makefile.in
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- Makefile.in.orig Sat Mar 24 03:52:13 2001
|
||||
+++ Makefile.in Sat Mar 24 03:52:22 2001
|
||||
@@ -41,7 +41,7 @@
|
||||
|
||||
install: default
|
||||
@$(SHELL) ./mkinstalldirs $(lispdir);\
|
||||
- for p in ChangeLog *.el; do\
|
||||
+ for p in *.el; do\
|
||||
echo " $(INSTALL_DATA) $$p $(lispdir)/$$p";\
|
||||
$(INSTALL_DATA) $$p $(lispdir)/$$p;\
|
||||
done;\
|
10
www/emacs-w3m-emacs20/files/patch-mime-w3m.el
Normal file
10
www/emacs-w3m-emacs20/files/patch-mime-w3m.el
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- mime-w3m.el.orig Thu Mar 15 04:58:36 2001
|
||||
+++ mime-w3m.el Thu Mar 15 04:58:43 2001
|
||||
@@ -64,7 +64,6 @@
|
||||
(cons 'progn body)))
|
||||
|
||||
(defun mime-w3m-preview-text/html (entity situation)
|
||||
- (setq mime-w3m-message-structure (mime-find-root-entity entity))
|
||||
(let ((p (point))
|
||||
(xref (mime-entity-fetch-field entity "xref")))
|
||||
;; For nnshimbun.el.
|
1
www/emacs-w3m-emacs20/pkg-comment
Normal file
1
www/emacs-w3m-emacs20/pkg-comment
Normal file
|
@ -0,0 +1 @@
|
|||
Simple front-end to w3m for emacs20
|
34
www/emacs-w3m-emacs20/pkg-descr
Normal file
34
www/emacs-w3m-emacs20/pkg-descr
Normal file
|
@ -0,0 +1,34 @@
|
|||
emacs-w3m is a simple interface program of w3m for Emacs.
|
||||
|
||||
Before using emacs-w3m, you must set following elisp to your own
|
||||
.emacs file.
|
||||
|
||||
(autoload 'w3m "w3m" "Interface for w3m on Emacs." t)
|
||||
|
||||
If you want to use emacs-w3m on Wanderlust, set following elisp to
|
||||
your own .emacs file.
|
||||
|
||||
(setq mime-setup-enable-inline-html nil)
|
||||
(eval-after-load "mime-view"
|
||||
'(progn
|
||||
(autoload 'mime-w3m-preview-text/html "mime-w3m")
|
||||
(ctree-set-calist-strictly
|
||||
'mime-preview-condition
|
||||
'((type . text)
|
||||
(subtype . html)
|
||||
(body . visible)
|
||||
(body-presentation-method . mime-w3m-preview-text/html)))
|
||||
(set-alist 'mime-view-type-subtype-score-alist
|
||||
'(text . html) 3)))
|
||||
|
||||
And if you want to use emacs-w3m on Mew, set following elisp to
|
||||
your own .mew file.
|
||||
|
||||
(require 'mew-w3m)
|
||||
(setq mew-prog-html '(mew-mime-text/html-w3m nil nil))
|
||||
|
||||
|
||||
WWW: http://namazu.org/~tsuchiya/emacs-w3m/
|
||||
|
||||
--
|
||||
MANTANI Nobutaka <nobutaka@nobutaka.com>
|
28
www/emacs-w3m-emacs20/pkg-message
Normal file
28
www/emacs-w3m-emacs20/pkg-message
Normal file
|
@ -0,0 +1,28 @@
|
|||
********************************************************************
|
||||
* Before using emacs-w3m, you must set following elisp to your own *
|
||||
* .emacs file. *
|
||||
* *
|
||||
* (autoload 'w3m "w3m" "Interface for w3m on Emacs." t) *
|
||||
* *
|
||||
* If you want to use emacs-w3m on Wanderlust, set following elisp *
|
||||
* to your own .emacs file. *
|
||||
* *
|
||||
* (setq mime-setup-enable-inline-html nil) *
|
||||
* (eval-after-load "mime-view" *
|
||||
* '(progn *
|
||||
* (autoload 'mime-w3m-preview-text/html "mime-w3m") *
|
||||
* (ctree-set-calist-strictly *
|
||||
* 'mime-preview-condition *
|
||||
* '((type . text) *
|
||||
* (subtype . html) *
|
||||
* (body . visible) *
|
||||
* (body-presentation-method . mime-w3m-preview-text/html))) *
|
||||
* (set-alist 'mime-view-type-subtype-score-alist *
|
||||
* '(text . html) 3))) *
|
||||
* *
|
||||
* And if you want to use emacs-w3m on Mew, set following elisp to *
|
||||
* your own .mew file. *
|
||||
* *
|
||||
* (require 'mew-w3m) *
|
||||
* (setq mew-prog-html '(mew-mime-text/html-w3m nil nil)) *
|
||||
********************************************************************
|
28
www/emacs-w3m-emacs20/pkg-plist
Normal file
28
www/emacs-w3m-emacs20/pkg-plist
Normal file
|
@ -0,0 +1,28 @@
|
|||
%%EMACS_LIBDIR%%/site-lisp/w3m/mew-w3m.el
|
||||
@unexec rm -f %D/%%EMACS_LIBDIR%%/site-lisp/w3m/mew-w3m.elc
|
||||
%%EMACS_LIBDIR%%/site-lisp/w3m/mime-w3m.el
|
||||
@unexec rm -f %D/%%EMACS_LIBDIR%%/site-lisp/w3m/mime-w3m.elc
|
||||
%%EMACS_LIBDIR%%/site-lisp/w3m/w3m-antenna.el
|
||||
%%EMACS_LIBDIR%%/site-lisp/w3m/w3m-antenna.elc
|
||||
%%EMACS_LIBDIR%%/site-lisp/w3m/w3m-bookmark.el
|
||||
%%EMACS_LIBDIR%%/site-lisp/w3m/w3m-bookmark.elc
|
||||
%%EMACS_LIBDIR%%/site-lisp/w3m/w3m-e21.el
|
||||
%%EMACS_LIBDIR%%/site-lisp/w3m/w3m-form.el
|
||||
%%EMACS_LIBDIR%%/site-lisp/w3m/w3m-form.elc
|
||||
%%EMACS_LIBDIR%%/site-lisp/w3m/w3m-om.el
|
||||
%%EMACS_LIBDIR%%/site-lisp/w3m/w3m-search.el
|
||||
%%EMACS_LIBDIR%%/site-lisp/w3m/w3m-search.elc
|
||||
%%EMACS_LIBDIR%%/site-lisp/w3m/w3m-time.el
|
||||
%%EMACS_LIBDIR%%/site-lisp/w3m/w3m-time.elc
|
||||
%%EMACS_LIBDIR%%/site-lisp/w3m/w3m-weather.el
|
||||
%%EMACS_LIBDIR%%/site-lisp/w3m/w3m-weather.elc
|
||||
%%EMACS_LIBDIR%%/site-lisp/w3m/w3m-xmas.el
|
||||
%%EMACS_LIBDIR%%/site-lisp/w3m/w3m.elc
|
||||
%%EMACS_LIBDIR%%/site-lisp/w3m/w3mhack.el
|
||||
%%EMACS_LIBDIR%%/site-lisp/w3m/w3m.el
|
||||
share/doc/ja/emacs-w3m/TIPS.ja
|
||||
share/doc/ja/emacs-w3m/README.ja
|
||||
share/doc/emacs-w3m/README
|
||||
@dirrm %%EMACS_LIBDIR%%/site-lisp/w3m
|
||||
@dirrm share/doc/ja/emacs-w3m
|
||||
@dirrm share/doc/emacs-w3m
|
57
www/emacs-w3m/Makefile
Normal file
57
www/emacs-w3m/Makefile
Normal file
|
@ -0,0 +1,57 @@
|
|||
# New ports collection makefile for: emacs-w3m
|
||||
# Date Created: 24 Mar 2001
|
||||
# Whom: MANTANI Nobutaka <nobutaka@nobutaka.com>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= emacs-w3m
|
||||
PORTVERSION= 0.2.126
|
||||
CATEGORIES= www elisp
|
||||
MASTER_SITES= http://namazu.org/~tsuchiya/emacs-w3m/
|
||||
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
|
||||
DISTNAME= w3m_el-${PORTVERSION}
|
||||
|
||||
MAINTAINER= nobutaka@nobutaka.com
|
||||
|
||||
EMACS_PORT_NAME?= emacs20
|
||||
.if (${EMACS_PORT_NAME} == "emacs20")
|
||||
CONFIGURE_ARGS= --with-emacs=${EMACS_CMD}
|
||||
.endif
|
||||
.if (${EMACS_PORT_NAME} == "xemacs21-mule")
|
||||
CONFIGURE_ARGS= --with-xemacs=${EMACS_CMD}
|
||||
EMACS_PACKAGESDIR= lib/xemacs/site-packages
|
||||
MANIFEST= MANIFEST.w3m
|
||||
INSTALL_TARGET= install-package
|
||||
.endif
|
||||
|
||||
USE_AUTOCONF= yes
|
||||
ALL_TARGET= default
|
||||
|
||||
PLIST_SUB+= EMACS_PACKAGESDIR=${EMACS_PACKAGESDIR}
|
||||
|
||||
DOCS= README
|
||||
DOCS_JA= README.ja TIPS.ja
|
||||
|
||||
DOCSDIR= ${PREFIX}/share/doc/emacs-w3m
|
||||
DOCSDIR_JA= ${PREFIX}/share/doc/ja/emacs-w3m
|
||||
|
||||
pre-build:
|
||||
.if defined(EMACS_PACKAGESDIR)
|
||||
@${CP} ${FILESDIR}/_pkg.el ${WRKSRC}
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${MKDIR} ${DOCSDIR_JA}
|
||||
.for i in ${DOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
|
||||
.endfor
|
||||
.for i in ${DOCS_JA}
|
||||
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR_JA}
|
||||
.endfor
|
||||
.endif
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.mk>
|
1
www/emacs-w3m/distinfo
Normal file
1
www/emacs-w3m/distinfo
Normal file
|
@ -0,0 +1 @@
|
|||
MD5 (w3m_el-0.2.126.tar.gz) = 932f53e082ff7042c865103c17d3b6f7
|
4
www/emacs-w3m/files/_pkg.el
Normal file
4
www/emacs-w3m/files/_pkg.el
Normal file
|
@ -0,0 +1,4 @@
|
|||
;;;###autoload
|
||||
(package-provide 'w3m
|
||||
:version 0.2
|
||||
:type 'regular)
|
11
www/emacs-w3m/files/patch-Makefile.in
Normal file
11
www/emacs-w3m/files/patch-Makefile.in
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- Makefile.in.orig Sat Mar 24 03:52:13 2001
|
||||
+++ Makefile.in Sat Mar 24 03:52:22 2001
|
||||
@@ -41,7 +41,7 @@
|
||||
|
||||
install: default
|
||||
@$(SHELL) ./mkinstalldirs $(lispdir);\
|
||||
- for p in ChangeLog *.el; do\
|
||||
+ for p in *.el; do\
|
||||
echo " $(INSTALL_DATA) $$p $(lispdir)/$$p";\
|
||||
$(INSTALL_DATA) $$p $(lispdir)/$$p;\
|
||||
done;\
|
10
www/emacs-w3m/files/patch-mime-w3m.el
Normal file
10
www/emacs-w3m/files/patch-mime-w3m.el
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- mime-w3m.el.orig Thu Mar 15 04:58:36 2001
|
||||
+++ mime-w3m.el Thu Mar 15 04:58:43 2001
|
||||
@@ -64,7 +64,6 @@
|
||||
(cons 'progn body)))
|
||||
|
||||
(defun mime-w3m-preview-text/html (entity situation)
|
||||
- (setq mime-w3m-message-structure (mime-find-root-entity entity))
|
||||
(let ((p (point))
|
||||
(xref (mime-entity-fetch-field entity "xref")))
|
||||
;; For nnshimbun.el.
|
1
www/emacs-w3m/pkg-comment
Normal file
1
www/emacs-w3m/pkg-comment
Normal file
|
@ -0,0 +1 @@
|
|||
Simple front-end to w3m for emacs20
|
34
www/emacs-w3m/pkg-descr
Normal file
34
www/emacs-w3m/pkg-descr
Normal file
|
@ -0,0 +1,34 @@
|
|||
emacs-w3m is a simple interface program of w3m for Emacs.
|
||||
|
||||
Before using emacs-w3m, you must set following elisp to your own
|
||||
.emacs file.
|
||||
|
||||
(autoload 'w3m "w3m" "Interface for w3m on Emacs." t)
|
||||
|
||||
If you want to use emacs-w3m on Wanderlust, set following elisp to
|
||||
your own .emacs file.
|
||||
|
||||
(setq mime-setup-enable-inline-html nil)
|
||||
(eval-after-load "mime-view"
|
||||
'(progn
|
||||
(autoload 'mime-w3m-preview-text/html "mime-w3m")
|
||||
(ctree-set-calist-strictly
|
||||
'mime-preview-condition
|
||||
'((type . text)
|
||||
(subtype . html)
|
||||
(body . visible)
|
||||
(body-presentation-method . mime-w3m-preview-text/html)))
|
||||
(set-alist 'mime-view-type-subtype-score-alist
|
||||
'(text . html) 3)))
|
||||
|
||||
And if you want to use emacs-w3m on Mew, set following elisp to
|
||||
your own .mew file.
|
||||
|
||||
(require 'mew-w3m)
|
||||
(setq mew-prog-html '(mew-mime-text/html-w3m nil nil))
|
||||
|
||||
|
||||
WWW: http://namazu.org/~tsuchiya/emacs-w3m/
|
||||
|
||||
--
|
||||
MANTANI Nobutaka <nobutaka@nobutaka.com>
|
28
www/emacs-w3m/pkg-message
Normal file
28
www/emacs-w3m/pkg-message
Normal file
|
@ -0,0 +1,28 @@
|
|||
********************************************************************
|
||||
* Before using emacs-w3m, you must set following elisp to your own *
|
||||
* .emacs file. *
|
||||
* *
|
||||
* (autoload 'w3m "w3m" "Interface for w3m on Emacs." t) *
|
||||
* *
|
||||
* If you want to use emacs-w3m on Wanderlust, set following elisp *
|
||||
* to your own .emacs file. *
|
||||
* *
|
||||
* (setq mime-setup-enable-inline-html nil) *
|
||||
* (eval-after-load "mime-view" *
|
||||
* '(progn *
|
||||
* (autoload 'mime-w3m-preview-text/html "mime-w3m") *
|
||||
* (ctree-set-calist-strictly *
|
||||
* 'mime-preview-condition *
|
||||
* '((type . text) *
|
||||
* (subtype . html) *
|
||||
* (body . visible) *
|
||||
* (body-presentation-method . mime-w3m-preview-text/html))) *
|
||||
* (set-alist 'mime-view-type-subtype-score-alist *
|
||||
* '(text . html) 3))) *
|
||||
* *
|
||||
* And if you want to use emacs-w3m on Mew, set following elisp to *
|
||||
* your own .mew file. *
|
||||
* *
|
||||
* (require 'mew-w3m) *
|
||||
* (setq mew-prog-html '(mew-mime-text/html-w3m nil nil)) *
|
||||
********************************************************************
|
28
www/emacs-w3m/pkg-plist
Normal file
28
www/emacs-w3m/pkg-plist
Normal file
|
@ -0,0 +1,28 @@
|
|||
%%EMACS_LIBDIR%%/site-lisp/w3m/mew-w3m.el
|
||||
@unexec rm -f %D/%%EMACS_LIBDIR%%/site-lisp/w3m/mew-w3m.elc
|
||||
%%EMACS_LIBDIR%%/site-lisp/w3m/mime-w3m.el
|
||||
@unexec rm -f %D/%%EMACS_LIBDIR%%/site-lisp/w3m/mime-w3m.elc
|
||||
%%EMACS_LIBDIR%%/site-lisp/w3m/w3m-antenna.el
|
||||
%%EMACS_LIBDIR%%/site-lisp/w3m/w3m-antenna.elc
|
||||
%%EMACS_LIBDIR%%/site-lisp/w3m/w3m-bookmark.el
|
||||
%%EMACS_LIBDIR%%/site-lisp/w3m/w3m-bookmark.elc
|
||||
%%EMACS_LIBDIR%%/site-lisp/w3m/w3m-e21.el
|
||||
%%EMACS_LIBDIR%%/site-lisp/w3m/w3m-form.el
|
||||
%%EMACS_LIBDIR%%/site-lisp/w3m/w3m-form.elc
|
||||
%%EMACS_LIBDIR%%/site-lisp/w3m/w3m-om.el
|
||||
%%EMACS_LIBDIR%%/site-lisp/w3m/w3m-search.el
|
||||
%%EMACS_LIBDIR%%/site-lisp/w3m/w3m-search.elc
|
||||
%%EMACS_LIBDIR%%/site-lisp/w3m/w3m-time.el
|
||||
%%EMACS_LIBDIR%%/site-lisp/w3m/w3m-time.elc
|
||||
%%EMACS_LIBDIR%%/site-lisp/w3m/w3m-weather.el
|
||||
%%EMACS_LIBDIR%%/site-lisp/w3m/w3m-weather.elc
|
||||
%%EMACS_LIBDIR%%/site-lisp/w3m/w3m-xmas.el
|
||||
%%EMACS_LIBDIR%%/site-lisp/w3m/w3m.elc
|
||||
%%EMACS_LIBDIR%%/site-lisp/w3m/w3mhack.el
|
||||
%%EMACS_LIBDIR%%/site-lisp/w3m/w3m.el
|
||||
share/doc/ja/emacs-w3m/TIPS.ja
|
||||
share/doc/ja/emacs-w3m/README.ja
|
||||
share/doc/emacs-w3m/README
|
||||
@dirrm %%EMACS_LIBDIR%%/site-lisp/w3m
|
||||
@dirrm share/doc/ja/emacs-w3m
|
||||
@dirrm share/doc/emacs-w3m
|
Loading…
Add table
Reference in a new issue