summaryrefslogtreecommitdiff
path: root/editors/apel
diff options
context:
space:
mode:
authorShigeyuki Fukushima <shige@FreeBSD.org>1999-05-23 15:28:44 +0000
committerShigeyuki Fukushima <shige@FreeBSD.org>1999-05-23 15:28:44 +0000
commit4f21f14900081f633f0f518a50afc4459a1ce505 (patch)
tree585607ccdcf2b83d9a2354b4d2c281669bb0d583 /editors/apel
parentActivate NPS port. (diff)
Change from apel-setup.el to apel-setupel.el.
Improve scripts/configure.
Notes
Notes: svn path=/head/; revision=18943
Diffstat (limited to 'editors/apel')
-rw-r--r--editors/apel/Makefile11
-rw-r--r--editors/apel/files/apel-setupel.el.in9
-rw-r--r--editors/apel/pkg-descr.emacs192
-rw-r--r--editors/apel/pkg-plist.emacs192
-rw-r--r--editors/apel/scripts/configure2
5 files changed, 17 insertions, 9 deletions
diff --git a/editors/apel/Makefile b/editors/apel/Makefile
index 038b133398d1..70b66ceea84f 100644
--- a/editors/apel/Makefile
+++ b/editors/apel/Makefile
@@ -3,7 +3,7 @@
# Date created: 23 September 1998
# Whom: Shigeyuki FUKUSHIMA <shige@FreeBSD.ORG>
#
-# $Id: Makefile,v 1.6 1999/05/09 16:14:10 shige Exp $
+# $Id: Makefile,v 1.7 1999/05/12 23:05:14 asami Exp $
#
DISTNAME= apel-${APEL_VER}
@@ -14,7 +14,7 @@ MAINTAINER?= shige@FreeBSD.ORG
# distfile version
APEL_VER= 9.18
-APEL_SETUPEL= apel-setup.el
+APEL_SETUPEL= apel-setupel.el
APELDOCDIR= share/doc/apel
# This is a master port.
@@ -26,7 +26,7 @@ EMACS_NAME= emacs
EMACS_PORT= emacs
EMACS_VER= 19.34
EMACS_LIBDIR= share/${EMACS_NAME}
-# emacs requires *-setup.el
+# emacs requires *-setupel.el
REQUIRE_SETUPEL= YES
.endif
@@ -51,9 +51,10 @@ 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}
+SCRIPTS_ENV= EMACS_LIBDIR=${EMACS_LIBDIR} EMACS_VER=${EMACS_VER} \
+ TARGETS="${APEL_SETUPEL}"
PLIST_SUB= EMACS_LIBDIR=${EMACS_LIBDIR} EMACS_VER=${EMACS_VER} \
- APELDOCDIR=${APELDOCDIR}
+ APELDOCDIR=${APELDOCDIR} APEL_SETUPEL=${APEL_SETUPEL}
MAKE_FLAGS= EMACS=${EMACS_CMD}
.else
.BEGIN:
diff --git a/editors/apel/files/apel-setupel.el.in b/editors/apel/files/apel-setupel.el.in
new file mode 100644
index 000000000000..c4465d1b6637
--- /dev/null
+++ b/editors/apel/files/apel-setupel.el.in
@@ -0,0 +1,9 @@
+;;
+;; @(#)apel-setupel.el -- apel emacs load-path setup elisp file.
+;; -- by shige@FreeBSD.ORG
+
+(setq load-path (append '(
+ "@@PREFIX@@/@@EMACS_LIBDIR@@/site-lisp/apel"
+ "@@PREFIX@@/@@EMACS_LIBDIR@@/@@EMACS_VER@@/site-lisp/emu"
+ ) load-path))
+(provide 'apel-setupel)
diff --git a/editors/apel/pkg-descr.emacs19 b/editors/apel/pkg-descr.emacs19
index 2fe82b611a5c..584a6a1ad4e5 100644
--- a/editors/apel/pkg-descr.emacs19
+++ b/editors/apel/pkg-descr.emacs19
@@ -31,6 +31,6 @@ APEL is programed by MORIOKA Tomohiko <morioka@jaist.ac.jp>.
To use apel, put the following setup into your ~/.emacs:
- (require 'apel-setup)
+ (require 'apel-setupel)
--- Porting by shige <shige@FreeBSD.ORG>.
diff --git a/editors/apel/pkg-plist.emacs19 b/editors/apel/pkg-plist.emacs19
index 510aa107f7b8..f06e01857e55 100644
--- a/editors/apel/pkg-plist.emacs19
+++ b/editors/apel/pkg-plist.emacs19
@@ -36,7 +36,7 @@
%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/broken.elc
%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/static.el
%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu/static.elc
-%%EMACS_LIBDIR%%/site-lisp/apel-setup.el
+%%EMACS_LIBDIR%%/site-lisp/%%APEL_SETUPEL%%
@dirrm %%EMACS_LIBDIR%%/site-lisp/apel
@dirrm %%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/emu
%%APELDOCDIR%%/ChangeLog
diff --git a/editors/apel/scripts/configure b/editors/apel/scripts/configure
index 0abb914d60d4..a489484bfc4a 100644
--- a/editors/apel/scripts/configure
+++ b/editors/apel/scripts/configure
@@ -1,7 +1,5 @@
#!/bin/sh
-TARGETS='apel-setup.el'
-
for i in ${TARGETS}
do
if [ -f ${WRKDIR}/${i}.in ]; then