aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
Diffstat (limited to 'editors')
-rw-r--r--editors/wemi-emacs20/Makefile78
-rw-r--r--editors/wemi-emacs20/pkg-comment1
-rw-r--r--editors/wemi-emacs20/pkg-descr41
-rw-r--r--editors/wemi-emacs20/pkg-plist40
4 files changed, 160 insertions, 0 deletions
diff --git a/editors/wemi-emacs20/Makefile b/editors/wemi-emacs20/Makefile
new file mode 100644
index 000000000000..efaf95e583a3
--- /dev/null
+++ b/editors/wemi-emacs20/Makefile
@@ -0,0 +1,78 @@
+# New ports collection makefile for: wemi for emacs20
+# Version required: 1.8.x
+# Date created: 23 September 1998
+# Whom: Shigeyuki FUKUSHIMA <shige@kuis.kyoto-u.ac.jp>
+#
+# $Id$
+#
+
+DISTNAME= wemi-${WEMI_VER}
+CATEGORIES= editors elisps
+MASTER_SITES= ftp://ftp.jaist.ac.jp/pub/GNU/elisp/semi/semi-stable/
+
+MAINTAINER?= shige@kuis.kyoto-u.ac.jp
+
+# distfile version
+FLIM_VER= 1.9.2
+WEMI_VER= 1.8.6
+WEMIDOCDIR= share/doc/semi
+
+# emacs20
+EMACS_NAME= emacs
+EMACS_PORT= emacs20
+EMACS_VER= 20.3
+EMACS_LIBDIR= share/${EMACS_NAME}
+
+# target name for make build
+ALL_TARGET?= elc
+
+PKGNAME= wemi-${EMACS_PORT}-${WEMI_VER}
+EMACS_CMD= ${PREFIX}/bin/${EMACS_NAME}-${EMACS_VER}
+BUILD_DEPENDS= ${EMACS_CMD}:${PORTSDIR}/editors/${EMACS_PORT}
+RUN_DEPENDS= ${EMACS_CMD}:${PORTSDIR}/editors/${EMACS_PORT}
+SCRIPTS_ENV= EMACS_LIBDIR=${EMACS_LIBDIR} EMACS_VER=${EMACS_VER}
+PLIST_SUB= EMACS_LIBDIR=${EMACS_LIBDIR} EMACS_VER=${EMACS_VER} \
+ WEMIDOCDIR=${WEMIDOCDIR}
+MAKE_FLAGS= EMACS=${EMACS_CMD}
+
+# depends on apel
+BUILD_DEPENDS+= ${PREFIX}/${EMACS_LIBDIR}/${EMACS_VER}/site-lisp/emu/emu.el:${PORTSDIR}/editors/apel-${EMACS_PORT}
+RUN_DEPENDS+= ${PREFIX}/${EMACS_LIBDIR}/${EMACS_VER}/site-lisp/emu/emu.el:${PORTSDIR}/editors/apel-${EMACS_PORT}
+# depends on flim
+BUILD_DEPENDS+= ${PKG_DBDIR}/flim-${EMACS_PORT}-${FLIM_VER}:${PORTSDIR}/editors/flim-${EMACS_PORT}
+RUN_DEPENDS+= ${PKG_DBDIR}/flim-${EMACS_PORT}-${FLIM_VER}:${PORTSDIR}/editors/flim-${EMACS_PORT}
+
+# info files JIS to EUC
+BUILD_DEPENDS+= nkf:${PORTSDIR}/japanese/nkf
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 300006
+MAKEINFO= makeinfo --no-split --force
+.else
+MAKEINFO= makeinfo --no-split
+.endif
+
+post-build:
+ @(cd ${WRKSRC} ; \
+ for i in mime-ui-en.texi mime-ui-ja.texi; do \
+ mv $${i} $${i}.jis ; \
+ cat $${i}.jis | nkf -e > $${i} ; \
+ echo "===> Please ignore the following errors." ; \
+ ${MAKEINFO} $${i} || ${TRUE} ; \
+ done)
+
+post-install:
+ @(cd ${WRKSRC} ; \
+ for i in mime-ui-en.info mime-ui-ja.info; do \
+ ${INSTALL_DATA} ${WRKSRC}/$${i} ${PREFIX}/info ; \
+ install-info ${PREFIX}/info/$${i} ${PREFIX}/info/dir ; \
+ done)
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${PREFIX}/${WEMIDOCDIR}
+ @for i in ChangeLog NEWS README.* TODO VERSION ; do \
+ ${INSTALL_DATA} ${WRKSRC}/$${i} ${PREFIX}/${WEMIDOCDIR}/ ; \
+ done
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/editors/wemi-emacs20/pkg-comment b/editors/wemi-emacs20/pkg-comment
new file mode 100644
index 000000000000..2fb010b77f5b
--- /dev/null
+++ b/editors/wemi-emacs20/pkg-comment
@@ -0,0 +1 @@
+WEMI, Library of MIME feature for GNU Emacs (branch of SEMI kernel package).
diff --git a/editors/wemi-emacs20/pkg-descr b/editors/wemi-emacs20/pkg-descr
new file mode 100644
index 000000000000..6f9c1e02ef13
--- /dev/null
+++ b/editors/wemi-emacs20/pkg-descr
@@ -0,0 +1,41 @@
+WEMI, Library of MIME feature for GNU Emacs.
+
+ WEMI is a branch of SEMI kernel package using widget. It is a
+ library to provide MIME feature for GNU Emacs based on SEMI API.
+ Namely it contains whole features of SEMI thus it is a replacement
+ of SEMI.
+
+ MIME is a proposed internet standard for including content and
+ headers other than (ASCII) plain text in messages.
+
+ RFC 2045 : Internet Message Bodies
+ RFC 2046 : Media Types
+ RFC 2047 : Message Header Extensions
+ RFC 2048 : MIME Registration Procedures
+ RFC 2049 : MIME Conformance
+
+ WEMI has the following features:
+ - MIME message viewer (mime-view-mode) (RFC 2045 .. 2049)
+ - MIME message composer (mime-edit-mode) (RFC 2045 .. 2049)
+
+ MIME message viewer and composer also support following features:
+ - filename handling by Content-Disposition field (RFC 1806)
+ - PGP/MIME security Multiparts (RFC 2015)
+ - application/pgp (draft-kazu-pgp-mime-00.txt; obsolete)
+ - text/richtext (RFC 1521; obsolete; preview only)
+ - text/enriched (RFC 1896)
+ - External method configuration by mailcap (RFC 1524)
+
+ Notice that this package does not contain MIME extender for any
+ MUAs. They are released as separated packages.
+
+ WEMI is installed the following directory tree:
+ ${PREFIX}/share/emacs/site-lisp/semi/ --- WEMI
+
+*** Caution!! ***
+
+ Because WEMI is completely compatible with SEMI, WEMI overrides
+ SEMI.
+
+
+--- Porting by shige <shige@kuis.kyoto-u.ac.jp>
diff --git a/editors/wemi-emacs20/pkg-plist b/editors/wemi-emacs20/pkg-plist
new file mode 100644
index 000000000000..f3ae5019e2fc
--- /dev/null
+++ b/editors/wemi-emacs20/pkg-plist
@@ -0,0 +1,40 @@
+%%EMACS_LIBDIR%%/site-lisp/semi/mime-setup.el
+%%EMACS_LIBDIR%%/site-lisp/semi/mime-setup.elc
+%%EMACS_LIBDIR%%/site-lisp/semi/signature.el
+%%EMACS_LIBDIR%%/site-lisp/semi/signature.elc
+%%EMACS_LIBDIR%%/site-lisp/semi/semi-def.el
+%%EMACS_LIBDIR%%/site-lisp/semi/semi-def.elc
+%%EMACS_LIBDIR%%/site-lisp/semi/mime-image.el
+%%EMACS_LIBDIR%%/site-lisp/semi/mime-image.elc
+%%EMACS_LIBDIR%%/site-lisp/semi/mime-view.el
+%%EMACS_LIBDIR%%/site-lisp/semi/mime-view.elc
+%%EMACS_LIBDIR%%/site-lisp/semi/mime-text.el
+%%EMACS_LIBDIR%%/site-lisp/semi/mime-text.elc
+%%EMACS_LIBDIR%%/site-lisp/semi/mime-play.el
+%%EMACS_LIBDIR%%/site-lisp/semi/mime-play.elc
+%%EMACS_LIBDIR%%/site-lisp/semi/mime-partial.el
+%%EMACS_LIBDIR%%/site-lisp/semi/mime-partial.elc
+%%EMACS_LIBDIR%%/site-lisp/semi/mime-edit.el
+%%EMACS_LIBDIR%%/site-lisp/semi/mime-edit.elc
+%%EMACS_LIBDIR%%/site-lisp/semi/semi-setup.el
+%%EMACS_LIBDIR%%/site-lisp/semi/semi-setup.elc
+%%EMACS_LIBDIR%%/site-lisp/semi/mail-mime-setup.el
+%%EMACS_LIBDIR%%/site-lisp/semi/mail-mime-setup.elc
+%%EMACS_LIBDIR%%/site-lisp/semi/mime-pgp.el
+%%EMACS_LIBDIR%%/site-lisp/semi/mime-mc.el
+%%EMACS_LIBDIR%%/site-lisp/semi/mime-bbdb.el
+%%EMACS_LIBDIR%%/site-lisp/semi/mime-w3.el
+@dirrm %%EMACS_LIBDIR%%/site-lisp/semi
+%%WEMIDOCDIR%%/ChangeLog
+%%WEMIDOCDIR%%/NEWS
+%%WEMIDOCDIR%%/README.en
+%%WEMIDOCDIR%%/TODO
+%%WEMIDOCDIR%%/VERSION
+@dirrm %%WEMIDOCDIR%%
+@exec [ -f %D/info/dir ] || sed -ne '1,/Menu:/p' /usr/share/info/dir > %D/info/dir
+@unexec install-info --delete %D/info/mime-ui-en.info %D/info/dir
+info/mime-ui-en.info
+@exec install-info %D/info/mime-ui-en.info %D/info/dir
+@unexec install-info --delete %D/info/mime-ui-ja.info %D/info/dir
+info/mime-ui-ja.info
+@exec install-info %D/info/mime-ui-ja.info %D/info/dir