summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--japanese/navi2ch-emacs20/Makefile6
-rw-r--r--japanese/navi2ch-xemacs21-mule/Makefile4
2 files changed, 6 insertions, 4 deletions
diff --git a/japanese/navi2ch-emacs20/Makefile b/japanese/navi2ch-emacs20/Makefile
index 311dc8c2a6b3..901eef26dc73 100644
--- a/japanese/navi2ch-emacs20/Makefile
+++ b/japanese/navi2ch-emacs20/Makefile
@@ -19,7 +19,11 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-lispdir=${PREFIX}/${EMACS_LIBDIR}/site-lisp/navi2ch
DOCDIR= share/doc/ja/navi2ch
-PLIST_SUB?= XEMACS="@comment "
+.if ${EMACS_PORT_NAME} == emacs20
+PLIST_SUB= XEMACS="@comment "
+.elif ${EMACS_PORT_NAME} == xemacs21-mule
+PLIST_SUB= XEMACS=""
+.endif
post-install:
.if !defined(NOPORTDOCS)
diff --git a/japanese/navi2ch-xemacs21-mule/Makefile b/japanese/navi2ch-xemacs21-mule/Makefile
index 0562ae080b9f..fc3fed8e43ce 100644
--- a/japanese/navi2ch-xemacs21-mule/Makefile
+++ b/japanese/navi2ch-xemacs21-mule/Makefile
@@ -5,12 +5,10 @@
# $FreeBSD$
#
-MASTERDIR= ${.CURDIR}/../navi2ch-emacs20
+MASTERDIR= ${.CURDIR}/../ja-navi2ch-emacs20
EMACS_PORT_NAME= xemacs21-mule
RUN_DEPENDS= ${X11BASE}/lib/X11/fonts/local/mona12aB.pcf.gz:${PORTSDIR}/japanese/monafonts
-PLIST_SUB= XEMACS=""
-
.include <${MASTERDIR}/Makefile>