aboutsummaryrefslogtreecommitdiff
path: root/editors/flim
diff options
context:
space:
mode:
authorShigeyuki Fukushima <shige@FreeBSD.org>1999-08-06 16:56:19 +0000
committerShigeyuki Fukushima <shige@FreeBSD.org>1999-08-06 16:56:19 +0000
commit9e5a01bf353f226cb2a419530e17ba904f30c58d (patch)
treee955881e7a19cc7588431652ae220760bcf8b4db /editors/flim
parentc3f053cdce3e40ea05f7710839b99857252def8f (diff)
downloadports-9e5a01bf353f226cb2a419530e17ba904f30c58d.tar.gz
ports-9e5a01bf353f226cb2a419530e17ba904f30c58d.zip
Notes
Diffstat (limited to 'editors/flim')
-rw-r--r--editors/flim/Makefile20
-rw-r--r--editors/flim/pkg-plist2
-rw-r--r--editors/flim/pkg-plist.emacs202
-rw-r--r--editors/flim/pkg-plist.emacs212
-rw-r--r--editors/flim/scripts/configure1
5 files changed, 16 insertions, 11 deletions
diff --git a/editors/flim/Makefile b/editors/flim/Makefile
index ee25024c23b0..392eeeee6063 100644
--- a/editors/flim/Makefile
+++ b/editors/flim/Makefile
@@ -3,7 +3,7 @@
# Date created: 9 May 1999
# Whom: Shigeyuki FUKUSHIMA <shige@FreeBSD.ORG>
#
-# $Id: Makefile,v 1.4 1999/05/21 13:27:51 shige Exp $
+# $Id: Makefile,v 1.5 1999/05/23 15:39:37 shige Exp $
#
DISTNAME= flim-${FLIM_VER}
@@ -24,7 +24,9 @@ FLIM_SETUPEL= flim-setupel.el
EMACS_NAME= emacs
EMACS_PORT= emacs
EMACS_VER= 19.34
-EMACS_LIBDIR= share/${EMACS_NAME}
+EMACS_LIBDIR= share/${EMACS_NAME}
+EMACS_LIBDIR_WITH_VER= ${EMACS_LIBDIR}/${EMACS_VER}
+# emacs requires *-setupel.el
REQUIRE_SETUPEL= YES
.endif
@@ -50,18 +52,20 @@ RUN_DEPENDS= ${EMACS_CMD}:${PORTSDIR}/editors/${EMACS_PORT}-common
RUN_DEPENDS= ${EMACS_CMD}:${PORTSDIR}/editors/${EMACS_PORT}
.endif
SCRIPTS_ENV= EMACS_LIBDIR=${EMACS_LIBDIR} EMACS_VER=${EMACS_VER} \
+ EMACS_LIBDIR_WITH_VER=${EMACS_LIBDIR_WITH_VER} \
TARGETS="${FLIM_SETUPEL}"
PLIST_SUB= EMACS_LIBDIR=${EMACS_LIBDIR} EMACS_VER=${EMACS_VER} \
+ EMACS_LIBDIR_WITH_VER=${EMACS_LIBDIR_WITH_VER} \
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
-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}
+BUILD_DEPENDS+= ${PREFIX}/${EMACS_LIBDIR_WITH_VER}/site-lisp/custom.el:${PORTSDIR}/editors/custom-${EMACS_PORT}
+RUN_DEPENDS+= ${PREFIX}/${EMACS_LIBDIR_WITH_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}
+BUILD_DEPENDS+= ${PREFIX}/${EMACS_LIBDIR_WITH_VER}/site-lisp/emu/emu.el:${PORTSDIR}/editors/apel-${EMACS_PORT}
+RUN_DEPENDS+= ${PREFIX}/${EMACS_LIBDIR_WITH_VER}/site-lisp/emu/emu.el:${PORTSDIR}/editors/apel-${EMACS_PORT}
# depends on mmencode
.if (${EMACS_NAME} != "xemacs")
RUN_DEPENDS+= mmencode:${PORTSDIR}/mail/metamail
@@ -69,7 +73,7 @@ RUN_DEPENDS+= mmencode:${PORTSDIR}/mail/metamail
.else
.BEGIN:
@${ECHO} "Error: Bad port."
- @${ECHO} "You must define EMACS_NAME, EMACS_PORT, EMACS_VER, EMACS_LIBDIR."
+ @${ECHO} "You must define EMACS_NAME, EMACS_PORT, EMACS_VER, EMACS_LIBDIR, EMACS_LIBDIR_WITH_VER."
@${FALSE}
.endif
@@ -102,7 +106,7 @@ post-install:
done)
.if (${REQUIRE_SETUPEL} == "YES")
@${INSTALL_DATA} ${WRKDIR}/${FLIM_SETUPEL} \
- ${PREFIX}/${EMACS_LIBDIR}/site-lisp
+ ${PREFIX}/${EMACS_LIBDIR_WITH_VER}/site-lisp
.endif
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/${FLIMDOCDIR}
diff --git a/editors/flim/pkg-plist b/editors/flim/pkg-plist
index e303dd6b448b..bb84e793d46a 100644
--- a/editors/flim/pkg-plist
+++ b/editors/flim/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_SETUPEL%%
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/%%FLIM_SETUPEL%%
@dirrm %%EMACS_LIBDIR%%/site-lisp/flim
%%FLIMDOCDIR%%/ChangeLog
%%FLIMDOCDIR%%/NEWS
diff --git a/editors/flim/pkg-plist.emacs20 b/editors/flim/pkg-plist.emacs20
index e303dd6b448b..bb84e793d46a 100644
--- a/editors/flim/pkg-plist.emacs20
+++ b/editors/flim/pkg-plist.emacs20
@@ -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_SETUPEL%%
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/%%FLIM_SETUPEL%%
@dirrm %%EMACS_LIBDIR%%/site-lisp/flim
%%FLIMDOCDIR%%/ChangeLog
%%FLIMDOCDIR%%/NEWS
diff --git a/editors/flim/pkg-plist.emacs21 b/editors/flim/pkg-plist.emacs21
index e303dd6b448b..bb84e793d46a 100644
--- a/editors/flim/pkg-plist.emacs21
+++ b/editors/flim/pkg-plist.emacs21
@@ -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_SETUPEL%%
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/%%FLIM_SETUPEL%%
@dirrm %%EMACS_LIBDIR%%/site-lisp/flim
%%FLIMDOCDIR%%/ChangeLog
%%FLIMDOCDIR%%/NEWS
diff --git a/editors/flim/scripts/configure b/editors/flim/scripts/configure
index a489484bfc4a..04796ae5df87 100644
--- a/editors/flim/scripts/configure
+++ b/editors/flim/scripts/configure
@@ -7,6 +7,7 @@ do
-e "s;@@PREFIX@@;${PREFIX};g" \
-e "s;@@EMACS_LIBDIR@@;${EMACS_LIBDIR};g" \
-e "s;@@EMACS_VER@@;${EMACS_VER};g" \
+ -e "s;@@EMACS_LIBDIR_WITH_VER@@;${EMACS_LIBDIR_WITH_VER};g" \
> ${WRKDIR}/${i}
fi
done