aboutsummaryrefslogtreecommitdiffstats
path: root/editors/apel
diff options
context:
space:
mode:
authorshige <shige@FreeBSD.org>2001-10-25 03:20:55 +0800
committershige <shige@FreeBSD.org>2001-10-25 03:20:55 +0800
commit46c72783a920608e88177c59af7e58c3c3d1f945 (patch)
treec14337fd61debe8414522384d5b5d614eb0daf64 /editors/apel
parent829f9dc9105d86ed52d7cc2fddab791a5b16dcc0 (diff)
downloadfreebsd-ports-gnome-46c72783a920608e88177c59af7e58c3c3d1f945.tar.gz
freebsd-ports-gnome-46c72783a920608e88177c59af7e58c3c3d1f945.tar.zst
freebsd-ports-gnome-46c72783a920608e88177c59af7e58c3c3d1f945.zip
Specify PREFIX, LISPDIR, and VERSION_SPECIFIC_LISPDIR cleary
when port building.
Diffstat (limited to 'editors/apel')
-rw-r--r--editors/apel/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/editors/apel/Makefile b/editors/apel/Makefile
index a58a5bca498e..6dabc126969d 100644
--- a/editors/apel/Makefile
+++ b/editors/apel/Makefile
@@ -20,6 +20,9 @@ APEL_VER= 10.3
APEL_SETUPEL= apel-setupel.el
# document install directory by install-doc target
APELDOCDIR?= share/doc/apel
+# apel lispdir
+APEL_LISPDIR?= ${LOCALBASE}/${EMACS_SITE_LISPDIR}
+APEL_VERSION_SPECIFIC_LISPDIR?= ${LOCALBASE}/${EMACS_VERSION_SITE_LISPDIR}
# This is a master port.
PORTCLASS?= master
@@ -36,6 +39,9 @@ ALL_TARGET?= elc
# environments
SCRIPTS_ENV+= TARGETS="${APEL_SETUPEL}"
PLIST_SUB+= APELDOCDIR=${APELDOCDIR} APEL_SETUPEL=${APEL_SETUPEL}
+MAKE_ARGS+= PREFIX="${LOCALBASE}" \
+ LISPDIR="${APEL_LISPDIR}" \
+ VERSION_SPECIFIC_LISPDIR="${APEL_VERSION_SPECIFIC_LISPDIR}"
.include <bsd.port.pre.mk>