summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--editors/flim-emacs/Makefile9
-rw-r--r--editors/flim-emacs/files/flim-setupel.el.in8
-rw-r--r--editors/flim-emacs/pkg-descr4
-rw-r--r--editors/flim-emacs/pkg-plist2
-rw-r--r--editors/flim-emacs/scripts/configure2
-rw-r--r--editors/flim-mule/pkg-descr4
-rw-r--r--editors/flim-mule/pkg-plist2
7 files changed, 19 insertions, 12 deletions
diff --git a/editors/flim-emacs/Makefile b/editors/flim-emacs/Makefile
index 4d839d9bbc72..afc4c5f6903c 100644
--- a/editors/flim-emacs/Makefile
+++ b/editors/flim-emacs/Makefile
@@ -3,7 +3,7 @@
# Date created: 9 May 1999
# Whom: Shigeyuki FUKUSHIMA <shige@FreeBSD.ORG>
#
-# $Id: Makefile,v 1.2 1999/05/10 13:23:42 shige Exp $
+# $Id: Makefile,v 1.3 1999/05/21 13:25:30 shige Exp $
#
DISTNAME= flim-${FLIM_VER}
@@ -17,7 +17,7 @@ PORTCLASS?= master
# distfile version
FLIM_VER= 1.9.2
FLIMDOCDIR= share/doc/flim
-FLIM_SETUPEL= flim-setup.el
+FLIM_SETUPEL= flim-setupel.el
.if (${PORTCLASS} == "master")
# for emacs
@@ -49,9 +49,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="${FLIM_SETUPEL}"
PLIST_SUB= EMACS_LIBDIR=${EMACS_LIBDIR} EMACS_VER=${EMACS_VER} \
- FLIMDOCDIR=${FLIMDOCDIR}
+ FLIMDOCDIR=${FLIMDOCDIR} FLIM_SETUPEL=${FLIM_SETUPEL}
MAKE_FLAGS= EMACS=${EMACS_CMD}
.if (${EMACS_VER} == "19.34")
# depends on custom: emacs-19.34 or mule-19.34
diff --git a/editors/flim-emacs/files/flim-setupel.el.in b/editors/flim-emacs/files/flim-setupel.el.in
new file mode 100644
index 000000000000..e65e90116ba6
--- /dev/null
+++ b/editors/flim-emacs/files/flim-setupel.el.in
@@ -0,0 +1,8 @@
+;;
+;; @(#)flim-setupel.el -- flim emacs load-path setup elisp file.
+;; -- by shige@FreeBSD.ORG
+
+(setq load-path (append '(
+ "@@PREFIX@@/@@EMACS_LIBDIR@@/site-lisp/flim"
+ ) load-path))
+(provide 'flim-setupel)
diff --git a/editors/flim-emacs/pkg-descr b/editors/flim-emacs/pkg-descr
index 111259a2cdfb..af221dd2a4dd 100644
--- a/editors/flim-emacs/pkg-descr
+++ b/editors/flim-emacs/pkg-descr
@@ -13,7 +13,7 @@ FLIM, message representation or encoding emacs lisp library for emacs.
To use flim, put the following setup into your ~/.emacs:
- (require 'apel-setup)
- (require 'flim-setup)
+ (require 'apel-setupel)
+ (require 'flim-setupel)
--- Porting by shige <shige@FreeBSD.ORG>
diff --git a/editors/flim-emacs/pkg-plist b/editors/flim-emacs/pkg-plist
index ec5918802183..adbcc2c700cf 100644
--- a/editors/flim-emacs/pkg-plist
+++ b/editors/flim-emacs/pkg-plist
@@ -26,7 +26,7 @@
%%EMACS_LIBDIR%%/site-lisp/flim/mmcooked.elc
%%EMACS_LIBDIR%%/site-lisp/flim/std11.el
%%EMACS_LIBDIR%%/site-lisp/flim/std11.elc
-%%EMACS_LIBDIR%%/site-lisp/flim-setup.el
+%%EMACS_LIBDIR%%/site-lisp/%%FLIM_SETUPEL%%
@dirrm %%EMACS_LIBDIR%%/site-lisp/flim
%%FLIMDOCDIR%%/ChangeLog
%%FLIMDOCDIR%%/README.en
diff --git a/editors/flim-emacs/scripts/configure b/editors/flim-emacs/scripts/configure
index 16e40f15739a..a489484bfc4a 100644
--- a/editors/flim-emacs/scripts/configure
+++ b/editors/flim-emacs/scripts/configure
@@ -1,7 +1,5 @@
#!/bin/sh
-TARGETS='flim-setup.el'
-
for i in ${TARGETS}
do
if [ -f ${WRKDIR}/${i}.in ]; then
diff --git a/editors/flim-mule/pkg-descr b/editors/flim-mule/pkg-descr
index f226aa8e6bd9..2ab1c2d7e28c 100644
--- a/editors/flim-mule/pkg-descr
+++ b/editors/flim-mule/pkg-descr
@@ -13,7 +13,7 @@ FLIM, message representation or encoding emacs lisp library for mule.
To use flim, put the following setup into your ~/.emacs:
- (require 'apel-setup)
- (require 'flim-setup)
+ (require 'apel-setupel)
+ (require 'flim-setupel)
--- Porting by shige <shige@FreeBSD.ORG>
diff --git a/editors/flim-mule/pkg-plist b/editors/flim-mule/pkg-plist
index 25f317a5fae3..588ccbf78e95 100644
--- a/editors/flim-mule/pkg-plist
+++ b/editors/flim-mule/pkg-plist
@@ -26,7 +26,7 @@
%%EMACS_LIBDIR%%/site-lisp/flim/mmcooked.elc
%%EMACS_LIBDIR%%/site-lisp/flim/std11.el
%%EMACS_LIBDIR%%/site-lisp/flim/std11.elc
-%%EMACS_LIBDIR%%/site-lisp/flim-setup.el
+%%EMACS_LIBDIR%%/site-lisp/%%FLIM_SETUPEL%%
@dirrm %%EMACS_LIBDIR%%/site-lisp/flim
%%FLIMDOCDIR%%/ChangeLog
%%FLIMDOCDIR%%/README.en