aboutsummaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorFUJISHIMA Satsuki <sf@FreeBSD.org>2001-06-02 17:41:08 +0000
committerFUJISHIMA Satsuki <sf@FreeBSD.org>2001-06-02 17:41:08 +0000
commit6983008be65c2486a81ee2d5e4af5297ce0dcc5c (patch)
tree636ff52291a9bea7ba4d932f6f01fcfe5c807dfa /japanese
parent90133019631b4b874a99257a4315b2e2447de2f9 (diff)
downloadports-6983008be65c2486a81ee2d5e4af5297ce0dcc5c.tar.gz
ports-6983008be65c2486a81ee2d5e4af5297ce0dcc5c.zip
In case of Xemacs, remove site-lisp if empty.
Notes
Notes: svn path=/head/; revision=43440
Diffstat (limited to 'japanese')
-rw-r--r--japanese/navi2ch-emacs20/Makefile1
-rw-r--r--japanese/navi2ch-emacs20/pkg-plist1
-rw-r--r--japanese/navi2ch-xemacs21-mule/Makefile2
3 files changed, 4 insertions, 0 deletions
diff --git a/japanese/navi2ch-emacs20/Makefile b/japanese/navi2ch-emacs20/Makefile
index ea0a3fb3240d..311dc8c2a6b3 100644
--- a/japanese/navi2ch-emacs20/Makefile
+++ b/japanese/navi2ch-emacs20/Makefile
@@ -19,6 +19,7 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-lispdir=${PREFIX}/${EMACS_LIBDIR}/site-lisp/navi2ch
DOCDIR= share/doc/ja/navi2ch
+PLIST_SUB?= XEMACS="@comment "
post-install:
.if !defined(NOPORTDOCS)
diff --git a/japanese/navi2ch-emacs20/pkg-plist b/japanese/navi2ch-emacs20/pkg-plist
index 0b2c89701e8b..a67df8610265 100644
--- a/japanese/navi2ch-emacs20/pkg-plist
+++ b/japanese/navi2ch-emacs20/pkg-plist
@@ -32,3 +32,4 @@
%%EMACS_LIBDIR%%/site-lisp/navi2ch/navi2ch.el
%%EMACS_LIBDIR%%/site-lisp/navi2ch/navi2ch.elc
@dirrm %%EMACS_LIBDIR%%/site-lisp/navi2ch
+%%XEMACS%%@unexec rmdir %D/%%EMACS_LIBDIR%%/site-lisp 2>/dev/null || true
diff --git a/japanese/navi2ch-xemacs21-mule/Makefile b/japanese/navi2ch-xemacs21-mule/Makefile
index 03827d59c125..0562ae080b9f 100644
--- a/japanese/navi2ch-xemacs21-mule/Makefile
+++ b/japanese/navi2ch-xemacs21-mule/Makefile
@@ -11,4 +11,6 @@ EMACS_PORT_NAME= xemacs21-mule
RUN_DEPENDS= ${X11BASE}/lib/X11/fonts/local/mona12aB.pcf.gz:${PORTSDIR}/japanese/monafonts
+PLIST_SUB= XEMACS=""
+
.include <${MASTERDIR}/Makefile>