summaryrefslogtreecommitdiffstats
path: root/editors/flim-emacs-current
diff options
context:
space:
mode:
authorshige <shige@FreeBSD.org>1999-05-23 15:39:48 +0000
committershige <shige@FreeBSD.org>1999-05-23 15:39:48 +0000
commite03d8334e212c425c5e852b1de249f32f9be76a0 (patch)
treed504adb2b750ad2ebd0fc81cdfe4a58cee3e0f12 /editors/flim-emacs-current
parentedc8cc08cc31b099bd2a27e3a8b7d5a1f08ba4be (diff)
downloadFreeBSD-ports-e03d8334e212c425c5e852b1de249f32f9be76a0.zip
FreeBSD-ports-e03d8334e212c425c5e852b1de249f32f9be76a0.tar.gz
Change from flim-setup.el to flim-setupel.el.
Use FLIM_SETUPEL in PLIST_SUB variable. Improve scripts/configure.
Diffstat (limited to 'editors/flim-emacs-current')
-rw-r--r--editors/flim-emacs-current/Makefile9
-rw-r--r--editors/flim-emacs-current/files/flim-setupel.el.in8
-rw-r--r--editors/flim-emacs-current/pkg-descr4
-rw-r--r--editors/flim-emacs-current/pkg-plist2
-rw-r--r--editors/flim-emacs-current/scripts/configure2
5 files changed, 16 insertions, 9 deletions
diff --git a/editors/flim-emacs-current/Makefile b/editors/flim-emacs-current/Makefile
index 15cb9bd..ee25024 100644
--- a/editors/flim-emacs-current/Makefile
+++ b/editors/flim-emacs-current/Makefile
@@ -3,7 +3,7 @@
# Date created: 9 May 1999
# Whom: Shigeyuki FUKUSHIMA <shige@FreeBSD.ORG>
#
-# $Id: Makefile,v 1.3 1999/05/10 16:04:45 shige Exp $
+# $Id: Makefile,v 1.4 1999/05/21 13:27:51 shige Exp $
#
DISTNAME= flim-${FLIM_VER}
@@ -17,7 +17,7 @@ PORTCLASS?= master
# distfile version
FLIM_VER= 1.12.5
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-current/files/flim-setupel.el.in b/editors/flim-emacs-current/files/flim-setupel.el.in
new file mode 100644
index 0000000..e65e901
--- /dev/null
+++ b/editors/flim-emacs-current/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-current/pkg-descr b/editors/flim-emacs-current/pkg-descr
index 111259a..af221dd 100644
--- a/editors/flim-emacs-current/pkg-descr
+++ b/editors/flim-emacs-current/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-current/pkg-plist b/editors/flim-emacs-current/pkg-plist
index fd037c3..f5fa744 100644
--- a/editors/flim-emacs-current/pkg-plist
+++ b/editors/flim-emacs-current/pkg-plist
@@ -32,7 +32,7 @@
%%EMACS_LIBDIR%%/site-lisp/flim/smtp.elc
%%EMACS_LIBDIR%%/site-lisp/flim/smtpmail.el
%%EMACS_LIBDIR%%/site-lisp/flim/smtpmail.elc
-%%EMACS_LIBDIR%%/site-lisp/flim-setup.el
+%%EMACS_LIBDIR%%/site-lisp/%%FLIM_SETUPEL%%
@dirrm %%EMACS_LIBDIR%%/site-lisp/flim
%%FLIMDOCDIR%%/ChangeLog
%%FLIMDOCDIR%%/NEWS
diff --git a/editors/flim-emacs-current/scripts/configure b/editors/flim-emacs-current/scripts/configure
index 16e40f1..a489484 100644
--- a/editors/flim-emacs-current/scripts/configure
+++ b/editors/flim-emacs-current/scripts/configure
@@ -1,7 +1,5 @@
#!/bin/sh
-TARGETS='flim-setup.el'
-
for i in ${TARGETS}
do
if [ -f ${WRKDIR}/${i}.in ]; then
OpenPOWER on IntegriCloud