aboutsummaryrefslogtreecommitdiff
path: root/japanese/ddskk
diff options
context:
space:
mode:
authorYoichi NAKAYAMA <yoichi@FreeBSD.org>2007-08-01 22:59:44 +0000
committerYoichi NAKAYAMA <yoichi@FreeBSD.org>2007-08-01 22:59:44 +0000
commit0078d048a87d802415f58f6ecdb3908c966c3997 (patch)
tree5e0b5cd968f265802a0a0854cd34d73ba483e146 /japanese/ddskk
parent6421e6c426ab1b3c62dfc92bfa8cf5f853cd8109 (diff)
downloadports-0078d048a87d802415f58f6ecdb3908c966c3997.tar.gz
ports-0078d048a87d802415f58f6ecdb3908c966c3997.zip
Fix build with emacs22
Notes
Notes: svn path=/head/; revision=196925
Diffstat (limited to 'japanese/ddskk')
-rw-r--r--japanese/ddskk/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/japanese/ddskk/Makefile b/japanese/ddskk/Makefile
index a80d40f7b03c..f33cc2ac6f2b 100644
--- a/japanese/ddskk/Makefile
+++ b/japanese/ddskk/Makefile
@@ -21,12 +21,12 @@ BUILD_DEPENDS= ${LOCALBASE}/${EMACS_VERSION_SITE_LISPDIR}/emu/emu.el:${PORTSDIR}
RUN_DEPENDS= ${BUILD_DEPENDS}
USE_EMACS= yes
-EMACS_PORT_NAME?= emacs21
-.if (${EMACS_PORT_NAME} == emacs21)
-DEPPORT_SUFFIX=
-.else
+.include <bsd.port.pre.mk>
+.if (${EMACS_PORT_NAME} == emacs20)
DEPPORT_SUFFIX= -${EMACS_PORT_NAME}
PLIST= ${PKGDIR}/pkg-plist.${EMACS_PORT_NAME}
+.else
+DEPPORT_SUFFIX=
.endif
INFO= skk
@@ -53,4 +53,4 @@ post-install:
.endfor
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>