summaryrefslogtreecommitdiffstats
path: root/editors/flim/Makefile
diff options
context:
space:
mode:
authorshige <shige@FreeBSD.org>1999-08-06 16:56:19 +0000
committershige <shige@FreeBSD.org>1999-08-06 16:56:19 +0000
commit03f5519a875e8a3682bc232d382f85cea97bac98 (patch)
treed899e698e95b48f2cb6a69e0a3cda6bda3c74ea3 /editors/flim/Makefile
parent381e7853e0f74db51a9f34ac36e4b8cae45163db (diff)
downloadFreeBSD-ports-03f5519a875e8a3682bc232d382f85cea97bac98.zip
FreeBSD-ports-03f5519a875e8a3682bc232d382f85cea97bac98.tar.gz
Add EMACS_LIBDIR_WITH_VER valiable.
flim-setupel.el file is installed into ${PREFIX}/${EMACS_LIBDIR_WITH_VER}/site-lisp.
Diffstat (limited to 'editors/flim/Makefile')
-rw-r--r--editors/flim/Makefile20
1 files changed, 12 insertions, 8 deletions
diff --git a/editors/flim/Makefile b/editors/flim/Makefile
index ee25024..392eeee 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}
OpenPOWER on IntegriCloud