diff options
author | shige <shige@FreeBSD.org> | 1999-05-10 21:37:23 +0800 |
---|---|---|
committer | shige <shige@FreeBSD.org> | 1999-05-10 21:37:23 +0800 |
commit | cc61dfed49a5ae977e04394255f41ed0995ed79e (patch) | |
tree | cea1f6bba9f8c149d32e410739436d733b1624c2 /editors/wemi-emacs | |
parent | 566392f88fd70ce3a35e5ef41388c63d08d3a44f (diff) | |
download | freebsd-ports-gnome-cc61dfed49a5ae977e04394255f41ed0995ed79e.tar.gz freebsd-ports-gnome-cc61dfed49a5ae977e04394255f41ed0995ed79e.tar.zst freebsd-ports-gnome-cc61dfed49a5ae977e04394255f41ed0995ed79e.zip |
New port: editors/wemi-emacs.
Diffstat (limited to 'editors/wemi-emacs')
-rw-r--r-- | editors/wemi-emacs/Makefile | 114 | ||||
-rw-r--r-- | editors/wemi-emacs/distinfo | 1 | ||||
-rw-r--r-- | editors/wemi-emacs/files/patch-aa | 13 | ||||
-rw-r--r-- | editors/wemi-emacs/files/patch-ab | 13 | ||||
-rw-r--r-- | editors/wemi-emacs/files/patch-ac | 11 | ||||
-rw-r--r-- | editors/wemi-emacs/pkg-comment | 1 | ||||
-rw-r--r-- | editors/wemi-emacs/pkg-descr | 47 | ||||
-rw-r--r-- | editors/wemi-emacs/pkg-plist | 39 | ||||
-rw-r--r-- | editors/wemi-emacs/scripts/configure | 14 |
9 files changed, 253 insertions, 0 deletions
diff --git a/editors/wemi-emacs/Makefile b/editors/wemi-emacs/Makefile new file mode 100644 index 000000000000..36932988ef1d --- /dev/null +++ b/editors/wemi-emacs/Makefile @@ -0,0 +1,114 @@ +# New ports collection makefile for: wemi for emacs +# Version required: 1.8.6 +# Date created: 9 May 1999 +# Whom: Shigeyuki FUKUSHIMA <shige@FreeBSD.ORG> +# +# $Id$ +# + +DISTNAME= wemi-${WEMI_VER} +CATEGORIES= editors elisp +MASTER_SITES= ftp://ftp.jaist.ac.jp/pub/GNU/elisp/semi/semi-1.08-for-flim-1.9/ + +MAINTAINER?= shige@FreeBSD.ORG + +PORTCLASS?= master + +# distfile version +FLIM_VER= 1.9.2 +WEMI_VER= 1.8.6 +WEMIDOCDIR= share/doc/semi +WEMI_SETUPEL= wemi-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_SETUPEL) +REQUIRE_SETUPEL= NO +.endif + +.if defined(EMACS_PORT) +PKGNAME= wemi-${EMACS_PORT}-${WEMI_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} \ + WEMIDOCDIR=${WEMIDOCDIR} +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} +RUN_DEPENDS+= ${PKG_DBDIR}/flim-${EMACS_PORT}-${FLIM_VER}:${PORTSDIR}/editors/flim-${EMACS_PORT} +.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}/${WEMI_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}/${WEMI_SETUPEL} \ + ${PREFIX}/${EMACS_LIBDIR}/site-lisp +.endif +.if !defined(NOPORTDOCS) + @${MKDIR} ${PREFIX}/${WEMIDOCDIR} + @(cd ${WRKSRC} ; \ + for i in ChangeLog NEWS README.* TODO VERSION ; do \ + ${INSTALL_DATA} $${i} ${PREFIX}/${WEMIDOCDIR}/ ; \ + done) +.endif + +.include <bsd.port.post.mk> diff --git a/editors/wemi-emacs/distinfo b/editors/wemi-emacs/distinfo new file mode 100644 index 000000000000..f1e6e6175861 --- /dev/null +++ b/editors/wemi-emacs/distinfo @@ -0,0 +1 @@ +MD5 (wemi-1.8.6.tar.gz) = 7459d1d821640ea83ab9284afe973809 diff --git a/editors/wemi-emacs/files/patch-aa b/editors/wemi-emacs/files/patch-aa new file mode 100644 index 000000000000..96c4b7fab9da --- /dev/null +++ b/editors/wemi-emacs/files/patch-aa @@ -0,0 +1,13 @@ +--- mime-ui-en.texi.orig Wed Sep 16 15:48:59 1998 ++++ mime-ui-en.texi Tue Mar 9 06:27:08 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/wemi-emacs/files/patch-ab b/editors/wemi-emacs/files/patch-ab new file mode 100644 index 000000000000..6b0fd03f083b --- /dev/null +++ b/editors/wemi-emacs/files/patch-ab @@ -0,0 +1,13 @@ +--- mime-ui-ja.texi.orig Wed Sep 16 15:48:59 1998 ++++ mime-ui-ja.texi Tue Mar 9 06:27:18 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/wemi-emacs/files/patch-ac b/editors/wemi-emacs/files/patch-ac new file mode 100644 index 000000000000..2c7aa48962d6 --- /dev/null +++ b/editors/wemi-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/wemi-emacs/pkg-comment b/editors/wemi-emacs/pkg-comment new file mode 100644 index 000000000000..2fb010b77f5b --- /dev/null +++ b/editors/wemi-emacs/pkg-comment @@ -0,0 +1 @@ +WEMI, Library of MIME feature for GNU Emacs (branch of SEMI kernel package). diff --git a/editors/wemi-emacs/pkg-descr b/editors/wemi-emacs/pkg-descr new file mode 100644 index 000000000000..2fb2b904e653 --- /dev/null +++ b/editors/wemi-emacs/pkg-descr @@ -0,0 +1,47 @@ +WEMI, Library of MIME feature for GNU Emacs for 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. + + +To use wemi, put the following setup into your ~/.emacs: + + (require 'apel-setup) + (require 'flim-setup) + (require 'wemi-setup) + +--- Porting by shige <shige@FreeBSD.ORG> diff --git a/editors/wemi-emacs/pkg-plist b/editors/wemi-emacs/pkg-plist new file mode 100644 index 000000000000..3bf954aabbf8 --- /dev/null +++ b/editors/wemi-emacs/pkg-plist @@ -0,0 +1,39 @@ +%%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-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 +%%EMACS_LIBDIR%%/site-lisp/wemi-setup.el +@dirrm %%EMACS_LIBDIR%%/site-lisp/semi +%%WEMIDOCDIR%%/ChangeLog +%%WEMIDOCDIR%%/NEWS +%%WEMIDOCDIR%%/README.en +%%WEMIDOCDIR%%/TODO +%%WEMIDOCDIR%%/VERSION +@dirrm %%WEMIDOCDIR%% +@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/wemi-emacs/scripts/configure b/editors/wemi-emacs/scripts/configure new file mode 100644 index 000000000000..a54b4831cebf --- /dev/null +++ b/editors/wemi-emacs/scripts/configure @@ -0,0 +1,14 @@ +#!/bin/sh + +TARGETS='wemi-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 |