mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-19 08:13:21 +00:00
New port: editors/wemi-emacs-current.
This commit is contained in:
parent
6f62d34176
commit
bbdf45d29e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=18739
114
editors/wemi-emacs-current/Makefile
Normal file
114
editors/wemi-emacs-current/Makefile
Normal file
@ -0,0 +1,114 @@
|
||||
# New ports collection makefile for: wemi-current for emacs
|
||||
# Version required: 1.13.3
|
||||
# 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/wemi/
|
||||
|
||||
MAINTAINER?= shige@FreeBSD.ORG
|
||||
|
||||
PORTCLASS?= master
|
||||
|
||||
# distfile version
|
||||
FLIM_VER= 1.12.5
|
||||
WEMI_VER= 1.13.3
|
||||
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}-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}/${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>
|
1
editors/wemi-emacs-current/distinfo
Normal file
1
editors/wemi-emacs-current/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (wemi-1.13.3.tar.gz) = aad6c44a2ec2106ef2287505207cf2e9
|
13
editors/wemi-emacs-current/files/patch-aa
Normal file
13
editors/wemi-emacs-current/files/patch-aa
Normal file
@ -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>
|
13
editors/wemi-emacs-current/files/patch-ab
Normal file
13
editors/wemi-emacs-current/files/patch-ab
Normal file
@ -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>
|
11
editors/wemi-emacs-current/files/patch-ac
Normal file
11
editors/wemi-emacs-current/files/patch-ac
Normal file
@ -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)
|
1
editors/wemi-emacs-current/pkg-comment
Normal file
1
editors/wemi-emacs-current/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
WEMI, Library of MIME feature for GNU Emacs (branch of SEMI kernel package).
|
47
editors/wemi-emacs-current/pkg-descr
Normal file
47
editors/wemi-emacs-current/pkg-descr
Normal file
@ -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>
|
37
editors/wemi-emacs-current/pkg-plist
Normal file
37
editors/wemi-emacs-current/pkg-plist
Normal file
@ -0,0 +1,37 @@
|
||||
%%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
|
||||
%%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
|
14
editors/wemi-emacs-current/scripts/configure
vendored
Normal file
14
editors/wemi-emacs-current/scripts/configure
vendored
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user