aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authornobutaka <nobutaka@FreeBSD.org>2003-01-05 12:34:10 +0800
committernobutaka <nobutaka@FreeBSD.org>2003-01-05 12:34:10 +0800
commitb6fc97269d9c4bfffc227c0cfb9761e77328c840 (patch)
treed6919957f9e1ef6beb9608c6aebe526a3ecdafba /japanese
parenta7f44cc890027a9f5f5552c50e87f450947cd69c (diff)
downloadfreebsd-ports-gnome-b6fc97269d9c4bfffc227c0cfb9761e77328c840.tar.gz
freebsd-ports-gnome-b6fc97269d9c4bfffc227c0cfb9761e77328c840.tar.zst
freebsd-ports-gnome-b6fc97269d9c4bfffc227c0cfb9761e77328c840.zip
Create EMACS_SITE_LISPDIR before install.
Diffstat (limited to 'japanese')
-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