aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--japanese/migemo-xemacs-devel-mule/Makefile8
-rw-r--r--japanese/migemo/pkg-plist5
2 files changed, 8 insertions, 5 deletions
diff --git a/japanese/migemo-xemacs-devel-mule/Makefile b/japanese/migemo-xemacs-devel-mule/Makefile
index 50cd4424c856..87ff1e041223 100644
--- a/japanese/migemo-xemacs-devel-mule/Makefile
+++ b/japanese/migemo-xemacs-devel-mule/Makefile
@@ -16,12 +16,14 @@ EMACS_PORT_NAME= xemacs-devel-mule
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --with-emacs=${EMACS_CMD} \
- --with-lispdir=${PREFIX}/${EMACS_LIBDIR}/site-lisp
+ --with-lispdir=${PREFIX}/${EMACS_SITE_LISPDIR}
ALL_TARGET= migemo.elc
PLIST_SUB= MIGEMO="@comment " ELISP=""
do-install:
- ${INSTALL_DATA} ${WRKSRC}/migemo.el ${PREFIX}/${EMACS_LIBDIR}/site-lisp
- ${INSTALL_DATA} ${WRKSRC}/migemo.elc ${PREFIX}/${EMACS_LIBDIR}/site-lisp
+ ${MKDIR} ${PREFIX}/${EMACS_SITE_LISPDIR}
+ ${INSTALL_DATA} ${WRKSRC}/migemo.el ${PREFIX}/${EMACS_SITE_LISPDIR}
+ ${INSTALL_DATA} ${WRKSRC}/migemo.elc ${PREFIX}/${EMACS_SITE_LISPDIR}
+
.include "${MASTERDIR}/Makefile"
diff --git a/japanese/migemo/pkg-plist b/japanese/migemo/pkg-plist
index 8b5954c26b78..2d3046644aa1 100644
--- a/japanese/migemo/pkg-plist
+++ b/japanese/migemo/pkg-plist
@@ -8,8 +8,8 @@
%%MIGEMO%%%%RUBY_SITELIBDIR%%/migemo-dict.rb
%%MIGEMO%%%%RUBY_SITELIBDIR%%/migemo-index.rb
%%MIGEMO%%%%RUBY_SITELIBDIR%%/migemo-regex.rb
-%%ELISP%%%%EMACS_LIBDIR%%/site-lisp/migemo.el
-%%ELISP%%%%EMACS_LIBDIR%%/site-lisp/migemo.elc
+%%ELISP%%%%EMACS_SITE_LISPDIR%%/migemo.el
+%%ELISP%%%%EMACS_SITE_LISPDIR%%/migemo.elc
%%MIGEMO%%share/doc/migemo/migemo.ja.html
%%MIGEMO%%share/migemo/migemo-dict
%%MIGEMO%%share/migemo/migemo-dict.idx
@@ -20,3 +20,4 @@
%%MIGEMO%%share/migemo/regex-dict.sample
%%MIGEMO%%@dirrm share/doc/migemo
%%MIGEMO%%@dirrm share/migemo
+%%ELISP%%@unexec rmdir %D/%%EMACS_SITE_LISPDIR%% 2>/dev/null || true