aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.emacs.mk
diff options
context:
space:
mode:
authorShigeyuki Fukushima <shige@FreeBSD.org>2000-07-25 09:01:38 +0000
committerShigeyuki Fukushima <shige@FreeBSD.org>2000-07-25 09:01:38 +0000
commit36ad2eeff94a8bb80d22ea8fed533defbb3379b5 (patch)
tree3548f8cdf709ec6c68bacb5c3885f9107dd7dde8 /Mk/bsd.emacs.mk
parentea5744517330bb68a197dc2d343ce2f57659486b (diff)
downloadports-36ad2eeff94a8bb80d22ea8fed533defbb3379b5.tar.gz
ports-36ad2eeff94a8bb80d22ea8fed533defbb3379b5.zip
Notes
Diffstat (limited to 'Mk/bsd.emacs.mk')
-rw-r--r--Mk/bsd.emacs.mk11
1 files changed, 9 insertions, 2 deletions
diff --git a/Mk/bsd.emacs.mk b/Mk/bsd.emacs.mk
index 1aaf52eff67c..1f3a3dd693f6 100644
--- a/Mk/bsd.emacs.mk
+++ b/Mk/bsd.emacs.mk
@@ -1,5 +1,5 @@
#
-# $FreeBSD: /tmp/pcvs/ports/Mk/bsd.emacs.mk,v 1.7 2000-07-19 08:01:49 shige Exp $
+# $FreeBSD: /tmp/pcvs/ports/Mk/bsd.emacs.mk,v 1.8 2000-07-25 09:01:38 shige Exp $
#
# bsd.emacs.mk - 19990829 Shigeyuki Fukushima.
#
@@ -103,6 +103,8 @@ EMACS_LIBDIR_WITH_VER?= lib/${EMACS_NAME}-${EMACS_VER}
EMACS_PORTSDIR= ${PORTSDIR}/editors/xemacs
EMACS_COMMON_PORT= NO
EMACS_HAS_MULE= NO
+# subdirectory of emacs core elisp files
+EMACS_CORE_SUBDIR= prim
# XEmacs-20.x
.elif (${EMACS_PORT_NAME} == "xemacs20")
@@ -114,6 +116,8 @@ EMACS_LIBDIR_WITH_VER?= lib/${EMACS_NAME}-${EMACS_VER}
EMACS_PORTSDIR= ${PORTSDIR}/editors/xemacs20
EMACS_COMMON_PORT= NO
EMACS_HAS_MULE= NO
+# subdirectory of emacs core elisp files
+EMACS_CORE_SUBDIR= prim
# XEmacs-21.x
.elif (${EMACS_PORT_NAME} == "xemacs21")
@@ -153,6 +157,9 @@ EMACS_HAS_MULE= YES
# emacsen command-line filename
EMACS_CMD?= ${LOCALBASE}/bin/${EMACS_NAME}-${EMACS_VER}
+# emacsen core elisp filename
+EMACS_CORE_DIR= ${EMACS_LIBDIR_WITH_VER}/lisp/${EMACS_CORE_SUBDIR}
+EMACS_COREEL= ${LOCALBASE}/${EMACS_CORE_DIR}/startup.el
# emacsen libdir without ${LOCALBASE}
EMACS_SITE_LISPDIR?= ${EMACS_LIBDIR}/site-lisp
@@ -166,7 +173,7 @@ BUILD_DEPENDS+= ${EMACS_CMD}:${EMACS_PORTSDIR}
.endif
.if (${EMACS_NO_RUN_DEPENDS} == "NO")
.if defined(EMACS_COMMON_PORT) && (${EMACS_COMMON_PORT} == "YES")
-RUN_DEPENDS+= ${EMACS_CMD}:${EMACS_PORTSDIR}-common
+RUN_DEPENDS+= ${EMACS_COREEL}:${EMACS_PORTSDIR}-common
.else
RUN_DEPENDS+= ${EMACS_CMD}:${EMACS_PORTSDIR}
.endif