summaryrefslogtreecommitdiff
path: root/editors/tamago
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2007-08-18 14:30:52 +0000
committertaca <taca@pkgsrc.org>2007-08-18 14:30:52 +0000
commit26d3b869004b6cf34ce45697657c0c04a2d93ddb (patch)
tree86c609b32bf9a169c856b64720551b292fe0b008 /editors/tamago
parente16d2a02db5622be17cfb7fae190db9ca03e25c1 (diff)
downloadpkgsrc-26d3b869004b6cf34ce45697657c0c04a2d93ddb.tar.gz
Fix a problem egg/its/aynu.el* left over with emacs22.
Diffstat (limited to 'editors/tamago')
-rw-r--r--editors/tamago/Makefile9
-rw-r--r--editors/tamago/PLIST6
2 files changed, 11 insertions, 4 deletions
diff --git a/editors/tamago/Makefile b/editors/tamago/Makefile
index af9a87b1013..2a560417d94 100644
--- a/editors/tamago/Makefile
+++ b/editors/tamago/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2007/06/24 05:34:42 taca Exp $
+# $NetBSD: Makefile,v 1.14 2007/08/18 14:30:52 taca Exp $
DISTNAME= tamago-4.0.6
PKGNAME= ${EMACS_PKGNAME_PREFIX}tamago-20020909
@@ -16,4 +16,11 @@ EMACS_VERSIONS_ACCEPTED= emacs21 emacs21nox emacs20 emacs22
EMACS_MODULES+= leim
.include "../../mk/emacs.mk"
+
+.if !empty(_EMACS_TYPE:Nxemacs*) && ${EMACS_VERSION_MAJOR} >= 21
+PLIST_SUBST+= HAVE_JISX0213= # empty
+.else
+PLIST_SUBST+= HAVE_JISX0213="@comment "
+.endif
+
.include "../../mk/bsd.pkg.mk"
diff --git a/editors/tamago/PLIST b/editors/tamago/PLIST
index f1ee6a27797..7a0bd3269f9 100644
--- a/editors/tamago/PLIST
+++ b/editors/tamago/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2002/11/23 16:56:02 taca Exp $
+@comment $NetBSD: PLIST,v 1.4 2007/08/18 14:30:52 taca Exp $
${EMACS_LISPPREFIX}/egg/egg-cnv.el
${EMACS_LISPPREFIX}/egg/egg-cnv.elc
${EMACS_LISPPREFIX}/egg/egg-com.el
@@ -34,8 +34,8 @@ ${EMACS_LISPPREFIX}/egg/its.el
${EMACS_LISPPREFIX}/egg/its.elc
${EMACS_LISPPREFIX}/egg/its/ascii.el
${EMACS_LISPPREFIX}/egg/its/ascii.elc
-${FOR_emacs21}${EMACS_LISPPREFIX}/egg/its/aynu.el
-${FOR_emacs21}${EMACS_LISPPREFIX}/egg/its/aynu.elc
+${HAVE_JISX0213}${EMACS_LISPPREFIX}/egg/its/aynu.el
+${HAVE_JISX0213}${EMACS_LISPPREFIX}/egg/its/aynu.elc
${EMACS_LISPPREFIX}/egg/its/bixing.el
${EMACS_LISPPREFIX}/egg/its/bixing.elc
${EMACS_LISPPREFIX}/egg/its/erpin.el