aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>1999-01-16 09:34:00 +0800
committerkuriyama <kuriyama@FreeBSD.org>1999-01-16 09:34:00 +0800
commit4c3e3ed10a62fd42183354e9871730e58cbb592c (patch)
tree7a97385269c267deefb650684d314031d755d107
parentd93d1c7ad286a70f5c39aa67220b537b23e0cdf8 (diff)
downloadfreebsd-ports-gnome-4c3e3ed10a62fd42183354e9871730e58cbb592c.tar.gz
freebsd-ports-gnome-4c3e3ed10a62fd42183354e9871730e58cbb592c.tar.zst
freebsd-ports-gnome-4c3e3ed10a62fd42183354e9871730e58cbb592c.zip
FLIM, message representation or encoding emacs lisp library for emacs20.
PR: ports/9200 Submitted by: Shigeyuki FUKUSHIMA <shige@kuis.kyoto-u.ac.jp>
-rw-r--r--editors/flim-emacs20/Makefile61
-rw-r--r--editors/flim-emacs20/pkg-comment1
-rw-r--r--editors/flim-emacs20/pkg-descr13
-rw-r--r--editors/flim-emacs20/pkg-plist39
4 files changed, 114 insertions, 0 deletions
diff --git a/editors/flim-emacs20/Makefile b/editors/flim-emacs20/Makefile
new file mode 100644
index 000000000000..c733dd32a4c3
--- /dev/null
+++ b/editors/flim-emacs20/Makefile
@@ -0,0 +1,61 @@
+# New ports collection makefile for: flim for emacs20
+# Version required: 1.9.2
+# Date created: 23 September 1998
+# Whom: Shigeyuki FUKUSHIMA <shige@kuis.kyoto-u.ac.jp>
+#
+# $Id$
+#
+
+DISTNAME= flim-${FLIM_VER}
+PKGNAME= flim-${EMACS_PORT}-${FLIM_VER}
+CATEGORIES= editors elisp
+MASTER_SITES= ftp://ftp.jaist.ac.jp/pub/GNU/elisp/flim/flim-stable/
+
+MAINTAINER= shige@kuis.kyoto-u.ac.jp
+
+BUILD_DEPENDS= ${EMACS_CMD}:${PORTSDIR}/editors/${EMACS_PORT} \
+ nkf:${PORTSDIR}/japanese/nkf \
+ ${PREFIX}/${EMACS_LIBDIR}/${EMACS_VER}/site-lisp/emu/emu.el:${PORTSDIR}/editors/apel-${EMACS_PORT}
+RUN_DEPENDS= ${EMACS_CMD}:${PORTSDIR}/editors/${EMACS_PORT} \
+ ${PREFIX}/${EMACS_LIBDIR}/${EMACS_VER}/site-lisp/emu/emu.el:${PORTSDIR}/editors/apel-${EMACS_PORT}
+
+ALL_TARGET?= elc
+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}
+
+# distfile version
+FLIM_VER= 1.9.2
+FLIMDOCDIR= share/doc/flim
+
+# emacs20
+EMACS_NAME= emacs
+EMACS_PORT= emacs20
+EMACS_VER= 20.3
+EMACS_LIBDIR= share/${EMACS_NAME}
+EMACS_CMD= ${PREFIX}/bin/${EMACS_NAME}-${EMACS_VER}
+
+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} "===> Please ignore the following errors." ; \
+ makeinfo --no-split $${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 !defined(NOPORTDOCS)
+ @${MKDIR} ${PREFIX}/${FLIMDOCDIR}
+ @for i in ChangeLog README.* ; do \
+ ${INSTALL_DATA} ${WRKSRC}/$${i} ${PREFIX}/${FLIMDOCDIR}/ ; \
+ done
+.endif
+
+.include <bsd.port.mk>
diff --git a/editors/flim-emacs20/pkg-comment b/editors/flim-emacs20/pkg-comment
new file mode 100644
index 000000000000..3aa35a6b8e85
--- /dev/null
+++ b/editors/flim-emacs20/pkg-comment
@@ -0,0 +1 @@
+FLIM, message representation or encoding emacs lisp library for emacs20.
diff --git a/editors/flim-emacs20/pkg-descr b/editors/flim-emacs20/pkg-descr
new file mode 100644
index 000000000000..77781b919f18
--- /dev/null
+++ b/editors/flim-emacs20/pkg-descr
@@ -0,0 +1,13 @@
+FLIM, message representation or encoding emacs lisp library.
+
+ 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
+
+--- Porting by shige <shige@kuis.kyoto-u.ac.jp>
diff --git a/editors/flim-emacs20/pkg-plist b/editors/flim-emacs20/pkg-plist
new file mode 100644
index 000000000000..267d0d619c37
--- /dev/null
+++ b/editors/flim-emacs20/pkg-plist
@@ -0,0 +1,39 @@
+%%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
+%%EMACS_LIBDIR%%/site-lisp/flim/mel-b.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/std11.el
+%%EMACS_LIBDIR%%/site-lisp/flim/std11.elc
+@dirrm %%EMACS_LIBDIR%%/site-lisp/flim
+%%FLIMDOCDIR%%/ChangeLog
+%%FLIMDOCDIR%%/README.en
+@dirrm %%FLIMDOCDIR%%
+@exec [ -f %D/info/dir ] || sed -ne '1,/Menu:/p' /usr/share/info/dir > %D/info/dir
+@unexec install-info --delete %D/info/mime-en.info %D/info/dir
+info/mime-en.info
+@exec install-info %D/info/mime-en.info %D/info/dir
+@unexec install-info --delete %D/info/mime-ja.info %D/info/dir
+info/mime-ja.info
+@exec install-info %D/info/mime-ja.info %D/info/dir