summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorShigeyuki Fukushima <shige@FreeBSD.org>1999-05-09 16:54:11 +0000
committerShigeyuki Fukushima <shige@FreeBSD.org>1999-05-09 16:54:11 +0000
commitb72cb46db9e4503ec66806e963c685bd7ea6f0a7 (patch)
tree204f35f06db71cc12980292fc448b1ff56985122 /editors
parentFix checksum (diff)
New port: editors/semi-emacs-current.
Notes
Notes: svn path=/head/; revision=18665
Diffstat (limited to 'editors')
-rw-r--r--editors/semi-emacs-current/Makefile114
-rw-r--r--editors/semi-emacs-current/distinfo1
-rw-r--r--editors/semi-emacs-current/files/patch-aa13
-rw-r--r--editors/semi-emacs-current/files/patch-ab13
-rw-r--r--editors/semi-emacs-current/files/patch-ac11
-rw-r--r--editors/semi-emacs-current/pkg-comment1
-rw-r--r--editors/semi-emacs-current/pkg-descr32
-rw-r--r--editors/semi-emacs-current/pkg-plist36
-rw-r--r--editors/semi-emacs-current/scripts/configure14
-rw-r--r--editors/semi/Makefile114
-rw-r--r--editors/semi/distinfo1
-rw-r--r--editors/semi/files/patch-aa13
-rw-r--r--editors/semi/files/patch-ab13
-rw-r--r--editors/semi/files/patch-ac11
-rw-r--r--editors/semi/pkg-comment.emacs201
-rw-r--r--editors/semi/pkg-descr.emacs2032
-rw-r--r--editors/semi/pkg-descr.emacs2132
-rw-r--r--editors/semi/pkg-plist.emacs2036
-rw-r--r--editors/semi/pkg-plist.emacs2136
-rw-r--r--editors/semi/scripts/configure14
-rw-r--r--editors/semi113-emacs/Makefile114
-rw-r--r--editors/semi113-emacs/distinfo1
-rw-r--r--editors/semi113-emacs/files/patch-aa13
-rw-r--r--editors/semi113-emacs/files/patch-ab13
-rw-r--r--editors/semi113-emacs/files/patch-ac11
-rw-r--r--editors/semi113-emacs/pkg-comment1
-rw-r--r--editors/semi113-emacs/pkg-descr32
-rw-r--r--editors/semi113-emacs/pkg-plist36
-rw-r--r--editors/semi113-emacs/scripts/configure14
-rw-r--r--editors/semi113/Makefile114
-rw-r--r--editors/semi113/distinfo1
-rw-r--r--editors/semi113/files/patch-aa13
-rw-r--r--editors/semi113/files/patch-ab13
-rw-r--r--editors/semi113/files/patch-ac11
-rw-r--r--editors/semi113/pkg-comment.emacs191
-rw-r--r--editors/semi113/pkg-descr.emacs1932
-rw-r--r--editors/semi113/pkg-plist.emacs1936
-rw-r--r--editors/semi113/scripts/configure14
-rw-r--r--editors/semi114-emacs20/Makefile114
-rw-r--r--editors/semi114-emacs20/distinfo1
-rw-r--r--editors/semi114-emacs20/files/patch-aa13
-rw-r--r--editors/semi114-emacs20/files/patch-ab13
-rw-r--r--editors/semi114-emacs20/files/patch-ac11
-rw-r--r--editors/semi114-emacs20/pkg-comment1
-rw-r--r--editors/semi114-emacs20/pkg-descr32
-rw-r--r--editors/semi114-emacs20/pkg-plist36
-rw-r--r--editors/semi114-emacs20/scripts/configure14
47 files changed, 1243 insertions, 0 deletions
diff --git a/editors/semi-emacs-current/Makefile b/editors/semi-emacs-current/Makefile
new file mode 100644
index 000000000000..dceffeb63728
--- /dev/null
+++ b/editors/semi-emacs-current/Makefile
@@ -0,0 +1,114 @@
+# New ports collection makefile for: semi-current for emacs
+# Version required: 1.13.3
+# Date created: 9 May 1999
+# Whom: Shigeyuki FUKUSHIMA <shige@FreeBSD.ORG>
+#
+# $Id$
+#
+
+DISTNAME= semi-${SEMI_VER}
+CATEGORIES= editors elisp
+MASTER_SITES= ftp://ftp.jaist.ac.jp/pub/GNU/elisp/semi/semi-1.13-for-flim-1.12/
+
+MAINTAINER?= shige@FreeBSD.ORG
+
+PORTCLASS?= master
+
+# distfile version
+FLIM_VER= 1.12.5
+SEMI_VER= 1.13.3
+SEMIDOCDIR= share/doc/semi
+SEMI_SETUPEL= semi-setup.el
+
+.if (${PORTCLASS} == "master")
+# emacs port setup
+EMACS_NAME= emacs
+EMACS_PORT= emacs
+EMACS_VER= 19.34
+EMACS_LIBDIR= share/${EMACS_NAME}
+REQUIRE_SETUPEL= YES
+.endif
+
+# target name for make build
+ALL_TARGET?= elc
+
+# if RUN_DEPENDS-emacs port name has the suffix '-common'.
+.if !defined(HAVE_COMMON_PORT)
+HAVE_COMMON_PORT= NO
+.endif
+# if RUN_DEPENDS-emacs needs setup elisp
+.if !defined(REQUIRE_SETUP)
+REQUIRE_SETUPEL= NO
+.endif
+
+.if defined(EMACS_PORT)
+PKGNAME= semi-${EMACS_PORT}-${SEMI_VER}
+EMACS_CMD= ${PREFIX}/bin/${EMACS_NAME}-${EMACS_VER}
+BUILD_DEPENDS= ${EMACS_CMD}:${PORTSDIR}/editors/${EMACS_PORT}
+.if defined(HAVE_COMMON_PORT) && (${HAVE_COMMON_PORT} == "YES")
+RUN_DEPENDS= ${EMACS_CMD}:${PORTSDIR}/editors/${EMACS_PORT}-common
+.else
+RUN_DEPENDS= ${EMACS_CMD}:${PORTSDIR}/editors/${EMACS_PORT}
+.endif
+SCRIPTS_ENV= EMACS_LIBDIR=${EMACS_LIBDIR} EMACS_VER=${EMACS_VER}
+PLIST_SUB= EMACS_LIBDIR=${EMACS_LIBDIR} EMACS_VER=${EMACS_VER} \
+ SEMIDOCDIR=${SEMIDOCDIR}
+MAKE_FLAGS= EMACS=${EMACS_CMD}
+.if (${EMACS_VER} == "19.34")
+# depends on custom: emacs-19.34 or mule-19.34
+BUILD_DEPENDS+= ${PREFIX}/${EMACS_LIBDIR}/${EMACS_VER}/site-lisp/custom.el:${PORTSDIR}/editors/custom-${EMACS_PORT}
+RUN_DEPENDS+= ${PREFIX}/${EMACS_LIBDIR}/${EMACS_VER}/site-lisp/custom.el:${PORTSDIR}/editors/custom-${EMACS_PORT}
+.endif
+# 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}-current
+RUN_DEPENDS+= ${PKG_DBDIR}/flim-${EMACS_PORT}-${FLIM_VER}:${PORTSDIR}/editors/flim-${EMACS_PORT}-current
+.else
+.BEGIN:
+ @${ECHO} "Error: Bad port."
+ @${ECHO} "You must define EMACS_NAME, EMACS_PORT, EMACS_VER, EMACS_LIBDIR."
+ @${FALSE}
+.endif
+
+# info files JIS to EUC
+BUILD_DEPENDS+= nkf:${PORTSDIR}/japanese/nkf
+
+.if (${REQUIRE_SETUPEL} == "YES")
+pre-configure:
+ @${CP} ${FILESDIR}/${SEMI_SETUPEL}.in ${WRKDIR}
+.endif
+
+.include <bsd.port.pre.mk>
+
+MAKEINFO= makeinfo --no-split --no-validate
+
+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_MSG} "===> 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 (${REQUIRE_SETUPEL} == "YES")
+ @${INSTALL_DATA} ${WRKDIR}/${SEMI_SETUPEL} \
+ ${PREFIX}/${EMACS_LIBDIR}/site-lisp
+.endif
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${PREFIX}/${SEMIDOCDIR}
+ @(cd ${WRKSRC} ; \
+ for i in ChangeLog NEWS README.* TODO VERSION ; do \
+ ${INSTALL_DATA} $${i} ${PREFIX}/${SEMIDOCDIR}/ ; \
+ done)
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/editors/semi-emacs-current/distinfo b/editors/semi-emacs-current/distinfo
new file mode 100644
index 000000000000..97b011dccc56
--- /dev/null
+++ b/editors/semi-emacs-current/distinfo
@@ -0,0 +1 @@
+MD5 (semi-1.13.3.tar.gz) = 6015cca40c844a9c93083c3e73463d5d
diff --git a/editors/semi-emacs-current/files/patch-aa b/editors/semi-emacs-current/files/patch-aa
new file mode 100644
index 000000000000..5eb2a1996015
--- /dev/null
+++ b/editors/semi-emacs-current/files/patch-aa
@@ -0,0 +1,13 @@
+--- mime-ui-en.texi.orig Sun Feb 28 14:35:10 1999
++++ mime-ui-en.texi Tue Mar 9 06:43:58 1999
+@@ -1,6 +1,10 @@
+ \input texinfo.tex
+ @setfilename mime-ui-en.info
+ @settitle{SEMI 1.8 Manual}
++@dircategory The Emacs editor and associated tools
++@direntry
++* mime-ui-en: (mime-ui-en). MIME user interface for GNU Emacs. (English)
++@end direntry
+ @titlepage
+ @title SEMI 1.8 Manual
+ @author MORIOKA Tomohiko <morioka@@jaist.ac.jp>
diff --git a/editors/semi-emacs-current/files/patch-ab b/editors/semi-emacs-current/files/patch-ab
new file mode 100644
index 000000000000..818a0c70c32a
--- /dev/null
+++ b/editors/semi-emacs-current/files/patch-ab
@@ -0,0 +1,13 @@
+--- mime-ui-ja.texi.orig Sun Feb 28 14:35:10 1999
++++ mime-ui-ja.texi Tue Mar 9 06:44:08 1999
+@@ -1,6 +1,10 @@
+ \input texinfo.tex
+ @setfilename mime-ui-ja.info
+ @settitle{SEMI 1.8 $B@bL@=q(B}
++@dircategory The Emacs editor and associated tools
++@direntry
++* mime-ui-ja: (mime-ui-ja). MIME user interface for GNU Emacs. (Japanese)
++@end direntry
+ @titlepage
+ @title SEMI 1.8 $B@bL@=q(B
+ @author $B<i2,(B $BCNI'(B <morioka@@jaist.ac.jp>
diff --git a/editors/semi-emacs-current/files/patch-ac b/editors/semi-emacs-current/files/patch-ac
new file mode 100644
index 000000000000..2c7aa48962d6
--- /dev/null
+++ b/editors/semi-emacs-current/files/patch-ac
@@ -0,0 +1,11 @@
+--- SEMI-CFG.orig Wed Sep 16 15:48:58 1998
++++ SEMI-CFG Sun May 9 21:54:02 1999
+@@ -11,6 +11,8 @@
+ (add-to-list 'load-path
+ (expand-file-name "../../site-lisp/apel" data-directory))
+ (add-to-list 'load-path
++ (expand-file-name "../site-lisp/emu" data-directory))
++(add-to-list 'load-path
+ (expand-file-name "." data-directory))
+
+ (when (boundp 'LISPDIR)
diff --git a/editors/semi-emacs-current/pkg-comment b/editors/semi-emacs-current/pkg-comment
new file mode 100644
index 000000000000..7a2583f5c95f
--- /dev/null
+++ b/editors/semi-emacs-current/pkg-comment
@@ -0,0 +1 @@
+SEMI, Library of MIME feature for GNU Emacs for emacs.
diff --git a/editors/semi-emacs-current/pkg-descr b/editors/semi-emacs-current/pkg-descr
new file mode 100644
index 000000000000..239c47cea2f9
--- /dev/null
+++ b/editors/semi-emacs-current/pkg-descr
@@ -0,0 +1,32 @@
+SEMI, Library of MIME feature for GNU Emacs for emacs.
+
+ SEMI is a library to provide MIME feature for GNU Emacs. MIME is a
+ proposed internet standard for including content and headers other
+ than (ASCII) plain text in messages.
+
+ SEMI 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.
+
+ SEMI is installed the following directory tree:
+ ${PREFIX}/share/emacs/site-lisp/semi/ --- SEMI
+
+
+To use flim, put the following setup into your ~/.emacs:
+
+ (require 'apel-setup)
+ (require 'flim-setup)
+ (require 'semi-setup)
+
+--- Porting by shige <shige@FreeBSD.ORG>
diff --git a/editors/semi-emacs-current/pkg-plist b/editors/semi-emacs-current/pkg-plist
new file mode 100644
index 000000000000..747de123fba6
--- /dev/null
+++ b/editors/semi-emacs-current/pkg-plist
@@ -0,0 +1,36 @@
+%%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-view.el
+%%EMACS_LIBDIR%%/site-lisp/semi/mime-view.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
+%%SEMIDOCDIR%%/ChangeLog
+%%SEMIDOCDIR%%/NEWS
+%%SEMIDOCDIR%%/README.en
+%%SEMIDOCDIR%%/TODO
+%%SEMIDOCDIR%%/VERSION
+@dirrm %%SEMIDOCDIR%%
+@unexec install-info --delete %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-en.info
+info/mime-ui-ja.info
+@exec [ -f %D/info/dir ] || sed -ne '1,/Menu:/p' /usr/share/info/dir > %D/info/dir
+@exec install-info %D/info/mime-ui-en.info %D/info/dir
+@exec install-info %D/info/mime-ui-ja.info %D/info/dir
diff --git a/editors/semi-emacs-current/scripts/configure b/editors/semi-emacs-current/scripts/configure
new file mode 100644
index 000000000000..a51e74f6c450
--- /dev/null
+++ b/editors/semi-emacs-current/scripts/configure
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+TARGETS='semi-setup.el'
+
+for i in ${TARGETS}
+do
+ if [ -f ${WRKDIR}/${i}.in ]; then
+ cat ${WRKDIR}/${i}.in | /usr/bin/sed \
+ -e "s;@@PREFIX@@;${PREFIX};g" \
+ -e "s;@@EMACS_LIBDIR@@;${EMACS_LIBDIR};g" \
+ -e "s;@@EMACS_VER@@;${EMACS_VER};g" \
+ > ${WRKDIR}/${i}
+ fi
+done
diff --git a/editors/semi/Makefile b/editors/semi/Makefile
new file mode 100644
index 000000000000..dceffeb63728
--- /dev/null
+++ b/editors/semi/Makefile
@@ -0,0 +1,114 @@
+# New ports collection makefile for: semi-current for emacs
+# Version required: 1.13.3
+# Date created: 9 May 1999
+# Whom: Shigeyuki FUKUSHIMA <shige@FreeBSD.ORG>
+#
+# $Id$
+#
+
+DISTNAME= semi-${SEMI_VER}
+CATEGORIES= editors elisp
+MASTER_SITES= ftp://ftp.jaist.ac.jp/pub/GNU/elisp/semi/semi-1.13-for-flim-1.12/
+
+MAINTAINER?= shige@FreeBSD.ORG
+
+PORTCLASS?= master
+
+# distfile version
+FLIM_VER= 1.12.5
+SEMI_VER= 1.13.3
+SEMIDOCDIR= share/doc/semi
+SEMI_SETUPEL= semi-setup.el
+
+.if (${PORTCLASS} == "master")
+# emacs port setup
+EMACS_NAME= emacs
+EMACS_PORT= emacs
+EMACS_VER= 19.34
+EMACS_LIBDIR= share/${EMACS_NAME}
+REQUIRE_SETUPEL= YES
+.endif
+
+# target name for make build
+ALL_TARGET?= elc
+
+# if RUN_DEPENDS-emacs port name has the suffix '-common'.
+.if !defined(HAVE_COMMON_PORT)
+HAVE_COMMON_PORT= NO
+.endif
+# if RUN_DEPENDS-emacs needs setup elisp
+.if !defined(REQUIRE_SETUP)
+REQUIRE_SETUPEL= NO
+.endif
+
+.if defined(EMACS_PORT)
+PKGNAME= semi-${EMACS_PORT}-${SEMI_VER}
+EMACS_CMD= ${PREFIX}/bin/${EMACS_NAME}-${EMACS_VER}
+BUILD_DEPENDS= ${EMACS_CMD}:${PORTSDIR}/editors/${EMACS_PORT}
+.if defined(HAVE_COMMON_PORT) && (${HAVE_COMMON_PORT} == "YES")
+RUN_DEPENDS= ${EMACS_CMD}:${PORTSDIR}/editors/${EMACS_PORT}-common
+.else
+RUN_DEPENDS= ${EMACS_CMD}:${PORTSDIR}/editors/${EMACS_PORT}
+.endif
+SCRIPTS_ENV= EMACS_LIBDIR=${EMACS_LIBDIR} EMACS_VER=${EMACS_VER}
+PLIST_SUB= EMACS_LIBDIR=${EMACS_LIBDIR} EMACS_VER=${EMACS_VER} \
+ SEMIDOCDIR=${SEMIDOCDIR}
+MAKE_FLAGS= EMACS=${EMACS_CMD}
+.if (${EMACS_VER} == "19.34")
+# depends on custom: emacs-19.34 or mule-19.34
+BUILD_DEPENDS+= ${PREFIX}/${EMACS_LIBDIR}/${EMACS_VER}/site-lisp/custom.el:${PORTSDIR}/editors/custom-${EMACS_PORT}
+RUN_DEPENDS+= ${PREFIX}/${EMACS_LIBDIR}/${EMACS_VER}/site-lisp/custom.el:${PORTSDIR}/editors/custom-${EMACS_PORT}
+.endif
+# 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}-current
+RUN_DEPENDS+= ${PKG_DBDIR}/flim-${EMACS_PORT}-${FLIM_VER}:${PORTSDIR}/editors/flim-${EMACS_PORT}-current
+.else
+.BEGIN:
+ @${ECHO} "Error: Bad port."
+ @${ECHO} "You must define EMACS_NAME, EMACS_PORT, EMACS_VER, EMACS_LIBDIR."
+ @${FALSE}
+.endif
+
+# info files JIS to EUC
+BUILD_DEPENDS+= nkf:${PORTSDIR}/japanese/nkf
+
+.if (${REQUIRE_SETUPEL} == "YES")
+pre-configure:
+ @${CP} ${FILESDIR}/${SEMI_SETUPEL}.in ${WRKDIR}
+.endif
+
+.include <bsd.port.pre.mk>
+
+MAKEINFO= makeinfo --no-split --no-validate
+
+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_MSG} "===> 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 (${REQUIRE_SETUPEL} == "YES")
+ @${INSTALL_DATA} ${WRKDIR}/${SEMI_SETUPEL} \
+ ${PREFIX}/${EMACS_LIBDIR}/site-lisp
+.endif
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${PREFIX}/${SEMIDOCDIR}
+ @(cd ${WRKSRC} ; \
+ for i in ChangeLog NEWS README.* TODO VERSION ; do \
+ ${INSTALL_DATA} $${i} ${PREFIX}/${SEMIDOCDIR}/ ; \
+ done)
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/editors/semi/distinfo b/editors/semi/distinfo
new file mode 100644
index 000000000000..97b011dccc56
--- /dev/null
+++ b/editors/semi/distinfo
@@ -0,0 +1 @@
+MD5 (semi-1.13.3.tar.gz) = 6015cca40c844a9c93083c3e73463d5d
diff --git a/editors/semi/files/patch-aa b/editors/semi/files/patch-aa
new file mode 100644
index 000000000000..5eb2a1996015
--- /dev/null
+++ b/editors/semi/files/patch-aa
@@ -0,0 +1,13 @@
+--- mime-ui-en.texi.orig Sun Feb 28 14:35:10 1999
++++ mime-ui-en.texi Tue Mar 9 06:43:58 1999
+@@ -1,6 +1,10 @@
+ \input texinfo.tex
+ @setfilename mime-ui-en.info
+ @settitle{SEMI 1.8 Manual}
++@dircategory The Emacs editor and associated tools
++@direntry
++* mime-ui-en: (mime-ui-en). MIME user interface for GNU Emacs. (English)
++@end direntry
+ @titlepage
+ @title SEMI 1.8 Manual
+ @author MORIOKA Tomohiko <morioka@@jaist.ac.jp>
diff --git a/editors/semi/files/patch-ab b/editors/semi/files/patch-ab
new file mode 100644
index 000000000000..818a0c70c32a
--- /dev/null
+++ b/editors/semi/files/patch-ab
@@ -0,0 +1,13 @@
+--- mime-ui-ja.texi.orig Sun Feb 28 14:35:10 1999
++++ mime-ui-ja.texi Tue Mar 9 06:44:08 1999
+@@ -1,6 +1,10 @@
+ \input texinfo.tex
+ @setfilename mime-ui-ja.info
+ @settitle{SEMI 1.8 $B@bL@=q(B}
++@dircategory The Emacs editor and associated tools
++@direntry
++* mime-ui-ja: (mime-ui-ja). MIME user interface for GNU Emacs. (Japanese)
++@end direntry
+ @titlepage
+ @title SEMI 1.8 $B@bL@=q(B
+ @author $B<i2,(B $BCNI'(B <morioka@@jaist.ac.jp>
diff --git a/editors/semi/files/patch-ac b/editors/semi/files/patch-ac
new file mode 100644
index 000000000000..2c7aa48962d6
--- /dev/null
+++ b/editors/semi/files/patch-ac
@@ -0,0 +1,11 @@
+--- SEMI-CFG.orig Wed Sep 16 15:48:58 1998
++++ SEMI-CFG Sun May 9 21:54:02 1999
+@@ -11,6 +11,8 @@
+ (add-to-list 'load-path
+ (expand-file-name "../../site-lisp/apel" data-directory))
+ (add-to-list 'load-path
++ (expand-file-name "../site-lisp/emu" data-directory))
++(add-to-list 'load-path
+ (expand-file-name "." data-directory))
+
+ (when (boundp 'LISPDIR)
diff --git a/editors/semi/pkg-comment.emacs20 b/editors/semi/pkg-comment.emacs20
new file mode 100644
index 000000000000..7a2583f5c95f
--- /dev/null
+++ b/editors/semi/pkg-comment.emacs20
@@ -0,0 +1 @@
+SEMI, Library of MIME feature for GNU Emacs for emacs.
diff --git a/editors/semi/pkg-descr.emacs20 b/editors/semi/pkg-descr.emacs20
new file mode 100644
index 000000000000..239c47cea2f9
--- /dev/null
+++ b/editors/semi/pkg-descr.emacs20
@@ -0,0 +1,32 @@
+SEMI, Library of MIME feature for GNU Emacs for emacs.
+
+ SEMI is a library to provide MIME feature for GNU Emacs. MIME is a
+ proposed internet standard for including content and headers other
+ than (ASCII) plain text in messages.
+
+ SEMI 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.
+
+ SEMI is installed the following directory tree:
+ ${PREFIX}/share/emacs/site-lisp/semi/ --- SEMI
+
+
+To use flim, put the following setup into your ~/.emacs:
+
+ (require 'apel-setup)
+ (require 'flim-setup)
+ (require 'semi-setup)
+
+--- Porting by shige <shige@FreeBSD.ORG>
diff --git a/editors/semi/pkg-descr.emacs21 b/editors/semi/pkg-descr.emacs21
new file mode 100644
index 000000000000..239c47cea2f9
--- /dev/null
+++ b/editors/semi/pkg-descr.emacs21
@@ -0,0 +1,32 @@
+SEMI, Library of MIME feature for GNU Emacs for emacs.
+
+ SEMI is a library to provide MIME feature for GNU Emacs. MIME is a
+ proposed internet standard for including content and headers other
+ than (ASCII) plain text in messages.
+
+ SEMI 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.
+
+ SEMI is installed the following directory tree:
+ ${PREFIX}/share/emacs/site-lisp/semi/ --- SEMI
+
+
+To use flim, put the following setup into your ~/.emacs:
+
+ (require 'apel-setup)
+ (require 'flim-setup)
+ (require 'semi-setup)
+
+--- Porting by shige <shige@FreeBSD.ORG>
diff --git a/editors/semi/pkg-plist.emacs20 b/editors/semi/pkg-plist.emacs20
new file mode 100644
index 000000000000..747de123fba6
--- /dev/null
+++ b/editors/semi/pkg-plist.emacs20
@@ -0,0 +1,36 @@
+%%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-view.el
+%%EMACS_LIBDIR%%/site-lisp/semi/mime-view.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
+%%SEMIDOCDIR%%/ChangeLog
+%%SEMIDOCDIR%%/NEWS
+%%SEMIDOCDIR%%/README.en
+%%SEMIDOCDIR%%/TODO
+%%SEMIDOCDIR%%/VERSION
+@dirrm %%SEMIDOCDIR%%
+@unexec install-info --delete %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-en.info
+info/mime-ui-ja.info
+@exec [ -f %D/info/dir ] || sed -ne '1,/Menu:/p' /usr/share/info/dir > %D/info/dir
+@exec install-info %D/info/mime-ui-en.info %D/info/dir
+@exec install-info %D/info/mime-ui-ja.info %D/info/dir
diff --git a/editors/semi/pkg-plist.emacs21 b/editors/semi/pkg-plist.emacs21
new file mode 100644
index 000000000000..747de123fba6
--- /dev/null
+++ b/editors/semi/pkg-plist.emacs21
@@ -0,0 +1,36 @@
+%%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-view.el
+%%EMACS_LIBDIR%%/site-lisp/semi/mime-view.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
+%%SEMIDOCDIR%%/ChangeLog
+%%SEMIDOCDIR%%/NEWS
+%%SEMIDOCDIR%%/README.en
+%%SEMIDOCDIR%%/TODO
+%%SEMIDOCDIR%%/VERSION
+@dirrm %%SEMIDOCDIR%%
+@unexec install-info --delete %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-en.info
+info/mime-ui-ja.info
+@exec [ -f %D/info/dir ] || sed -ne '1,/Menu:/p' /usr/share/info/dir > %D/info/dir
+@exec install-info %D/info/mime-ui-en.info %D/info/dir
+@exec install-info %D/info/mime-ui-ja.info %D/info/dir
diff --git a/editors/semi/scripts/configure b/editors/semi/scripts/configure
new file mode 100644
index 000000000000..a51e74f6c450
--- /dev/null
+++ b/editors/semi/scripts/configure
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+TARGETS='semi-setup.el'
+
+for i in ${TARGETS}
+do
+ if [ -f ${WRKDIR}/${i}.in ]; then
+ cat ${WRKDIR}/${i}.in | /usr/bin/sed \
+ -e "s;@@PREFIX@@;${PREFIX};g" \
+ -e "s;@@EMACS_LIBDIR@@;${EMACS_LIBDIR};g" \
+ -e "s;@@EMACS_VER@@;${EMACS_VER};g" \
+ > ${WRKDIR}/${i}
+ fi
+done
diff --git a/editors/semi113-emacs/Makefile b/editors/semi113-emacs/Makefile
new file mode 100644
index 000000000000..dceffeb63728
--- /dev/null
+++ b/editors/semi113-emacs/Makefile
@@ -0,0 +1,114 @@
+# New ports collection makefile for: semi-current for emacs
+# Version required: 1.13.3
+# Date created: 9 May 1999
+# Whom: Shigeyuki FUKUSHIMA <shige@FreeBSD.ORG>
+#
+# $Id$
+#
+
+DISTNAME= semi-${SEMI_VER}
+CATEGORIES= editors elisp
+MASTER_SITES= ftp://ftp.jaist.ac.jp/pub/GNU/elisp/semi/semi-1.13-for-flim-1.12/
+
+MAINTAINER?= shige@FreeBSD.ORG
+
+PORTCLASS?= master
+
+# distfile version
+FLIM_VER= 1.12.5
+SEMI_VER= 1.13.3
+SEMIDOCDIR= share/doc/semi
+SEMI_SETUPEL= semi-setup.el
+
+.if (${PORTCLASS} == "master")
+# emacs port setup
+EMACS_NAME= emacs
+EMACS_PORT= emacs
+EMACS_VER= 19.34
+EMACS_LIBDIR= share/${EMACS_NAME}
+REQUIRE_SETUPEL= YES
+.endif
+
+# target name for make build
+ALL_TARGET?= elc
+
+# if RUN_DEPENDS-emacs port name has the suffix '-common'.
+.if !defined(HAVE_COMMON_PORT)
+HAVE_COMMON_PORT= NO
+.endif
+# if RUN_DEPENDS-emacs needs setup elisp
+.if !defined(REQUIRE_SETUP)
+REQUIRE_SETUPEL= NO
+.endif
+
+.if defined(EMACS_PORT)
+PKGNAME= semi-${EMACS_PORT}-${SEMI_VER}
+EMACS_CMD= ${PREFIX}/bin/${EMACS_NAME}-${EMACS_VER}
+BUILD_DEPENDS= ${EMACS_CMD}:${PORTSDIR}/editors/${EMACS_PORT}
+.if defined(HAVE_COMMON_PORT) && (${HAVE_COMMON_PORT} == "YES")
+RUN_DEPENDS= ${EMACS_CMD}:${PORTSDIR}/editors/${EMACS_PORT}-common
+.else
+RUN_DEPENDS= ${EMACS_CMD}:${PORTSDIR}/editors/${EMACS_PORT}
+.endif
+SCRIPTS_ENV= EMACS_LIBDIR=${EMACS_LIBDIR} EMACS_VER=${EMACS_VER}
+PLIST_SUB= EMACS_LIBDIR=${EMACS_LIBDIR} EMACS_VER=${EMACS_VER} \
+ SEMIDOCDIR=${SEMIDOCDIR}
+MAKE_FLAGS= EMACS=${EMACS_CMD}
+.if (${EMACS_VER} == "19.34")
+# depends on custom: emacs-19.34 or mule-19.34
+BUILD_DEPENDS+= ${PREFIX}/${EMACS_LIBDIR}/${EMACS_VER}/site-lisp/custom.el:${PORTSDIR}/editors/custom-${EMACS_PORT}
+RUN_DEPENDS+= ${PREFIX}/${EMACS_LIBDIR}/${EMACS_VER}/site-lisp/custom.el:${PORTSDIR}/editors/custom-${EMACS_PORT}
+.endif
+# 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}-current
+RUN_DEPENDS+= ${PKG_DBDIR}/flim-${EMACS_PORT}-${FLIM_VER}:${PORTSDIR}/editors/flim-${EMACS_PORT}-current
+.else
+.BEGIN:
+ @${ECHO} "Error: Bad port."
+ @${ECHO} "You must define EMACS_NAME, EMACS_PORT, EMACS_VER, EMACS_LIBDIR."
+ @${FALSE}
+.endif
+
+# info files JIS to EUC
+BUILD_DEPENDS+= nkf:${PORTSDIR}/japanese/nkf
+
+.if (${REQUIRE_SETUPEL} == "YES")
+pre-configure:
+ @${CP} ${FILESDIR}/${SEMI_SETUPEL}.in ${WRKDIR}
+.endif
+
+.include <bsd.port.pre.mk>
+
+MAKEINFO= makeinfo --no-split --no-validate
+
+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_MSG} "===> 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 (${REQUIRE_SETUPEL} == "YES")
+ @${INSTALL_DATA} ${WRKDIR}/${SEMI_SETUPEL} \
+ ${PREFIX}/${EMACS_LIBDIR}/site-lisp
+.endif
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${PREFIX}/${SEMIDOCDIR}
+ @(cd ${WRKSRC} ; \
+ for i in ChangeLog NEWS README.* TODO VERSION ; do \
+ ${INSTALL_DATA} $${i} ${PREFIX}/${SEMIDOCDIR}/ ; \
+ done)
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/editors/semi113-emacs/distinfo b/editors/semi113-emacs/distinfo
new file mode 100644
index 000000000000..97b011dccc56
--- /dev/null
+++ b/editors/semi113-emacs/distinfo
@@ -0,0 +1 @@
+MD5 (semi-1.13.3.tar.gz) = 6015cca40c844a9c93083c3e73463d5d
diff --git a/editors/semi113-emacs/files/patch-aa b/editors/semi113-emacs/files/patch-aa
new file mode 100644
index 000000000000..5eb2a1996015
--- /dev/null
+++ b/editors/semi113-emacs/files/patch-aa
@@ -0,0 +1,13 @@
+--- mime-ui-en.texi.orig Sun Feb 28 14:35:10 1999
++++ mime-ui-en.texi Tue Mar 9 06:43:58 1999
+@@ -1,6 +1,10 @@
+ \input texinfo.tex
+ @setfilename mime-ui-en.info
+ @settitle{SEMI 1.8 Manual}
++@dircategory The Emacs editor and associated tools
++@direntry
++* mime-ui-en: (mime-ui-en). MIME user interface for GNU Emacs. (English)
++@end direntry
+ @titlepage
+ @title SEMI 1.8 Manual
+ @author MORIOKA Tomohiko <morioka@@jaist.ac.jp>
diff --git a/editors/semi113-emacs/files/patch-ab b/editors/semi113-emacs/files/patch-ab
new file mode 100644
index 000000000000..818a0c70c32a
--- /dev/null
+++ b/editors/semi113-emacs/files/patch-ab
@@ -0,0 +1,13 @@
+--- mime-ui-ja.texi.orig Sun Feb 28 14:35:10 1999
++++ mime-ui-ja.texi Tue Mar 9 06:44:08 1999
+@@ -1,6 +1,10 @@
+ \input texinfo.tex
+ @setfilename mime-ui-ja.info
+ @settitle{SEMI 1.8 $B@bL@=q(B}
++@dircategory The Emacs editor and associated tools
++@direntry
++* mime-ui-ja: (mime-ui-ja). MIME user interface for GNU Emacs. (Japanese)
++@end direntry
+ @titlepage
+ @title SEMI 1.8 $B@bL@=q(B
+ @author $B<i2,(B $BCNI'(B <morioka@@jaist.ac.jp>
diff --git a/editors/semi113-emacs/files/patch-ac b/editors/semi113-emacs/files/patch-ac
new file mode 100644
index 000000000000..2c7aa48962d6
--- /dev/null
+++ b/editors/semi113-emacs/files/patch-ac
@@ -0,0 +1,11 @@
+--- SEMI-CFG.orig Wed Sep 16 15:48:58 1998
++++ SEMI-CFG Sun May 9 21:54:02 1999
+@@ -11,6 +11,8 @@
+ (add-to-list 'load-path
+ (expand-file-name "../../site-lisp/apel" data-directory))
+ (add-to-list 'load-path
++ (expand-file-name "../site-lisp/emu" data-directory))
++(add-to-list 'load-path
+ (expand-file-name "." data-directory))
+
+ (when (boundp 'LISPDIR)
diff --git a/editors/semi113-emacs/pkg-comment b/editors/semi113-emacs/pkg-comment
new file mode 100644
index 000000000000..7a2583f5c95f
--- /dev/null
+++ b/editors/semi113-emacs/pkg-comment
@@ -0,0 +1 @@
+SEMI, Library of MIME feature for GNU Emacs for emacs.
diff --git a/editors/semi113-emacs/pkg-descr b/editors/semi113-emacs/pkg-descr
new file mode 100644
index 000000000000..239c47cea2f9
--- /dev/null
+++ b/editors/semi113-emacs/pkg-descr
@@ -0,0 +1,32 @@
+SEMI, Library of MIME feature for GNU Emacs for emacs.
+
+ SEMI is a library to provide MIME feature for GNU Emacs. MIME is a
+ proposed internet standard for including content and headers other
+ than (ASCII) plain text in messages.
+
+ SEMI 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.
+
+ SEMI is installed the following directory tree:
+ ${PREFIX}/share/emacs/site-lisp/semi/ --- SEMI
+
+
+To use flim, put the following setup into your ~/.emacs:
+
+ (require 'apel-setup)
+ (require 'flim-setup)
+ (require 'semi-setup)
+
+--- Porting by shige <shige@FreeBSD.ORG>
diff --git a/editors/semi113-emacs/pkg-plist b/editors/semi113-emacs/pkg-plist
new file mode 100644
index 000000000000..747de123fba6
--- /dev/null
+++ b/editors/semi113-emacs/pkg-plist
@@ -0,0 +1,36 @@
+%%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-view.el
+%%EMACS_LIBDIR%%/site-lisp/semi/mime-view.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
+%%SEMIDOCDIR%%/ChangeLog
+%%SEMIDOCDIR%%/NEWS
+%%SEMIDOCDIR%%/README.en
+%%SEMIDOCDIR%%/TODO
+%%SEMIDOCDIR%%/VERSION
+@dirrm %%SEMIDOCDIR%%
+@unexec install-info --delete %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-en.info
+info/mime-ui-ja.info
+@exec [ -f %D/info/dir ] || sed -ne '1,/Menu:/p' /usr/share/info/dir > %D/info/dir
+@exec install-info %D/info/mime-ui-en.info %D/info/dir
+@exec install-info %D/info/mime-ui-ja.info %D/info/dir
diff --git a/editors/semi113-emacs/scripts/configure b/editors/semi113-emacs/scripts/configure
new file mode 100644
index 000000000000..a51e74f6c450
--- /dev/null
+++ b/editors/semi113-emacs/scripts/configure
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+TARGETS='semi-setup.el'
+
+for i in ${TARGETS}
+do
+ if [ -f ${WRKDIR}/${i}.in ]; then
+ cat ${WRKDIR}/${i}.in | /usr/bin/sed \
+ -e "s;@@PREFIX@@;${PREFIX};g" \
+ -e "s;@@EMACS_LIBDIR@@;${EMACS_LIBDIR};g" \
+ -e "s;@@EMACS_VER@@;${EMACS_VER};g" \
+ > ${WRKDIR}/${i}
+ fi
+done
diff --git a/editors/semi113/Makefile b/editors/semi113/Makefile
new file mode 100644
index 000000000000..dceffeb63728
--- /dev/null
+++ b/editors/semi113/Makefile
@@ -0,0 +1,114 @@
+# New ports collection makefile for: semi-current for emacs
+# Version required: 1.13.3
+# Date created: 9 May 1999
+# Whom: Shigeyuki FUKUSHIMA <shige@FreeBSD.ORG>
+#
+# $Id$
+#
+
+DISTNAME= semi-${SEMI_VER}
+CATEGORIES= editors elisp
+MASTER_SITES= ftp://ftp.jaist.ac.jp/pub/GNU/elisp/semi/semi-1.13-for-flim-1.12/
+
+MAINTAINER?= shige@FreeBSD.ORG
+
+PORTCLASS?= master
+
+# distfile version
+FLIM_VER= 1.12.5
+SEMI_VER= 1.13.3
+SEMIDOCDIR= share/doc/semi
+SEMI_SETUPEL= semi-setup.el
+
+.if (${PORTCLASS} == "master")
+# emacs port setup
+EMACS_NAME= emacs
+EMACS_PORT= emacs
+EMACS_VER= 19.34
+EMACS_LIBDIR= share/${EMACS_NAME}
+REQUIRE_SETUPEL= YES
+.endif
+
+# target name for make build
+ALL_TARGET?= elc
+
+# if RUN_DEPENDS-emacs port name has the suffix '-common'.
+.if !defined(HAVE_COMMON_PORT)
+HAVE_COMMON_PORT= NO
+.endif
+# if RUN_DEPENDS-emacs needs setup elisp
+.if !defined(REQUIRE_SETUP)
+REQUIRE_SETUPEL= NO
+.endif
+
+.if defined(EMACS_PORT)
+PKGNAME= semi-${EMACS_PORT}-${SEMI_VER}
+EMACS_CMD= ${PREFIX}/bin/${EMACS_NAME}-${EMACS_VER}
+BUILD_DEPENDS= ${EMACS_CMD}:${PORTSDIR}/editors/${EMACS_PORT}
+.if defined(HAVE_COMMON_PORT) && (${HAVE_COMMON_PORT} == "YES")
+RUN_DEPENDS= ${EMACS_CMD}:${PORTSDIR}/editors/${EMACS_PORT}-common
+.else
+RUN_DEPENDS= ${EMACS_CMD}:${PORTSDIR}/editors/${EMACS_PORT}
+.endif
+SCRIPTS_ENV= EMACS_LIBDIR=${EMACS_LIBDIR} EMACS_VER=${EMACS_VER}
+PLIST_SUB= EMACS_LIBDIR=${EMACS_LIBDIR} EMACS_VER=${EMACS_VER} \
+ SEMIDOCDIR=${SEMIDOCDIR}
+MAKE_FLAGS= EMACS=${EMACS_CMD}
+.if (${EMACS_VER} == "19.34")
+# depends on custom: emacs-19.34 or mule-19.34
+BUILD_DEPENDS+= ${PREFIX}/${EMACS_LIBDIR}/${EMACS_VER}/site-lisp/custom.el:${PORTSDIR}/editors/custom-${EMACS_PORT}
+RUN_DEPENDS+= ${PREFIX}/${EMACS_LIBDIR}/${EMACS_VER}/site-lisp/custom.el:${PORTSDIR}/editors/custom-${EMACS_PORT}
+.endif
+# 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}-current
+RUN_DEPENDS+= ${PKG_DBDIR}/flim-${EMACS_PORT}-${FLIM_VER}:${PORTSDIR}/editors/flim-${EMACS_PORT}-current
+.else
+.BEGIN:
+ @${ECHO} "Error: Bad port."
+ @${ECHO} "You must define EMACS_NAME, EMACS_PORT, EMACS_VER, EMACS_LIBDIR."
+ @${FALSE}
+.endif
+
+# info files JIS to EUC
+BUILD_DEPENDS+= nkf:${PORTSDIR}/japanese/nkf
+
+.if (${REQUIRE_SETUPEL} == "YES")
+pre-configure:
+ @${CP} ${FILESDIR}/${SEMI_SETUPEL}.in ${WRKDIR}
+.endif
+
+.include <bsd.port.pre.mk>
+
+MAKEINFO= makeinfo --no-split --no-validate
+
+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_MSG} "===> 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 (${REQUIRE_SETUPEL} == "YES")
+ @${INSTALL_DATA} ${WRKDIR}/${SEMI_SETUPEL} \
+ ${PREFIX}/${EMACS_LIBDIR}/site-lisp
+.endif
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${PREFIX}/${SEMIDOCDIR}
+ @(cd ${WRKSRC} ; \
+ for i in ChangeLog NEWS README.* TODO VERSION ; do \
+ ${INSTALL_DATA} $${i} ${PREFIX}/${SEMIDOCDIR}/ ; \
+ done)
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/editors/semi113/distinfo b/editors/semi113/distinfo
new file mode 100644
index 000000000000..97b011dccc56
--- /dev/null
+++ b/editors/semi113/distinfo
@@ -0,0 +1 @@
+MD5 (semi-1.13.3.tar.gz) = 6015cca40c844a9c93083c3e73463d5d
diff --git a/editors/semi113/files/patch-aa b/editors/semi113/files/patch-aa
new file mode 100644
index 000000000000..5eb2a1996015
--- /dev/null
+++ b/editors/semi113/files/patch-aa
@@ -0,0 +1,13 @@
+--- mime-ui-en.texi.orig Sun Feb 28 14:35:10 1999
++++ mime-ui-en.texi Tue Mar 9 06:43:58 1999
+@@ -1,6 +1,10 @@
+ \input texinfo.tex
+ @setfilename mime-ui-en.info
+ @settitle{SEMI 1.8 Manual}
++@dircategory The Emacs editor and associated tools
++@direntry
++* mime-ui-en: (mime-ui-en). MIME user interface for GNU Emacs. (English)
++@end direntry
+ @titlepage
+ @title SEMI 1.8 Manual
+ @author MORIOKA Tomohiko <morioka@@jaist.ac.jp>
diff --git a/editors/semi113/files/patch-ab b/editors/semi113/files/patch-ab
new file mode 100644
index 000000000000..818a0c70c32a
--- /dev/null
+++ b/editors/semi113/files/patch-ab
@@ -0,0 +1,13 @@
+--- mime-ui-ja.texi.orig Sun Feb 28 14:35:10 1999
++++ mime-ui-ja.texi Tue Mar 9 06:44:08 1999
+@@ -1,6 +1,10 @@
+ \input texinfo.tex
+ @setfilename mime-ui-ja.info
+ @settitle{SEMI 1.8 $B@bL@=q(B}
++@dircategory The Emacs editor and associated tools
++@direntry
++* mime-ui-ja: (mime-ui-ja). MIME user interface for GNU Emacs. (Japanese)
++@end direntry
+ @titlepage
+ @title SEMI 1.8 $B@bL@=q(B
+ @author $B<i2,(B $BCNI'(B <morioka@@jaist.ac.jp>
diff --git a/editors/semi113/files/patch-ac b/editors/semi113/files/patch-ac
new file mode 100644
index 000000000000..2c7aa48962d6
--- /dev/null
+++ b/editors/semi113/files/patch-ac
@@ -0,0 +1,11 @@
+--- SEMI-CFG.orig Wed Sep 16 15:48:58 1998
++++ SEMI-CFG Sun May 9 21:54:02 1999
+@@ -11,6 +11,8 @@
+ (add-to-list 'load-path
+ (expand-file-name "../../site-lisp/apel" data-directory))
+ (add-to-list 'load-path
++ (expand-file-name "../site-lisp/emu" data-directory))
++(add-to-list 'load-path
+ (expand-file-name "." data-directory))
+
+ (when (boundp 'LISPDIR)
diff --git a/editors/semi113/pkg-comment.emacs19 b/editors/semi113/pkg-comment.emacs19
new file mode 100644
index 000000000000..7a2583f5c95f
--- /dev/null
+++ b/editors/semi113/pkg-comment.emacs19
@@ -0,0 +1 @@
+SEMI, Library of MIME feature for GNU Emacs for emacs.
diff --git a/editors/semi113/pkg-descr.emacs19 b/editors/semi113/pkg-descr.emacs19
new file mode 100644
index 000000000000..239c47cea2f9
--- /dev/null
+++ b/editors/semi113/pkg-descr.emacs19
@@ -0,0 +1,32 @@
+SEMI, Library of MIME feature for GNU Emacs for emacs.
+
+ SEMI is a library to provide MIME feature for GNU Emacs. MIME is a
+ proposed internet standard for including content and headers other
+ than (ASCII) plain text in messages.
+
+ SEMI 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.
+
+ SEMI is installed the following directory tree:
+ ${PREFIX}/share/emacs/site-lisp/semi/ --- SEMI
+
+
+To use flim, put the following setup into your ~/.emacs:
+
+ (require 'apel-setup)
+ (require 'flim-setup)
+ (require 'semi-setup)
+
+--- Porting by shige <shige@FreeBSD.ORG>
diff --git a/editors/semi113/pkg-plist.emacs19 b/editors/semi113/pkg-plist.emacs19
new file mode 100644
index 000000000000..747de123fba6
--- /dev/null
+++ b/editors/semi113/pkg-plist.emacs19
@@ -0,0 +1,36 @@
+%%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-view.el
+%%EMACS_LIBDIR%%/site-lisp/semi/mime-view.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
+%%SEMIDOCDIR%%/ChangeLog
+%%SEMIDOCDIR%%/NEWS
+%%SEMIDOCDIR%%/README.en
+%%SEMIDOCDIR%%/TODO
+%%SEMIDOCDIR%%/VERSION
+@dirrm %%SEMIDOCDIR%%
+@unexec install-info --delete %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-en.info
+info/mime-ui-ja.info
+@exec [ -f %D/info/dir ] || sed -ne '1,/Menu:/p' /usr/share/info/dir > %D/info/dir
+@exec install-info %D/info/mime-ui-en.info %D/info/dir
+@exec install-info %D/info/mime-ui-ja.info %D/info/dir
diff --git a/editors/semi113/scripts/configure b/editors/semi113/scripts/configure
new file mode 100644
index 000000000000..a51e74f6c450
--- /dev/null
+++ b/editors/semi113/scripts/configure
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+TARGETS='semi-setup.el'
+
+for i in ${TARGETS}
+do
+ if [ -f ${WRKDIR}/${i}.in ]; then
+ cat ${WRKDIR}/${i}.in | /usr/bin/sed \
+ -e "s;@@PREFIX@@;${PREFIX};g" \
+ -e "s;@@EMACS_LIBDIR@@;${EMACS_LIBDIR};g" \
+ -e "s;@@EMACS_VER@@;${EMACS_VER};g" \
+ > ${WRKDIR}/${i}
+ fi
+done
diff --git a/editors/semi114-emacs20/Makefile b/editors/semi114-emacs20/Makefile
new file mode 100644
index 000000000000..dceffeb63728
--- /dev/null
+++ b/editors/semi114-emacs20/Makefile
@@ -0,0 +1,114 @@
+# New ports collection makefile for: semi-current for emacs
+# Version required: 1.13.3
+# Date created: 9 May 1999
+# Whom: Shigeyuki FUKUSHIMA <shige@FreeBSD.ORG>
+#
+# $Id$
+#
+
+DISTNAME= semi-${SEMI_VER}
+CATEGORIES= editors elisp
+MASTER_SITES= ftp://ftp.jaist.ac.jp/pub/GNU/elisp/semi/semi-1.13-for-flim-1.12/
+
+MAINTAINER?= shige@FreeBSD.ORG
+
+PORTCLASS?= master
+
+# distfile version
+FLIM_VER= 1.12.5
+SEMI_VER= 1.13.3
+SEMIDOCDIR= share/doc/semi
+SEMI_SETUPEL= semi-setup.el
+
+.if (${PORTCLASS} == "master")
+# emacs port setup
+EMACS_NAME= emacs
+EMACS_PORT= emacs
+EMACS_VER= 19.34
+EMACS_LIBDIR= share/${EMACS_NAME}
+REQUIRE_SETUPEL= YES
+.endif
+
+# target name for make build
+ALL_TARGET?= elc
+
+# if RUN_DEPENDS-emacs port name has the suffix '-common'.
+.if !defined(HAVE_COMMON_PORT)
+HAVE_COMMON_PORT= NO
+.endif
+# if RUN_DEPENDS-emacs needs setup elisp
+.if !defined(REQUIRE_SETUP)
+REQUIRE_SETUPEL= NO
+.endif
+
+.if defined(EMACS_PORT)
+PKGNAME= semi-${EMACS_PORT}-${SEMI_VER}
+EMACS_CMD= ${PREFIX}/bin/${EMACS_NAME}-${EMACS_VER}
+BUILD_DEPENDS= ${EMACS_CMD}:${PORTSDIR}/editors/${EMACS_PORT}
+.if defined(HAVE_COMMON_PORT) && (${HAVE_COMMON_PORT} == "YES")
+RUN_DEPENDS= ${EMACS_CMD}:${PORTSDIR}/editors/${EMACS_PORT}-common
+.else
+RUN_DEPENDS= ${EMACS_CMD}:${PORTSDIR}/editors/${EMACS_PORT}
+.endif
+SCRIPTS_ENV= EMACS_LIBDIR=${EMACS_LIBDIR} EMACS_VER=${EMACS_VER}
+PLIST_SUB= EMACS_LIBDIR=${EMACS_LIBDIR} EMACS_VER=${EMACS_VER} \
+ SEMIDOCDIR=${SEMIDOCDIR}
+MAKE_FLAGS= EMACS=${EMACS_CMD}
+.if (${EMACS_VER} == "19.34")
+# depends on custom: emacs-19.34 or mule-19.34
+BUILD_DEPENDS+= ${PREFIX}/${EMACS_LIBDIR}/${EMACS_VER}/site-lisp/custom.el:${PORTSDIR}/editors/custom-${EMACS_PORT}
+RUN_DEPENDS+= ${PREFIX}/${EMACS_LIBDIR}/${EMACS_VER}/site-lisp/custom.el:${PORTSDIR}/editors/custom-${EMACS_PORT}
+.endif
+# 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}-current
+RUN_DEPENDS+= ${PKG_DBDIR}/flim-${EMACS_PORT}-${FLIM_VER}:${PORTSDIR}/editors/flim-${EMACS_PORT}-current
+.else
+.BEGIN:
+ @${ECHO} "Error: Bad port."
+ @${ECHO} "You must define EMACS_NAME, EMACS_PORT, EMACS_VER, EMACS_LIBDIR."
+ @${FALSE}
+.endif
+
+# info files JIS to EUC
+BUILD_DEPENDS+= nkf:${PORTSDIR}/japanese/nkf
+
+.if (${REQUIRE_SETUPEL} == "YES")
+pre-configure:
+ @${CP} ${FILESDIR}/${SEMI_SETUPEL}.in ${WRKDIR}
+.endif
+
+.include <bsd.port.pre.mk>
+
+MAKEINFO= makeinfo --no-split --no-validate
+
+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_MSG} "===> 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 (${REQUIRE_SETUPEL} == "YES")
+ @${INSTALL_DATA} ${WRKDIR}/${SEMI_SETUPEL} \
+ ${PREFIX}/${EMACS_LIBDIR}/site-lisp
+.endif
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${PREFIX}/${SEMIDOCDIR}
+ @(cd ${WRKSRC} ; \
+ for i in ChangeLog NEWS README.* TODO VERSION ; do \
+ ${INSTALL_DATA} $${i} ${PREFIX}/${SEMIDOCDIR}/ ; \
+ done)
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/editors/semi114-emacs20/distinfo b/editors/semi114-emacs20/distinfo
new file mode 100644
index 000000000000..97b011dccc56
--- /dev/null
+++ b/editors/semi114-emacs20/distinfo
@@ -0,0 +1 @@
+MD5 (semi-1.13.3.tar.gz) = 6015cca40c844a9c93083c3e73463d5d
diff --git a/editors/semi114-emacs20/files/patch-aa b/editors/semi114-emacs20/files/patch-aa
new file mode 100644
index 000000000000..5eb2a1996015
--- /dev/null
+++ b/editors/semi114-emacs20/files/patch-aa
@@ -0,0 +1,13 @@
+--- mime-ui-en.texi.orig Sun Feb 28 14:35:10 1999
++++ mime-ui-en.texi Tue Mar 9 06:43:58 1999
+@@ -1,6 +1,10 @@
+ \input texinfo.tex
+ @setfilename mime-ui-en.info
+ @settitle{SEMI 1.8 Manual}
++@dircategory The Emacs editor and associated tools
++@direntry
++* mime-ui-en: (mime-ui-en). MIME user interface for GNU Emacs. (English)
++@end direntry
+ @titlepage
+ @title SEMI 1.8 Manual
+ @author MORIOKA Tomohiko <morioka@@jaist.ac.jp>
diff --git a/editors/semi114-emacs20/files/patch-ab b/editors/semi114-emacs20/files/patch-ab
new file mode 100644
index 000000000000..818a0c70c32a
--- /dev/null
+++ b/editors/semi114-emacs20/files/patch-ab
@@ -0,0 +1,13 @@
+--- mime-ui-ja.texi.orig Sun Feb 28 14:35:10 1999
++++ mime-ui-ja.texi Tue Mar 9 06:44:08 1999
+@@ -1,6 +1,10 @@
+ \input texinfo.tex
+ @setfilename mime-ui-ja.info
+ @settitle{SEMI 1.8 $B@bL@=q(B}
++@dircategory The Emacs editor and associated tools
++@direntry
++* mime-ui-ja: (mime-ui-ja). MIME user interface for GNU Emacs. (Japanese)
++@end direntry
+ @titlepage
+ @title SEMI 1.8 $B@bL@=q(B
+ @author $B<i2,(B $BCNI'(B <morioka@@jaist.ac.jp>
diff --git a/editors/semi114-emacs20/files/patch-ac b/editors/semi114-emacs20/files/patch-ac
new file mode 100644
index 000000000000..2c7aa48962d6
--- /dev/null
+++ b/editors/semi114-emacs20/files/patch-ac
@@ -0,0 +1,11 @@
+--- SEMI-CFG.orig Wed Sep 16 15:48:58 1998
++++ SEMI-CFG Sun May 9 21:54:02 1999
+@@ -11,6 +11,8 @@
+ (add-to-list 'load-path
+ (expand-file-name "../../site-lisp/apel" data-directory))
+ (add-to-list 'load-path
++ (expand-file-name "../site-lisp/emu" data-directory))
++(add-to-list 'load-path
+ (expand-file-name "." data-directory))
+
+ (when (boundp 'LISPDIR)
diff --git a/editors/semi114-emacs20/pkg-comment b/editors/semi114-emacs20/pkg-comment
new file mode 100644
index 000000000000..7a2583f5c95f
--- /dev/null
+++ b/editors/semi114-emacs20/pkg-comment
@@ -0,0 +1 @@
+SEMI, Library of MIME feature for GNU Emacs for emacs.
diff --git a/editors/semi114-emacs20/pkg-descr b/editors/semi114-emacs20/pkg-descr
new file mode 100644
index 000000000000..239c47cea2f9
--- /dev/null
+++ b/editors/semi114-emacs20/pkg-descr
@@ -0,0 +1,32 @@
+SEMI, Library of MIME feature for GNU Emacs for emacs.
+
+ SEMI is a library to provide MIME feature for GNU Emacs. MIME is a
+ proposed internet standard for including content and headers other
+ than (ASCII) plain text in messages.
+
+ SEMI 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.
+
+ SEMI is installed the following directory tree:
+ ${PREFIX}/share/emacs/site-lisp/semi/ --- SEMI
+
+
+To use flim, put the following setup into your ~/.emacs:
+
+ (require 'apel-setup)
+ (require 'flim-setup)
+ (require 'semi-setup)
+
+--- Porting by shige <shige@FreeBSD.ORG>
diff --git a/editors/semi114-emacs20/pkg-plist b/editors/semi114-emacs20/pkg-plist
new file mode 100644
index 000000000000..747de123fba6
--- /dev/null
+++ b/editors/semi114-emacs20/pkg-plist
@@ -0,0 +1,36 @@
+%%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-view.el
+%%EMACS_LIBDIR%%/site-lisp/semi/mime-view.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
+%%SEMIDOCDIR%%/ChangeLog
+%%SEMIDOCDIR%%/NEWS
+%%SEMIDOCDIR%%/README.en
+%%SEMIDOCDIR%%/TODO
+%%SEMIDOCDIR%%/VERSION
+@dirrm %%SEMIDOCDIR%%
+@unexec install-info --delete %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-en.info
+info/mime-ui-ja.info
+@exec [ -f %D/info/dir ] || sed -ne '1,/Menu:/p' /usr/share/info/dir > %D/info/dir
+@exec install-info %D/info/mime-ui-en.info %D/info/dir
+@exec install-info %D/info/mime-ui-ja.info %D/info/dir
diff --git a/editors/semi114-emacs20/scripts/configure b/editors/semi114-emacs20/scripts/configure
new file mode 100644
index 000000000000..a51e74f6c450
--- /dev/null
+++ b/editors/semi114-emacs20/scripts/configure
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+TARGETS='semi-setup.el'
+
+for i in ${TARGETS}
+do
+ if [ -f ${WRKDIR}/${i}.in ]; then
+ cat ${WRKDIR}/${i}.in | /usr/bin/sed \
+ -e "s;@@PREFIX@@;${PREFIX};g" \
+ -e "s;@@EMACS_LIBDIR@@;${EMACS_LIBDIR};g" \
+ -e "s;@@EMACS_VER@@;${EMACS_VER};g" \
+ > ${WRKDIR}/${i}
+ fi
+done