aboutsummaryrefslogtreecommitdiffstats
path: root/editors/apel
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>1999-01-02 21:26:51 +0800
committerkuriyama <kuriyama@FreeBSD.org>1999-01-02 21:26:51 +0800
commit62e515a1671a0344caf8227fbbcd4d1fc1aef30b (patch)
tree5797597e4a823bbf319446ec40379b289249f58e /editors/apel
parent62617a95079bfb67512418cc2b503b95d45ca2c8 (diff)
downloadfreebsd-ports-gnome-62e515a1671a0344caf8227fbbcd4d1fc1aef30b.tar.gz
freebsd-ports-gnome-62e515a1671a0344caf8227fbbcd4d1fc1aef30b.tar.zst
freebsd-ports-gnome-62e515a1671a0344caf8227fbbcd4d1fc1aef30b.zip
editors/apel-emacs:
A Portable Emacs Library for emacs. editors/apel-emacs20: A Portable Emacs Library for emacs20. editors/apel-mule: A Portable Emacs Library for mule. o Correct "Version required" header in apel-emacs/Makefile. o Fix virtual category "elisps" to "elisp". PR: ports/8831 Submitted: Shigeyuki FUKUSHIMA <shige@kuis.kyoto-u.ac.jp>
Diffstat (limited to 'editors/apel')
-rw-r--r--editors/apel/Makefile68
-rw-r--r--editors/apel/distinfo1
-rw-r--r--editors/apel/files/patch-aa10
-rw-r--r--editors/apel/files/patch-ac11
-rw-r--r--editors/apel/pkg-comment.emacs191
-rw-r--r--editors/apel/pkg-comment.emacs201
-rw-r--r--editors/apel/pkg-comment.emacs211
-rw-r--r--editors/apel/pkg-comment.mule1
-rw-r--r--editors/apel/pkg-descr.emacs1934
-rw-r--r--editors/apel/pkg-descr.emacs2029
-rw-r--r--editors/apel/pkg-descr.emacs2129
-rw-r--r--editors/apel/pkg-descr.mule34
-rw-r--r--editors/apel/pkg-plist.emacs1937
-rw-r--r--editors/apel/pkg-plist.emacs2044
-rw-r--r--editors/apel/pkg-plist.emacs2144
-rw-r--r--editors/apel/pkg-plist.mule41
-rw-r--r--editors/apel/scripts/configure12
17 files changed, 398 insertions, 0 deletions
diff --git a/editors/apel/Makefile b/editors/apel/Makefile
new file mode 100644
index 000000000000..d93de033294b
--- /dev/null
+++ b/editors/apel/Makefile
@@ -0,0 +1,68 @@
+# New ports collection makefile for: apel for emacs
+# Version required: 9.12
+# Date created: 23 September 1998
+# Whom: Shigeyuki FUKUSHIMA <shige@kuis.kyoto-u.ac.jp>
+#
+# $Id$
+#
+
+DISTNAME= apel-${APEL_VER}
+CATEGORIES= editors elisp
+MASTER_SITES= ftp://ftp.jaist.ac.jp/pub/GNU/elisp/apel/
+
+MAINTAINER?= shige@kuis.kyoto-u.ac.jp
+
+# distfile version
+APEL_VER= 9.12
+APEL_SETUPEL= apel-setup.el
+
+# This is a master port.
+PORTCLASS?= master
+
+.if (${PORTCLASS} == "master")
+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 defined(EMACS_PORT)
+PKGNAME= apel-${EMACS_PORT}-${APEL_VER}
+EMACS_CMD= ${PREFIX}/bin/${EMACS_NAME}-${EMACS_VER}
+.if !defined(HAVE_COMMON_PORT)
+HAVE_COMMON_PORT= NO
+.endif
+.if !defined(REQUIRE_SETUPEL)
+REQUIRE_SETUPEL= NO
+.endif
+.if defined(HAVE_COMMON_PORT) && (${HAVE_COMMON_PORT} == "YES")
+BUILD_DEPENDS= ${EMACS_CMD}:${PORTSDIR}/editors/${EMACS_PORT}-common
+RUN_DEPENDS= ${EMACS_CMD}:${PORTSDIR}/editors/${EMACS_PORT}-common
+.else
+BUILD_DEPENDS= ${EMACS_CMD}:${PORTSDIR}/editors/${EMACS_PORT}
+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}
+MAKE_FLAGS= EMACS=${EMACS_CMD}
+.else
+.BEGIN:
+ @${ECHO} "Error: Bad port."
+ @${ECHO} "You must define EMACS_NAME, EMACS_PORT, EMACS_VER, EMACS_LIBDIR."
+ @${FALSE}
+.endif
+
+.if (${REQUIRE_SETUPEL} == "YES")
+pre-configure:
+ @${CP} ${FILESDIR}/${APEL_SETUPEL}.in ${WRKDIR}
+
+post-install:
+ @${INSTALL_DATA} ${WRKDIR}/${APEL_SETUPEL} \
+ ${PREFIX}/${EMACS_LIBDIR}/site-lisp
+.endif
+
+.include <bsd.port.mk>
diff --git a/editors/apel/distinfo b/editors/apel/distinfo
new file mode 100644
index 000000000000..9a00b7e2f379
--- /dev/null
+++ b/editors/apel/distinfo
@@ -0,0 +1 @@
+MD5 (apel-9.12.tar.gz) = bd8e304990b83ac186cb00ee57fafdbd
diff --git a/editors/apel/files/patch-aa b/editors/apel/files/patch-aa
new file mode 100644
index 000000000000..d8595b1a9a38
--- /dev/null
+++ b/editors/apel/files/patch-aa
@@ -0,0 +1,10 @@
+--- Makefile.orig Tue Oct 27 23:58:27 1998
++++ Makefile Sun Nov 1 20:44:21 1998
+@@ -17,6 +17,7 @@
+ PACKAGEDIR = NONE
+ VERSION_SPECIFIC_LISPDIR = NONE
+
++all: elc
+
+ elc:
+ $(EMACS) $(FLAGS) -f compile-apel
diff --git a/editors/apel/files/patch-ac b/editors/apel/files/patch-ac
new file mode 100644
index 000000000000..ab74bc332e6f
--- /dev/null
+++ b/editors/apel/files/patch-ac
@@ -0,0 +1,11 @@
+--- poem-ltn1.el.orig Sun Dec 27 11:19:17 1998
++++ poem-ltn1.el Sun Dec 27 11:19:20 1998
+@@ -161,7 +161,7 @@
+ (let ((emx-binary-mode t))
+ (find-file-noselect filename nowarn rawfile)))
+
+-(defalias find-file-noselect-as-raw-text 'find-file-noselect)
++(defalias 'find-file-noselect-as-raw-text 'find-file-noselect)
+
+ (defun open-network-stream-as-binary (name buffer host service)
+ "Like `open-network-stream', q.v., but don't code conversion."
diff --git a/editors/apel/pkg-comment.emacs19 b/editors/apel/pkg-comment.emacs19
new file mode 100644
index 000000000000..28ffde6807db
--- /dev/null
+++ b/editors/apel/pkg-comment.emacs19
@@ -0,0 +1 @@
+A Portable Emacs Library for emacs.
diff --git a/editors/apel/pkg-comment.emacs20 b/editors/apel/pkg-comment.emacs20
new file mode 100644
index 000000000000..ddf6d9504fd4
--- /dev/null
+++ b/editors/apel/pkg-comment.emacs20
@@ -0,0 +1 @@
+A Portable Emacs Library for emacs20.
diff --git a/editors/apel/pkg-comment.emacs21 b/editors/apel/pkg-comment.emacs21
new file mode 100644
index 000000000000..ddf6d9504fd4
--- /dev/null
+++ b/editors/apel/pkg-comment.emacs21
@@ -0,0 +1 @@
+A Portable Emacs Library for emacs20.
diff --git a/editors/apel/pkg-comment.mule b/editors/apel/pkg-comment.mule
new file mode 100644
index 000000000000..23aba2c81559
--- /dev/null
+++ b/editors/apel/pkg-comment.mule
@@ -0,0 +1 @@
+A Portable Emacs Library for mule.
diff --git a/editors/apel/pkg-descr.emacs19 b/editors/apel/pkg-descr.emacs19
new file mode 100644
index 000000000000..988c0056a9b4
--- /dev/null
+++ b/editors/apel/pkg-descr.emacs19
@@ -0,0 +1,34 @@
+A Portable Emacs Library.
+
+--- Emacs Library Porting
+
+APEL is programed by MORIOKA Tomohiko <morioka@jaist.ac.jp>.
+
+ APEL stands for "A Portable Emacs Library". It consists of
+ following modules:
+ APEL
+ - utility to write portable CCL program
+ - utility for Association-list
+ - utility for condition tree and condition/situation-alist
+ - utility for path management or file detection
+ - utility to make file-name
+ - utility to install emacs-lisp package
+ - ROT 13-47-48 Caesar rotation utility
+ emu
+ - poe: emulation module mainly for basic functions and special forms/macros
+ - poem: provide basic functions to write portable MULE programs
+ - mcs: provide MIME charset related features
+ - broken: provide information of broken facilities of Emacs.
+ - emu: bundled in tm-7.106 compat module; it required poe, poem and mcs
+ - text/richtext module
+
+ APEL is installed the following directory tree:
+ ${PREFIX}/share/emacs/site-lisp/apel/ --- APEL
+ ${PREFIX}/share/emacs/19.34/site-lisp/emu/ --- emu
+
+
+To use apel, put the following setup into your ~/.emacs:
+
+ (require 'apel-setup)
+
+--- Porting by shige <shige@kuis.kyoto-u.ac.jp>
diff --git a/editors/apel/pkg-descr.emacs20 b/editors/apel/pkg-descr.emacs20
new file mode 100644
index 000000000000..19f14fa18fdb
--- /dev/null
+++ b/editors/apel/pkg-descr.emacs20
@@ -0,0 +1,29 @@
+A Portable Emacs Library.
+
+--- Emacs Library Porting
+
+APEL is programed by MORIOKA Tomohiko <morioka@jaist.ac.jp>.
+
+ APEL stands for "A Portable Emacs Library". It consists of
+ following modules:
+ APEL
+ - utility to write portable CCL program
+ - utility for Association-list
+ - utility for condition tree and condition/situation-alist
+ - utility for path management or file detection
+ - utility to make file-name
+ - utility to install emacs-lisp package
+ - ROT 13-47-48 Caesar rotation utility
+ emu
+ - poe: emulation module mainly for basic functions and special forms/macros
+ - poem: provide basic functions to write portable MULE programs
+ - mcs: provide MIME charset related features
+ - broken: provide information of broken facilities of Emacs.
+ - emu: bundled in tm-7.106 compat module; it required poe, poem and mcs
+ - text/richtext module
+
+ APEL is installed the following directory tree:
+ ${PREFIX}/share/emacs/site-lisp/apel/ --- APEL
+ ${PREFIX}/share/emacs/20.3/site-lisp/emu/ --- emu
+
+--- Porting by shige <shige@kuis.kyoto-u.ac.jp>
diff --git a/editors/apel/pkg-descr.emacs21 b/editors/apel/pkg-descr.emacs21
new file mode 100644
index 000000000000..19f14fa18fdb
--- /dev/null
+++ b/editors/apel/pkg-descr.emacs21
@@ -0,0 +1,29 @@
+A Portable Emacs Library.
+
+--- Emacs Library Porting
+
+APEL is programed by MORIOKA Tomohiko <morioka@jaist.ac.jp>.
+
+ APEL stands for "A Portable Emacs Library". It consists of
+ following modules:
+ APEL
+ - utility to write portable CCL program
+ - utility for Association-list
+ - utility for condition tree and condition/situation-alist
+ - utility for path management or file detection
+ - utility to make file-name
+ - utility to install emacs-lisp package
+ - ROT 13-47-48 Caesar rotation utility
+ emu
+ - poe: emulation module mainly for basic functions and special forms/macros
+ - poem: provide basic functions to write portable MULE programs
+ - mcs: provide MIME charset related features
+ - broken: provide information of broken facilities of Emacs.
+ - emu: bundled in tm-7.106 compat module; it required poe, poem and mcs
+ - text/richtext module
+
+ APEL is installed the following directory tree:
+ ${PREFIX}/share/emacs/site-lisp/apel/ --- APEL
+ ${PREFIX}/share/emacs/20.3/site-lisp/emu/ --- emu
+
+--- Porting by shige <shige@kuis.kyoto-u.ac.jp>
diff --git a/editors/apel/pkg-descr.mule b/editors/apel/pkg-descr.mule
new file mode 100644
index 000000000000..82399e09b98c
--- /dev/null
+++ b/editors/apel/pkg-descr.mule
@@ -0,0 +1,34 @@
+A Portable Emacs Library.
+
+--- Emacs Library Porting
+
+APEL is programed by MORIOKA Tomohiko <morioka@jaist.ac.jp>.
+
+ APEL stands for "A Portable Emacs Library". It consists of
+ following modules:
+ APEL
+ - utility to write portable CCL program
+ - utility for Association-list
+ - utility for condition tree and condition/situation-alist
+ - utility for path management or file detection
+ - utility to make file-name
+ - utility to install emacs-lisp package
+ - ROT 13-47-48 Caesar rotation utility
+ emu
+ - poe: emulation module mainly for basic functions and special forms/macros
+ - poem: provide basic functions to write portable MULE programs
+ - mcs: provide MIME charset related features
+ - broken: provide information of broken facilities of Emacs.
+ - emu: bundled in tm-7.106 compat module; it required poe, poem and mcs
+ - text/richtext module
+
+ APEL is installed the following directory tree:
+ ${PREFIX}/share/mule/site-lisp/apel/ --- APEL
+ ${PREFIX}/share/mule/19.34/site-lisp/emu/ --- emu
+
+
+To use apel, put the following setup into your ~/.emacs:
+
+ (require 'apel-setup)
+
+--- Porting by shige <shige@kuis.kyoto-u.ac.jp>
diff --git a/editors/apel/pkg-plist.emacs19 b/editors/apel/pkg-plist.emacs19
new file mode 100644
index 000000000000..943f6057194e
--- /dev/null
+++ b/editors/apel/pkg-plist.emacs19
@@ -0,0 +1,37 @@
+%%EMACS_LIBDIR%%/site-lisp/apel/alist.el
+%%EMACS_LIBDIR%%/site-lisp/apel/alist.elc
+%%EMACS_LIBDIR%%/site-lisp/apel/calist.el
+%%EMACS_LIBDIR%%/site-lisp/apel/calist.elc
+%%EMACS_LIBDIR%%/site-lisp/apel/filename.el
+%%EMACS_LIBDIR%%/site-lisp/apel/filename.elc
+%%EMACS_LIBDIR%%/site-lisp/apel/install.el
+%%EMACS_LIBDIR%%/site-lisp/apel/install.elc
+%%EMACS_LIBDIR%%/site-lisp/apel/mule-caesar.el
+%%EMACS_LIBDIR%%/site-lisp/apel/mule-caesar.elc
+%%EMACS_LIBDIR%%/site-lisp/apel/path-util.el
+%%EMACS_LIBDIR%%/site-lisp/apel/path-util.elc
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/emu.el
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/emu.elc
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/richtext.el
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/richtext.elc
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/poe.el
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/poe.elc
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/poem.el
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/poem.elc
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/poem-ltn1.el
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/poem-ltn1.elc
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/mcharset.el
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/mcharset.elc
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/mcs-ltn1.el
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/mcs-ltn1.elc
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/invisible.el
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/invisible.elc
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/inv-19.el
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/inv-19.elc
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/pccl.el
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/pccl.elc
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/broken.el
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/broken.elc
+%%EMACS_LIBDIR%%/site-lisp/apel-setup.el
+@dirrm %%EMACS_LIBDIR%%/site-lisp/apel
+@dirrm %%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu
diff --git a/editors/apel/pkg-plist.emacs20 b/editors/apel/pkg-plist.emacs20
new file mode 100644
index 000000000000..d84a6952e6e7
--- /dev/null
+++ b/editors/apel/pkg-plist.emacs20
@@ -0,0 +1,44 @@
+%%EMACS_LIBDIR%%/site-lisp/apel/alist.el
+%%EMACS_LIBDIR%%/site-lisp/apel/alist.elc
+%%EMACS_LIBDIR%%/site-lisp/apel/calist.el
+%%EMACS_LIBDIR%%/site-lisp/apel/calist.elc
+%%EMACS_LIBDIR%%/site-lisp/apel/filename.el
+%%EMACS_LIBDIR%%/site-lisp/apel/filename.elc
+%%EMACS_LIBDIR%%/site-lisp/apel/install.el
+%%EMACS_LIBDIR%%/site-lisp/apel/install.elc
+%%EMACS_LIBDIR%%/site-lisp/apel/mule-caesar.el
+%%EMACS_LIBDIR%%/site-lisp/apel/mule-caesar.elc
+%%EMACS_LIBDIR%%/site-lisp/apel/path-util.el
+%%EMACS_LIBDIR%%/site-lisp/apel/path-util.elc
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/emu.el
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/emu.elc
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/inv-19.el
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/inv-19.elc
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/invisible.el
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/invisible.elc
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/richtext.el
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/richtext.elc
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/poe.el
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/poe.elc
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/poem.el
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/poem.elc
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/poem-20.el
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/poem-20.elc
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/poem-e20.el
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/poem-e20.elc
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/poem-e20_3.el
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/poem-e20_3.elc
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/mcharset.el
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/mcharset.elc
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/mcs-20.el
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/mcs-20.elc
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/mcs-e20.el
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/mcs-e20.elc
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/pccl.el
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/pccl.elc
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/pccl-20.el
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/pccl-20.elc
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/broken.el
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/broken.elc
+@dirrm %%EMACS_LIBDIR%%/site-lisp/apel
+@dirrm %%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu
diff --git a/editors/apel/pkg-plist.emacs21 b/editors/apel/pkg-plist.emacs21
new file mode 100644
index 000000000000..d84a6952e6e7
--- /dev/null
+++ b/editors/apel/pkg-plist.emacs21
@@ -0,0 +1,44 @@
+%%EMACS_LIBDIR%%/site-lisp/apel/alist.el
+%%EMACS_LIBDIR%%/site-lisp/apel/alist.elc
+%%EMACS_LIBDIR%%/site-lisp/apel/calist.el
+%%EMACS_LIBDIR%%/site-lisp/apel/calist.elc
+%%EMACS_LIBDIR%%/site-lisp/apel/filename.el
+%%EMACS_LIBDIR%%/site-lisp/apel/filename.elc
+%%EMACS_LIBDIR%%/site-lisp/apel/install.el
+%%EMACS_LIBDIR%%/site-lisp/apel/install.elc
+%%EMACS_LIBDIR%%/site-lisp/apel/mule-caesar.el
+%%EMACS_LIBDIR%%/site-lisp/apel/mule-caesar.elc
+%%EMACS_LIBDIR%%/site-lisp/apel/path-util.el
+%%EMACS_LIBDIR%%/site-lisp/apel/path-util.elc
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/emu.el
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/emu.elc
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/inv-19.el
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/inv-19.elc
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/invisible.el
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/invisible.elc
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/richtext.el
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/richtext.elc
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/poe.el
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/poe.elc
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/poem.el
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/poem.elc
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/poem-20.el
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/poem-20.elc
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/poem-e20.el
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/poem-e20.elc
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/poem-e20_3.el
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/poem-e20_3.elc
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/mcharset.el
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/mcharset.elc
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/mcs-20.el
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/mcs-20.elc
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/mcs-e20.el
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/mcs-e20.elc
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/pccl.el
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/pccl.elc
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/pccl-20.el
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/pccl-20.elc
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/broken.el
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/broken.elc
+@dirrm %%EMACS_LIBDIR%%/site-lisp/apel
+@dirrm %%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu
diff --git a/editors/apel/pkg-plist.mule b/editors/apel/pkg-plist.mule
new file mode 100644
index 000000000000..5f6e08245f00
--- /dev/null
+++ b/editors/apel/pkg-plist.mule
@@ -0,0 +1,41 @@
+%%EMACS_LIBDIR%%/site-lisp/apel/alist.el
+%%EMACS_LIBDIR%%/site-lisp/apel/alist.elc
+%%EMACS_LIBDIR%%/site-lisp/apel/calist.el
+%%EMACS_LIBDIR%%/site-lisp/apel/calist.elc
+%%EMACS_LIBDIR%%/site-lisp/apel/filename.el
+%%EMACS_LIBDIR%%/site-lisp/apel/filename.elc
+%%EMACS_LIBDIR%%/site-lisp/apel/install.el
+%%EMACS_LIBDIR%%/site-lisp/apel/install.elc
+%%EMACS_LIBDIR%%/site-lisp/apel/mule-caesar.el
+%%EMACS_LIBDIR%%/site-lisp/apel/mule-caesar.elc
+%%EMACS_LIBDIR%%/site-lisp/apel/path-util.el
+%%EMACS_LIBDIR%%/site-lisp/apel/path-util.elc
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/emu.el
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/emu.elc
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/emu-mule.el
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/emu-mule.elc
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/richtext.el
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/richtext.elc
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/poe.el
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/poe.elc
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/poem.el
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/poem.elc
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/poem-om.el
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/poem-om.elc
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/mcharset.el
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/mcharset.elc
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/mcs-om.el
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/mcs-om.elc
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/pccl.el
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/pccl.elc
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/pccl-om.el
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/pccl-om.elc
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/invisible.el
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/invisible.elc
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/inv-19.el
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/inv-19.elc
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/broken.el
+%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/broken.elc
+%%EMACS_LIBDIR%%/site-lisp/apel-setup.el
+@dirrm %%EMACS_LIBDIR%%/site-lisp/apel
+@dirrm %%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu
diff --git a/editors/apel/scripts/configure b/editors/apel/scripts/configure
new file mode 100644
index 000000000000..8c2d04dc6aa9
--- /dev/null
+++ b/editors/apel/scripts/configure
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+TARGETS='apel-setup.el'
+
+for i in ${TARGETS}
+do
+ 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}
+done