diff options
author | shige <shige@FreeBSD.org> | 1999-05-10 00:34:29 +0800 |
---|---|---|
committer | shige <shige@FreeBSD.org> | 1999-05-10 00:34:29 +0800 |
commit | d4e21b904c5ce4bb7564d136c3228444374512a5 (patch) | |
tree | ed6830bc838678ec5859b0b12f2eae02a4613e84 /editors/flim114-emacs20 | |
parent | 8ed5330b56787a1612aaef003f33c457f2326c71 (diff) | |
download | freebsd-ports-gnome-d4e21b904c5ce4bb7564d136c3228444374512a5.tar.gz freebsd-ports-gnome-d4e21b904c5ce4bb7564d136c3228444374512a5.tar.zst freebsd-ports-gnome-d4e21b904c5ce4bb7564d136c3228444374512a5.zip |
New port: editors/flim-emacs-current.
Diffstat (limited to 'editors/flim114-emacs20')
-rw-r--r-- | editors/flim114-emacs20/Makefile | 110 | ||||
-rw-r--r-- | editors/flim114-emacs20/distinfo | 1 | ||||
-rw-r--r-- | editors/flim114-emacs20/files/patch-aa | 11 | ||||
-rw-r--r-- | editors/flim114-emacs20/files/patch-ac | 13 | ||||
-rw-r--r-- | editors/flim114-emacs20/files/patch-ad | 13 | ||||
-rw-r--r-- | editors/flim114-emacs20/pkg-comment | 1 | ||||
-rw-r--r-- | editors/flim114-emacs20/pkg-descr | 19 | ||||
-rw-r--r-- | editors/flim114-emacs20/pkg-plist | 48 | ||||
-rw-r--r-- | editors/flim114-emacs20/scripts/configure | 14 |
9 files changed, 230 insertions, 0 deletions
diff --git a/editors/flim114-emacs20/Makefile b/editors/flim114-emacs20/Makefile new file mode 100644 index 000000000000..a283c843d4a4 --- /dev/null +++ b/editors/flim114-emacs20/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/flim114-emacs20/distinfo b/editors/flim114-emacs20/distinfo new file mode 100644 index 000000000000..160519c45896 --- /dev/null +++ b/editors/flim114-emacs20/distinfo @@ -0,0 +1 @@ +MD5 (flim-1.12.5.tar.gz) = 4424ecbbdca8ec46cbc05eaefd32fcf8 diff --git a/editors/flim114-emacs20/files/patch-aa b/editors/flim114-emacs20/files/patch-aa new file mode 100644 index 000000000000..450d2b6f8af6 --- /dev/null +++ b/editors/flim114-emacs20/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/flim114-emacs20/files/patch-ac b/editors/flim114-emacs20/files/patch-ac new file mode 100644 index 000000000000..71f45d4ecb8f --- /dev/null +++ b/editors/flim114-emacs20/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/flim114-emacs20/files/patch-ad b/editors/flim114-emacs20/files/patch-ad new file mode 100644 index 000000000000..3ea7ff6154ee --- /dev/null +++ b/editors/flim114-emacs20/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/flim114-emacs20/pkg-comment b/editors/flim114-emacs20/pkg-comment new file mode 100644 index 000000000000..02ad795f7203 --- /dev/null +++ b/editors/flim114-emacs20/pkg-comment @@ -0,0 +1 @@ +FLIM, message representation or encoding emacs lisp library for emacs. diff --git a/editors/flim114-emacs20/pkg-descr b/editors/flim114-emacs20/pkg-descr new file mode 100644 index 000000000000..111259a2cdfb --- /dev/null +++ b/editors/flim114-emacs20/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/flim114-emacs20/pkg-plist b/editors/flim114-emacs20/pkg-plist new file mode 100644 index 000000000000..7dcf7c2f6516 --- /dev/null +++ b/editors/flim114-emacs20/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/flim114-emacs20/scripts/configure b/editors/flim114-emacs20/scripts/configure new file mode 100644 index 000000000000..16e40f15739a --- /dev/null +++ b/editors/flim114-emacs20/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 |