summaryrefslogtreecommitdiffstats
path: root/editors/semi114-emacs20
diff options
context:
space:
mode:
authorshige <shige@FreeBSD.org>1999-05-09 16:54:11 +0000
committershige <shige@FreeBSD.org>1999-05-09 16:54:11 +0000
commita48e584e4cfb5796538a1d638dced246372307c4 (patch)
treed6e99c620757c4aec06de59758c654bec55e57b9 /editors/semi114-emacs20
parent88cc720eb4c384f7f4b39468e189cb31f5b50493 (diff)
downloadFreeBSD-ports-a48e584e4cfb5796538a1d638dced246372307c4.zip
FreeBSD-ports-a48e584e4cfb5796538a1d638dced246372307c4.tar.gz
New port: editors/semi-emacs-current.
Diffstat (limited to 'editors/semi114-emacs20')
-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
9 files changed, 235 insertions, 0 deletions
diff --git a/editors/semi114-emacs20/Makefile b/editors/semi114-emacs20/Makefile
new file mode 100644
index 0000000..dceffeb
--- /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 0000000..97b011d
--- /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 0000000..5eb2a19
--- /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 0000000..818a0c7
--- /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 0000000..2c7aa48
--- /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 0000000..7a2583f
--- /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 0000000..239c47c
--- /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 0000000..747de12
--- /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 0000000..a51e74f
--- /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
OpenPOWER on IntegriCloud