aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorokazaki <okazaki@FreeBSD.org>2001-04-02 09:04:50 +0800
committerokazaki <okazaki@FreeBSD.org>2001-04-02 09:04:50 +0800
commit158d070897abf8585105828768f63a3a983e2627 (patch)
treeb7208d2a587bf6bb08a6cb799e649a7c0bee933d /www
parentdf71c8c8def7da5d99ed226370539dd37537108a (diff)
downloadfreebsd-ports-gnome-158d070897abf8585105828768f63a3a983e2627.tar.gz
freebsd-ports-gnome-158d070897abf8585105828768f63a3a983e2627.tar.zst
freebsd-ports-gnome-158d070897abf8585105828768f63a3a983e2627.zip
Add emacs-w3m-emacs20, a simple interface program of w3m for Emacs20.
PR: 26130 Submitted by: MANTANI Nobutaka <nobutaka@nobutaka.com>
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/emacs-w3m-emacs20/Makefile57
-rw-r--r--www/emacs-w3m-emacs20/distinfo1
-rw-r--r--www/emacs-w3m-emacs20/files/_pkg.el4
-rw-r--r--www/emacs-w3m-emacs20/files/patch-Makefile.in11
-rw-r--r--www/emacs-w3m-emacs20/files/patch-mime-w3m.el10
-rw-r--r--www/emacs-w3m-emacs20/pkg-comment1
-rw-r--r--www/emacs-w3m-emacs20/pkg-descr34
-rw-r--r--www/emacs-w3m-emacs20/pkg-message28
-rw-r--r--www/emacs-w3m-emacs20/pkg-plist28
-rw-r--r--www/emacs-w3m/Makefile57
-rw-r--r--www/emacs-w3m/distinfo1
-rw-r--r--www/emacs-w3m/files/_pkg.el4
-rw-r--r--www/emacs-w3m/files/patch-Makefile.in11
-rw-r--r--www/emacs-w3m/files/patch-mime-w3m.el10
-rw-r--r--www/emacs-w3m/pkg-comment1
-rw-r--r--www/emacs-w3m/pkg-descr34
-rw-r--r--www/emacs-w3m/pkg-message28
-rw-r--r--www/emacs-w3m/pkg-plist28
19 files changed, 349 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 19779590fbdb..550c9fb129db 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -49,6 +49,7 @@
SUBDIR += dillo
SUBDIR += djvuplugin
SUBDIR += eddie
+ SUBDIR += emacs-w3m-emacs20
SUBDIR += encompass
SUBDIR += erwn
SUBDIR += evg
diff --git a/www/emacs-w3m-emacs20/Makefile b/www/emacs-w3m-emacs20/Makefile
new file mode 100644
index 000000000000..e05d48d24166
--- /dev/null
+++ b/www/emacs-w3m-emacs20/Makefile
@@ -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>
diff --git a/www/emacs-w3m-emacs20/distinfo b/www/emacs-w3m-emacs20/distinfo
new file mode 100644
index 000000000000..30ac28e536f7
--- /dev/null
+++ b/www/emacs-w3m-emacs20/distinfo
@@ -0,0 +1 @@
+MD5 (w3m_el-0.2.126.tar.gz) = 932f53e082ff7042c865103c17d3b6f7
diff --git a/www/emacs-w3m-emacs20/files/_pkg.el b/www/emacs-w3m-emacs20/files/_pkg.el
new file mode 100644
index 000000000000..772e07229337
--- /dev/null
+++ b/www/emacs-w3m-emacs20/files/_pkg.el
@@ -0,0 +1,4 @@
+;;;###autoload
+(package-provide 'w3m
+ :version 0.2
+ :type 'regular)
diff --git a/www/emacs-w3m-emacs20/files/patch-Makefile.in b/www/emacs-w3m-emacs20/files/patch-Makefile.in
new file mode 100644
index 000000000000..c83dad7b004d
--- /dev/null
+++ b/www/emacs-w3m-emacs20/files/patch-Makefile.in
@@ -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;\
diff --git a/www/emacs-w3m-emacs20/files/patch-mime-w3m.el b/www/emacs-w3m-emacs20/files/patch-mime-w3m.el
new file mode 100644
index 000000000000..54b3f71b1a1e
--- /dev/null
+++ b/www/emacs-w3m-emacs20/files/patch-mime-w3m.el
@@ -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.
diff --git a/www/emacs-w3m-emacs20/pkg-comment b/www/emacs-w3m-emacs20/pkg-comment
new file mode 100644
index 000000000000..2d746a12268b
--- /dev/null
+++ b/www/emacs-w3m-emacs20/pkg-comment
@@ -0,0 +1 @@
+Simple front-end to w3m for emacs20
diff --git a/www/emacs-w3m-emacs20/pkg-descr b/www/emacs-w3m-emacs20/pkg-descr
new file mode 100644
index 000000000000..6e5d34aa38f6
--- /dev/null
+++ b/www/emacs-w3m-emacs20/pkg-descr
@@ -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>
diff --git a/www/emacs-w3m-emacs20/pkg-message b/www/emacs-w3m-emacs20/pkg-message
new file mode 100644
index 000000000000..b8846b7fd934
--- /dev/null
+++ b/www/emacs-w3m-emacs20/pkg-message
@@ -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)) *
+********************************************************************
diff --git a/www/emacs-w3m-emacs20/pkg-plist b/www/emacs-w3m-emacs20/pkg-plist
new file mode 100644
index 000000000000..0a5bed2c1d76
--- /dev/null
+++ b/www/emacs-w3m-emacs20/pkg-plist
@@ -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
diff --git a/www/emacs-w3m/Makefile b/www/emacs-w3m/Makefile
new file mode 100644
index 000000000000..e05d48d24166
--- /dev/null
+++ b/www/emacs-w3m/Makefile
@@ -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>
diff --git a/www/emacs-w3m/distinfo b/www/emacs-w3m/distinfo
new file mode 100644
index 000000000000..30ac28e536f7
--- /dev/null
+++ b/www/emacs-w3m/distinfo
@@ -0,0 +1 @@
+MD5 (w3m_el-0.2.126.tar.gz) = 932f53e082ff7042c865103c17d3b6f7
diff --git a/www/emacs-w3m/files/_pkg.el b/www/emacs-w3m/files/_pkg.el
new file mode 100644
index 000000000000..772e07229337
--- /dev/null
+++ b/www/emacs-w3m/files/_pkg.el
@@ -0,0 +1,4 @@
+;;;###autoload
+(package-provide 'w3m
+ :version 0.2
+ :type 'regular)
diff --git a/www/emacs-w3m/files/patch-Makefile.in b/www/emacs-w3m/files/patch-Makefile.in
new file mode 100644
index 000000000000..c83dad7b004d
--- /dev/null
+++ b/www/emacs-w3m/files/patch-Makefile.in
@@ -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;\
diff --git a/www/emacs-w3m/files/patch-mime-w3m.el b/www/emacs-w3m/files/patch-mime-w3m.el
new file mode 100644
index 000000000000..54b3f71b1a1e
--- /dev/null
+++ b/www/emacs-w3m/files/patch-mime-w3m.el
@@ -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.
diff --git a/www/emacs-w3m/pkg-comment b/www/emacs-w3m/pkg-comment
new file mode 100644
index 000000000000..2d746a12268b
--- /dev/null
+++ b/www/emacs-w3m/pkg-comment
@@ -0,0 +1 @@
+Simple front-end to w3m for emacs20
diff --git a/www/emacs-w3m/pkg-descr b/www/emacs-w3m/pkg-descr
new file mode 100644
index 000000000000..6e5d34aa38f6
--- /dev/null
+++ b/www/emacs-w3m/pkg-descr
@@ -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>
diff --git a/www/emacs-w3m/pkg-message b/www/emacs-w3m/pkg-message
new file mode 100644
index 000000000000..b8846b7fd934
--- /dev/null
+++ b/www/emacs-w3m/pkg-message
@@ -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)) *
+********************************************************************
diff --git a/www/emacs-w3m/pkg-plist b/www/emacs-w3m/pkg-plist
new file mode 100644
index 000000000000..0a5bed2c1d76
--- /dev/null
+++ b/www/emacs-w3m/pkg-plist
@@ -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