aboutsummaryrefslogtreecommitdiff
path: root/editors/apel
diff options
context:
space:
mode:
authorShigeyuki Fukushima <shige@FreeBSD.org>1999-10-18 16:18:22 +0000
committerShigeyuki Fukushima <shige@FreeBSD.org>1999-10-18 16:18:22 +0000
commit8be68b9a25f616bc2be14ecbc4987b8a3514b66b (patch)
treedd51a551c9893d75b66fac716fc40f9df2b82077 /editors/apel
parentd362fdf6d937a871c6ad2f615abdc5bb40480d3a (diff)
downloadports-8be68b9a25f616bc2be14ecbc4987b8a3514b66b.tar.gz
ports-8be68b9a25f616bc2be14ecbc4987b8a3514b66b.zip
Notes
Diffstat (limited to 'editors/apel')
-rw-r--r--editors/apel/Makefile19
1 files changed, 18 insertions, 1 deletions
diff --git a/editors/apel/Makefile b/editors/apel/Makefile
index 8e22fc46d2dd..af616af4fbdb 100644
--- a/editors/apel/Makefile
+++ b/editors/apel/Makefile
@@ -52,6 +52,10 @@ RUN_DEPENDS= ${EMACS_CMD}:${PORTSDIR}/editors/${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
+.if defined(EMACS_PACKAGESDIR)
+BUILD_DEPENDS+= ${PREFIX}/${EMACS_PACKAGESDIR}/../xemacs-packages/lisp/xemacs-base/advice.el:${PORTSDIR}/editors/xemacs-sumo-packages
+RUN_DEPENDS+= ${PREFIX}/${EMACS_PACKAGESDIR}/../xemacs-packages/lisp/xemacs-base/advice.el:${PORTSDIR}/editors/xemacs-sumo-packages
+.endif
SCRIPTS_ENV+= EMACS_LIBDIR=${EMACS_LIBDIR} EMACS_VER=${EMACS_VER} \
EMACS_LIBDIR_WITH_VER=${EMACS_LIBDIR_WITH_VER} \
@@ -74,6 +78,11 @@ pre-configure:
@${CP} ${FILESDIR}/${APEL_SETUPEL}.in ${WRKDIR}
.endif
+pre-install:
+.if defined(EMACS_PACKAGESDIR) && defined(EMACS_PACKAGES_SUBDIRS)
+ @${MAKE} mkdir-site-packages
+.endif
+
post-install:
.if defined(REQUIRE_SETUPEL) && (${REQUIRE_SETUPEL} == "YES")
@${MAKE} setupel-install
@@ -86,7 +95,15 @@ post-install:
.endif
-# install functions
+###############################################################################
+#
+# local functions
+#
+mkdir-site-packages:
+ @(for i in ${EMACS_PACKAGES_SUBDIRS} ; do \
+ ${MKDIR} ${PREFIX}/${EMACS_PACKAGESDIR}/$${i} ; \
+ done)
+
doc-install:
@${MKDIR} ${PREFIX}/${APELDOCDIR}
@(cd ${WRKSRC} ; \