aboutsummaryrefslogtreecommitdiffstats
path: root/editors/semi114-emacs20
diff options
context:
space:
mode:
authorshige <shige@FreeBSD.org>1999-10-19 00:21:12 +0800
committershige <shige@FreeBSD.org>1999-10-19 00:21:12 +0800
commit648094fcfe8fa450ae212577b0cc22bf00eef3f2 (patch)
treeb8e6ec3668cca56580e9a7ffdd187993c5bc0fd7 /editors/semi114-emacs20
parentf234deccd1aaaf5194fe178ef6deec727a8497c9 (diff)
downloadfreebsd-ports-gnome-648094fcfe8fa450ae212577b0cc22bf00eef3f2.tar.gz
freebsd-ports-gnome-648094fcfe8fa450ae212577b0cc22bf00eef3f2.tar.zst
freebsd-ports-gnome-648094fcfe8fa450ae212577b0cc22bf00eef3f2.zip
Install to ${PREFIX}/lib/xemacs/site-packages as XEmacs packages.
(apel is RUN_DEPENDS on xemacs-sumo-packages. some PLIST are fixed.) Pointed out by: HASEGAWA Tomoki <thasegawa@mta.biglobe.ne.jp>
Diffstat (limited to 'editors/semi114-emacs20')
-rw-r--r--editors/semi114-emacs20/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/editors/semi114-emacs20/Makefile b/editors/semi114-emacs20/Makefile
index 219e60b81a55..2e1d514c8d35 100644
--- a/editors/semi114-emacs20/Makefile
+++ b/editors/semi114-emacs20/Makefile
@@ -107,6 +107,11 @@ post-build:
@${MAKE} info-build
.endif
+pre-install:
+.if defined(EMACS_PACKAGESDIR) && defined(EMACS_PACKAGES_SUBDIRS)
+ @${MAKE} mkdir-site-packages
+.endif
+
post-install:
@${MKDIR} -p ${PREFIX}/share/semi
@${TOUCH} ${PREFIX}/share/semi/${SEMI_COOKIE}
@@ -156,6 +161,11 @@ info-build-by-emacs:
done)
.endif
+mkdir-site-packages:
+ @(for i in ${EMACS_PACKAGES_SUBDIRS} ; do \
+ ${MKDIR} ${PREFIX}/${EMACS_PACKAGESDIR}/$${i} ; \
+ done)
+
doc-install:
@${MKDIR} ${PREFIX}/${SEMIDOCDIR}
@(cd ${WRKSRC} ; \