aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.emacs.mk
diff options
context:
space:
mode:
authorshige <shige@FreeBSD.org>2000-05-10 23:59:44 +0800
committershige <shige@FreeBSD.org>2000-05-10 23:59:44 +0800
commita0336c933a3f00cdaec3c5be2ff9c07a016ca779 (patch)
tree83d5b072b4f55f3950e6838e8858510093e1d45f /Mk/bsd.emacs.mk
parent4d2f9b87ab2decd67fe04988b9a695d6e66ef137 (diff)
downloadfreebsd-ports-graphics-a0336c933a3f00cdaec3c5be2ff9c07a016ca779.tar.gz
freebsd-ports-graphics-a0336c933a3f00cdaec3c5be2ff9c07a016ca779.tar.zst
freebsd-ports-graphics-a0336c933a3f00cdaec3c5be2ff9c07a016ca779.zip
Set useful variables to SCRIPTS_ENV, PLIST_SUB, MAKE_FLAGS.
Diffstat (limited to 'Mk/bsd.emacs.mk')
-rw-r--r--Mk/bsd.emacs.mk12
1 files changed, 11 insertions, 1 deletions
diff --git a/Mk/bsd.emacs.mk b/Mk/bsd.emacs.mk
index 6e9f78b7381..341203ef9b3 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.2 2000-05-08 13:09:50 shige Exp $
+# $FreeBSD: /tmp/pcvs/ports/Mk/bsd.emacs.mk,v 1.3 2000-05-10 15:59:44 shige Exp $
#
# bsd.emacs.mk - 19990829 Shigeyuki Fukushima.
#
@@ -150,3 +150,13 @@ RUN_DEPENDS+= ${EMACS_CMD}:${EMACS_PORTSDIR}-common
.else
RUN_DEPENDS+= ${EMACS_CMD}:${EMACS_PORTSDIR}
.endif
+
+# environments for build
+MAKE_FLAGS+= EMACS=${EMACS_CMD} XEMACS=${EMACS_CMD}
+SCRIPTS_ENV+= EMACS_LIBDIR=${EMACS_LIBDIR} \
+ EMACS_VER=${EMACS_VER} \
+ EMACS_LIBDIR_WITH_VER=${EMACS_LIBDIR_WITH_VER}
+# pkg/PLIST substrings
+PLIST_SUB+= EMACS_LIBDIR=${EMACS_LIBDIR} \
+ EMACS_VER=${EMACS_VER} \
+ EMACS_LIBDIR_WITH_VER=${EMACS_LIBDIR_WITH_VER}