diff options
author | Jun Kuriyama <kuriyama@FreeBSD.org> | 1999-01-02 13:26:51 +0000 |
---|---|---|
committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 1999-01-02 13:26:51 +0000 |
commit | 538ade138da1a47606173e8c6f41ca5dea645774 (patch) | |
tree | 7377cb2bdae1ad2e2e1182819d9a0ba0e5647ff4 /editors/apel-emacs | |
parent | 66f2af6f3be451a0f1058d4cd31fb83bdae81b2f (diff) | |
download | ports-538ade138da1a47606173e8c6f41ca5dea645774.tar.gz ports-538ade138da1a47606173e8c6f41ca5dea645774.zip |
Notes
Diffstat (limited to 'editors/apel-emacs')
-rw-r--r-- | editors/apel-emacs/Makefile | 68 | ||||
-rw-r--r-- | editors/apel-emacs/distinfo | 1 | ||||
-rw-r--r-- | editors/apel-emacs/files/patch-aa | 10 | ||||
-rw-r--r-- | editors/apel-emacs/files/patch-ac | 11 | ||||
-rw-r--r-- | editors/apel-emacs/pkg-comment | 1 | ||||
-rw-r--r-- | editors/apel-emacs/pkg-descr | 34 | ||||
-rw-r--r-- | editors/apel-emacs/pkg-plist | 37 | ||||
-rw-r--r-- | editors/apel-emacs/scripts/configure | 12 |
8 files changed, 174 insertions, 0 deletions
diff --git a/editors/apel-emacs/Makefile b/editors/apel-emacs/Makefile new file mode 100644 index 000000000000..d93de033294b --- /dev/null +++ b/editors/apel-emacs/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-emacs/distinfo b/editors/apel-emacs/distinfo new file mode 100644 index 000000000000..9a00b7e2f379 --- /dev/null +++ b/editors/apel-emacs/distinfo @@ -0,0 +1 @@ +MD5 (apel-9.12.tar.gz) = bd8e304990b83ac186cb00ee57fafdbd diff --git a/editors/apel-emacs/files/patch-aa b/editors/apel-emacs/files/patch-aa new file mode 100644 index 000000000000..d8595b1a9a38 --- /dev/null +++ b/editors/apel-emacs/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-emacs/files/patch-ac b/editors/apel-emacs/files/patch-ac new file mode 100644 index 000000000000..ab74bc332e6f --- /dev/null +++ b/editors/apel-emacs/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-emacs/pkg-comment b/editors/apel-emacs/pkg-comment new file mode 100644 index 000000000000..28ffde6807db --- /dev/null +++ b/editors/apel-emacs/pkg-comment @@ -0,0 +1 @@ +A Portable Emacs Library for emacs. diff --git a/editors/apel-emacs/pkg-descr b/editors/apel-emacs/pkg-descr new file mode 100644 index 000000000000..988c0056a9b4 --- /dev/null +++ b/editors/apel-emacs/pkg-descr @@ -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-emacs/pkg-plist b/editors/apel-emacs/pkg-plist new file mode 100644 index 000000000000..943f6057194e --- /dev/null +++ b/editors/apel-emacs/pkg-plist @@ -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-emacs/scripts/configure b/editors/apel-emacs/scripts/configure new file mode 100644 index 000000000000..8c2d04dc6aa9 --- /dev/null +++ b/editors/apel-emacs/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 |