aboutsummaryrefslogtreecommitdiff
path: root/editors/flim
diff options
context:
space:
mode:
authorShigeyuki Fukushima <shige@FreeBSD.org>1999-05-09 16:34:29 +0000
committerShigeyuki Fukushima <shige@FreeBSD.org>1999-05-09 16:34:29 +0000
commitbc166d0034b55d5bc62cd366c67563ff2584ebd2 (patch)
tree972f282209012f443ec50758d52ce51e03cde61b /editors/flim
parent1ff2ed4854ae9ec960b54c05f8c1a5039f0db416 (diff)
downloadports-bc166d0034b55d5bc62cd366c67563ff2584ebd2.tar.gz
ports-bc166d0034b55d5bc62cd366c67563ff2584ebd2.zip
Notes
Diffstat (limited to 'editors/flim')
-rw-r--r--editors/flim/Makefile110
-rw-r--r--editors/flim/distinfo1
-rw-r--r--editors/flim/files/patch-aa11
-rw-r--r--editors/flim/files/patch-ac13
-rw-r--r--editors/flim/files/patch-ad13
-rw-r--r--editors/flim/pkg-comment1
-rw-r--r--editors/flim/pkg-comment.emacs201
-rw-r--r--editors/flim/pkg-comment.emacs211
-rw-r--r--editors/flim/pkg-descr19
-rw-r--r--editors/flim/pkg-descr.emacs2019
-rw-r--r--editors/flim/pkg-descr.emacs2119
-rw-r--r--editors/flim/pkg-plist48
-rw-r--r--editors/flim/pkg-plist.emacs2048
-rw-r--r--editors/flim/pkg-plist.emacs2148
-rw-r--r--editors/flim/scripts/configure14
15 files changed, 366 insertions, 0 deletions
diff --git a/editors/flim/Makefile b/editors/flim/Makefile
new file mode 100644
index 000000000000..a283c843d4a4
--- /dev/null
+++ b/editors/flim/Makefile
@@ -0,0 +1,110 @@
+# New ports collection makefile for: flim for emacs
+# Version required: 1.12.5
+# Date created: 9 May 1999
+# Whom: Shigeyuki FUKUSHIMA <shige@FreeBSD.ORG>
+#
+# $Id$
+#
+
+DISTNAME= flim-${FLIM_VER}
+CATEGORIES= editors elisp
+MASTER_SITES= ftp://ftp.jaist.ac.jp/pub/GNU/elisp/flim/flim-1.12/
+
+MAINTAINER?= shige@FreeBSD.ORG
+
+PORTCLASS?= master
+
+# distfile version
+FLIM_VER= 1.12.5
+FLIMDOCDIR= share/doc/flim
+FLIM_SETUPEL= flim-setup.el
+
+.if (${PORTCLASS} == "master")
+# for emacs
+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= flim-${EMACS_PORT}-${FLIM_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} \
+ FLIMDOCDIR=${FLIMDOCDIR}
+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}
+.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}/${FLIM_SETUPEL}.in ${WRKDIR}
+.endif
+
+.include <bsd.port.pre.mk>
+
+MAKEINFO= makeinfo --no-split --no-validate
+
+post-build:
+ @(cd ${WRKSRC} ; \
+ for i in mime-en.texi mime-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-en.info mime-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}/${FLIM_SETUPEL} \
+ ${PREFIX}/${EMACS_LIBDIR}/site-lisp
+.endif
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${PREFIX}/${FLIMDOCDIR}
+ @(cd ${WRKSRC} ; \
+ for i in ChangeLog README.* NEWS VERSION ; do \
+ ${INSTALL_DATA} $${i} ${PREFIX}/${FLIMDOCDIR}/ ; \
+ done)
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/editors/flim/distinfo b/editors/flim/distinfo
new file mode 100644
index 000000000000..160519c45896
--- /dev/null
+++ b/editors/flim/distinfo
@@ -0,0 +1 @@
+MD5 (flim-1.12.5.tar.gz) = 4424ecbbdca8ec46cbc05eaefd32fcf8
diff --git a/editors/flim/files/patch-aa b/editors/flim/files/patch-aa
new file mode 100644
index 000000000000..450d2b6f8af6
--- /dev/null
+++ b/editors/flim/files/patch-aa
@@ -0,0 +1,11 @@
+--- FLIM-CFG.orig Tue Sep 15 15:26:08 1998
++++ FLIM-CFG Sun May 9 01:33:26 1999
+@@ -8,6 +8,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))
+
+ (if (boundp 'LISPDIR)
+ (progn
diff --git a/editors/flim/files/patch-ac b/editors/flim/files/patch-ac
new file mode 100644
index 000000000000..71f45d4ecb8f
--- /dev/null
+++ b/editors/flim/files/patch-ac
@@ -0,0 +1,13 @@
+--- mime-en.texi.orig Wed Jan 27 23:12:41 1999
++++ mime-en.texi Tue Mar 9 06:10:11 1999
+@@ -2,6 +2,10 @@
+ @c Generated automatically from mime-en.sgml by sinfo 3.7.
+ @setfilename mime-en.info
+ @settitle{FLIM 1.12 Reference Manual about MIME Features}
++@dircategory The Emacs editor and associated tools
++@direntry
++* mime-en: (mime-en). MIME features for GNU Emacs. (English)
++@end direntry
+ @titlepage
+ @title FLIM 1.12 Reference Manual about MIME Features
+ @author MORIOKA Tomohiko <morioka@@jaist.ac.jp>
diff --git a/editors/flim/files/patch-ad b/editors/flim/files/patch-ad
new file mode 100644
index 000000000000..3ea7ff6154ee
--- /dev/null
+++ b/editors/flim/files/patch-ad
@@ -0,0 +1,13 @@
+--- mime-ja.texi.orig Wed Jan 27 23:12:42 1999
++++ mime-ja.texi Tue Mar 9 06:11:05 1999
+@@ -2,6 +2,10 @@
+ @c Generated automatically from mime-ja.sgml by sinfo 3.7.
+ @setfilename mime-ja.info
+ @settitle{FLIM 1.12 MIME $B5!G=@bL@=q(B}
++@dircategory The Emacs editor and associated tools
++@direntry
++* mime-ja: (mime-ja). MIME features for GNU Emacs. (Japanese)
++@end direntry
+ @titlepage
+ @title FLIM 1.12 MIME $B5!G=@bL@=q(B
+ @author $B<i2,(B $BCNI'(B <morioka@@jaist.ac.jp>
diff --git a/editors/flim/pkg-comment b/editors/flim/pkg-comment
new file mode 100644
index 000000000000..02ad795f7203
--- /dev/null
+++ b/editors/flim/pkg-comment
@@ -0,0 +1 @@
+FLIM, message representation or encoding emacs lisp library for emacs.
diff --git a/editors/flim/pkg-comment.emacs20 b/editors/flim/pkg-comment.emacs20
new file mode 100644
index 000000000000..02ad795f7203
--- /dev/null
+++ b/editors/flim/pkg-comment.emacs20
@@ -0,0 +1 @@
+FLIM, message representation or encoding emacs lisp library for emacs.
diff --git a/editors/flim/pkg-comment.emacs21 b/editors/flim/pkg-comment.emacs21
new file mode 100644
index 000000000000..02ad795f7203
--- /dev/null
+++ b/editors/flim/pkg-comment.emacs21
@@ -0,0 +1 @@
+FLIM, message representation or encoding emacs lisp library for emacs.
diff --git a/editors/flim/pkg-descr b/editors/flim/pkg-descr
new file mode 100644
index 000000000000..111259a2cdfb
--- /dev/null
+++ b/editors/flim/pkg-descr
@@ -0,0 +1,19 @@
+FLIM, message representation or encoding emacs lisp library for emacs.
+
+ FLIM is a library to provide basic features about message
+ representation or encoding. It consists of following
+ modules:
+ - STD 11 (RFC 822) parser and utility
+ - MIME library
+ - mailcap parser and utility
+
+ FLIM is installed the following directory tree:
+ ${PREFIX}/share/emacs/site-lisp/flim/ --- FLIM
+
+
+To use flim, put the following setup into your ~/.emacs:
+
+ (require 'apel-setup)
+ (require 'flim-setup)
+
+--- Porting by shige <shige@FreeBSD.ORG>
diff --git a/editors/flim/pkg-descr.emacs20 b/editors/flim/pkg-descr.emacs20
new file mode 100644
index 000000000000..111259a2cdfb
--- /dev/null
+++ b/editors/flim/pkg-descr.emacs20
@@ -0,0 +1,19 @@
+FLIM, message representation or encoding emacs lisp library for emacs.
+
+ FLIM is a library to provide basic features about message
+ representation or encoding. It consists of following
+ modules:
+ - STD 11 (RFC 822) parser and utility
+ - MIME library
+ - mailcap parser and utility
+
+ FLIM is installed the following directory tree:
+ ${PREFIX}/share/emacs/site-lisp/flim/ --- FLIM
+
+
+To use flim, put the following setup into your ~/.emacs:
+
+ (require 'apel-setup)
+ (require 'flim-setup)
+
+--- Porting by shige <shige@FreeBSD.ORG>
diff --git a/editors/flim/pkg-descr.emacs21 b/editors/flim/pkg-descr.emacs21
new file mode 100644
index 000000000000..111259a2cdfb
--- /dev/null
+++ b/editors/flim/pkg-descr.emacs21
@@ -0,0 +1,19 @@
+FLIM, message representation or encoding emacs lisp library for emacs.
+
+ FLIM is a library to provide basic features about message
+ representation or encoding. It consists of following
+ modules:
+ - STD 11 (RFC 822) parser and utility
+ - MIME library
+ - mailcap parser and utility
+
+ FLIM is installed the following directory tree:
+ ${PREFIX}/share/emacs/site-lisp/flim/ --- FLIM
+
+
+To use flim, put the following setup into your ~/.emacs:
+
+ (require 'apel-setup)
+ (require 'flim-setup)
+
+--- Porting by shige <shige@FreeBSD.ORG>
diff --git a/editors/flim/pkg-plist b/editors/flim/pkg-plist
new file mode 100644
index 000000000000..7dcf7c2f6516
--- /dev/null
+++ b/editors/flim/pkg-plist
@@ -0,0 +1,48 @@
+%%EMACS_LIBDIR%%/site-lisp/flim/eword-decode.el
+%%EMACS_LIBDIR%%/site-lisp/flim/eword-decode.elc
+%%EMACS_LIBDIR%%/site-lisp/flim/eword-encode.el
+%%EMACS_LIBDIR%%/site-lisp/flim/eword-encode.elc
+%%EMACS_LIBDIR%%/site-lisp/flim/mailcap.el
+%%EMACS_LIBDIR%%/site-lisp/flim/mailcap.elc
+%%EMACS_LIBDIR%%/site-lisp/flim/mel-b-el.el
+%%EMACS_LIBDIR%%/site-lisp/flim/mel-b-el.elc
+%%EMACS_LIBDIR%%/site-lisp/flim/mel-g.el
+%%EMACS_LIBDIR%%/site-lisp/flim/mel-g.elc
+%%EMACS_LIBDIR%%/site-lisp/flim/mel-q.el
+%%EMACS_LIBDIR%%/site-lisp/flim/mel-q.elc
+%%EMACS_LIBDIR%%/site-lisp/flim/mel-u.el
+%%EMACS_LIBDIR%%/site-lisp/flim/mel-u.elc
+%%EMACS_LIBDIR%%/site-lisp/flim/mel.el
+%%EMACS_LIBDIR%%/site-lisp/flim/mel.elc
+%%EMACS_LIBDIR%%/site-lisp/flim/mime-def.el
+%%EMACS_LIBDIR%%/site-lisp/flim/mime-def.elc
+%%EMACS_LIBDIR%%/site-lisp/flim/mime-parse.el
+%%EMACS_LIBDIR%%/site-lisp/flim/mime-parse.elc
+%%EMACS_LIBDIR%%/site-lisp/flim/mime.el
+%%EMACS_LIBDIR%%/site-lisp/flim/mime.elc
+%%EMACS_LIBDIR%%/site-lisp/flim/mmbuffer.el
+%%EMACS_LIBDIR%%/site-lisp/flim/mmbuffer.elc
+%%EMACS_LIBDIR%%/site-lisp/flim/mmcooked.el
+%%EMACS_LIBDIR%%/site-lisp/flim/mmcooked.elc
+%%EMACS_LIBDIR%%/site-lisp/flim/mmgeneric.el
+%%EMACS_LIBDIR%%/site-lisp/flim/mmgeneric.elc
+%%EMACS_LIBDIR%%/site-lisp/flim/std11.el
+%%EMACS_LIBDIR%%/site-lisp/flim/std11.elc
+%%EMACS_LIBDIR%%/site-lisp/flim/smtp.el
+%%EMACS_LIBDIR%%/site-lisp/flim/smtp.elc
+%%EMACS_LIBDIR%%/site-lisp/flim/smtpmail.el
+%%EMACS_LIBDIR%%/site-lisp/flim/smtpmail.elc
+@dirrm %%EMACS_LIBDIR%%/site-lisp/flim
+%%FLIMDOCDIR%%/ChangeLog
+%%FLIMDOCDIR%%/NEWS
+%%FLIMDOCDIR%%/README.en
+%%FLIMDOCDIR%%/README.ja
+%%FLIMDOCDIR%%/VERSION
+@dirrm %%FLIMDOCDIR%%
+@unexec install-info --delete %D/info/mime-en.info %D/info/dir
+@unexec install-info --delete %D/info/mime-ja.info %D/info/dir
+info/mime-en.info
+info/mime-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-en.info %D/info/dir
+@exec install-info %D/info/mime-ja.info %D/info/dir
diff --git a/editors/flim/pkg-plist.emacs20 b/editors/flim/pkg-plist.emacs20
new file mode 100644
index 000000000000..7dcf7c2f6516
--- /dev/null
+++ b/editors/flim/pkg-plist.emacs20
@@ -0,0 +1,48 @@
+%%EMACS_LIBDIR%%/site-lisp/flim/eword-decode.el
+%%EMACS_LIBDIR%%/site-lisp/flim/eword-decode.elc
+%%EMACS_LIBDIR%%/site-lisp/flim/eword-encode.el
+%%EMACS_LIBDIR%%/site-lisp/flim/eword-encode.elc
+%%EMACS_LIBDIR%%/site-lisp/flim/mailcap.el
+%%EMACS_LIBDIR%%/site-lisp/flim/mailcap.elc
+%%EMACS_LIBDIR%%/site-lisp/flim/mel-b-el.el
+%%EMACS_LIBDIR%%/site-lisp/flim/mel-b-el.elc
+%%EMACS_LIBDIR%%/site-lisp/flim/mel-g.el
+%%EMACS_LIBDIR%%/site-lisp/flim/mel-g.elc
+%%EMACS_LIBDIR%%/site-lisp/flim/mel-q.el
+%%EMACS_LIBDIR%%/site-lisp/flim/mel-q.elc
+%%EMACS_LIBDIR%%/site-lisp/flim/mel-u.el
+%%EMACS_LIBDIR%%/site-lisp/flim/mel-u.elc
+%%EMACS_LIBDIR%%/site-lisp/flim/mel.el
+%%EMACS_LIBDIR%%/site-lisp/flim/mel.elc
+%%EMACS_LIBDIR%%/site-lisp/flim/mime-def.el
+%%EMACS_LIBDIR%%/site-lisp/flim/mime-def.elc
+%%EMACS_LIBDIR%%/site-lisp/flim/mime-parse.el
+%%EMACS_LIBDIR%%/site-lisp/flim/mime-parse.elc
+%%EMACS_LIBDIR%%/site-lisp/flim/mime.el
+%%EMACS_LIBDIR%%/site-lisp/flim/mime.elc
+%%EMACS_LIBDIR%%/site-lisp/flim/mmbuffer.el
+%%EMACS_LIBDIR%%/site-lisp/flim/mmbuffer.elc
+%%EMACS_LIBDIR%%/site-lisp/flim/mmcooked.el
+%%EMACS_LIBDIR%%/site-lisp/flim/mmcooked.elc
+%%EMACS_LIBDIR%%/site-lisp/flim/mmgeneric.el
+%%EMACS_LIBDIR%%/site-lisp/flim/mmgeneric.elc
+%%EMACS_LIBDIR%%/site-lisp/flim/std11.el
+%%EMACS_LIBDIR%%/site-lisp/flim/std11.elc
+%%EMACS_LIBDIR%%/site-lisp/flim/smtp.el
+%%EMACS_LIBDIR%%/site-lisp/flim/smtp.elc
+%%EMACS_LIBDIR%%/site-lisp/flim/smtpmail.el
+%%EMACS_LIBDIR%%/site-lisp/flim/smtpmail.elc
+@dirrm %%EMACS_LIBDIR%%/site-lisp/flim
+%%FLIMDOCDIR%%/ChangeLog
+%%FLIMDOCDIR%%/NEWS
+%%FLIMDOCDIR%%/README.en
+%%FLIMDOCDIR%%/README.ja
+%%FLIMDOCDIR%%/VERSION
+@dirrm %%FLIMDOCDIR%%
+@unexec install-info --delete %D/info/mime-en.info %D/info/dir
+@unexec install-info --delete %D/info/mime-ja.info %D/info/dir
+info/mime-en.info
+info/mime-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-en.info %D/info/dir
+@exec install-info %D/info/mime-ja.info %D/info/dir
diff --git a/editors/flim/pkg-plist.emacs21 b/editors/flim/pkg-plist.emacs21
new file mode 100644
index 000000000000..7dcf7c2f6516
--- /dev/null
+++ b/editors/flim/pkg-plist.emacs21
@@ -0,0 +1,48 @@
+%%EMACS_LIBDIR%%/site-lisp/flim/eword-decode.el
+%%EMACS_LIBDIR%%/site-lisp/flim/eword-decode.elc
+%%EMACS_LIBDIR%%/site-lisp/flim/eword-encode.el
+%%EMACS_LIBDIR%%/site-lisp/flim/eword-encode.elc
+%%EMACS_LIBDIR%%/site-lisp/flim/mailcap.el
+%%EMACS_LIBDIR%%/site-lisp/flim/mailcap.elc
+%%EMACS_LIBDIR%%/site-lisp/flim/mel-b-el.el
+%%EMACS_LIBDIR%%/site-lisp/flim/mel-b-el.elc
+%%EMACS_LIBDIR%%/site-lisp/flim/mel-g.el
+%%EMACS_LIBDIR%%/site-lisp/flim/mel-g.elc
+%%EMACS_LIBDIR%%/site-lisp/flim/mel-q.el
+%%EMACS_LIBDIR%%/site-lisp/flim/mel-q.elc
+%%EMACS_LIBDIR%%/site-lisp/flim/mel-u.el
+%%EMACS_LIBDIR%%/site-lisp/flim/mel-u.elc
+%%EMACS_LIBDIR%%/site-lisp/flim/mel.el
+%%EMACS_LIBDIR%%/site-lisp/flim/mel.elc
+%%EMACS_LIBDIR%%/site-lisp/flim/mime-def.el
+%%EMACS_LIBDIR%%/site-lisp/flim/mime-def.elc
+%%EMACS_LIBDIR%%/site-lisp/flim/mime-parse.el
+%%EMACS_LIBDIR%%/site-lisp/flim/mime-parse.elc
+%%EMACS_LIBDIR%%/site-lisp/flim/mime.el
+%%EMACS_LIBDIR%%/site-lisp/flim/mime.elc
+%%EMACS_LIBDIR%%/site-lisp/flim/mmbuffer.el
+%%EMACS_LIBDIR%%/site-lisp/flim/mmbuffer.elc
+%%EMACS_LIBDIR%%/site-lisp/flim/mmcooked.el
+%%EMACS_LIBDIR%%/site-lisp/flim/mmcooked.elc
+%%EMACS_LIBDIR%%/site-lisp/flim/mmgeneric.el
+%%EMACS_LIBDIR%%/site-lisp/flim/mmgeneric.elc
+%%EMACS_LIBDIR%%/site-lisp/flim/std11.el
+%%EMACS_LIBDIR%%/site-lisp/flim/std11.elc
+%%EMACS_LIBDIR%%/site-lisp/flim/smtp.el
+%%EMACS_LIBDIR%%/site-lisp/flim/smtp.elc
+%%EMACS_LIBDIR%%/site-lisp/flim/smtpmail.el
+%%EMACS_LIBDIR%%/site-lisp/flim/smtpmail.elc
+@dirrm %%EMACS_LIBDIR%%/site-lisp/flim
+%%FLIMDOCDIR%%/ChangeLog
+%%FLIMDOCDIR%%/NEWS
+%%FLIMDOCDIR%%/README.en
+%%FLIMDOCDIR%%/README.ja
+%%FLIMDOCDIR%%/VERSION
+@dirrm %%FLIMDOCDIR%%
+@unexec install-info --delete %D/info/mime-en.info %D/info/dir
+@unexec install-info --delete %D/info/mime-ja.info %D/info/dir
+info/mime-en.info
+info/mime-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-en.info %D/info/dir
+@exec install-info %D/info/mime-ja.info %D/info/dir
diff --git a/editors/flim/scripts/configure b/editors/flim/scripts/configure
new file mode 100644
index 000000000000..16e40f15739a
--- /dev/null
+++ b/editors/flim/scripts/configure
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+TARGETS='flim-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