summaryrefslogtreecommitdiff
path: root/inputmethod/canna-dict
diff options
context:
space:
mode:
authoruebayasi <uebayasi@pkgsrc.org>2003-05-31 08:28:33 +0000
committeruebayasi <uebayasi@pkgsrc.org>2003-05-31 08:28:33 +0000
commit9b637257eb91b8f63ed844e405fc6e3e8219931a (patch)
tree9afb908593cfd5f0a46cc775383d705cd2e7397f /inputmethod/canna-dict
parent8d076518c138d53299cb8a79cd720c7080c80b0e (diff)
downloadpkgsrc-9b637257eb91b8f63ed844e405fc6e3e8219931a.tar.gz
* Move to use inputmethod/canna/Makefile.{common,include} for common
definitions/inclusions. * Deprecate canna-server and introduce inputmethod/canna as the new Canna meta package.
Diffstat (limited to 'inputmethod/canna-dict')
-rw-r--r--inputmethod/canna-dict/Makefile42
1 files changed, 10 insertions, 32 deletions
diff --git a/inputmethod/canna-dict/Makefile b/inputmethod/canna-dict/Makefile
index 7e28ac5eef4..c5150bc34f2 100644
--- a/inputmethod/canna-dict/Makefile
+++ b/inputmethod/canna-dict/Makefile
@@ -1,34 +1,13 @@
-# $NetBSD: Makefile,v 1.4 2002/12/29 01:03:21 seb Exp $
+# $NetBSD: Makefile,v 1.5 2003/05/31 08:28:33 uebayasi Exp $
+#
+.include "../canna/Makefile.common"
-DISTNAME= Canna36p1
-PKGNAME= Canna-dict-3.6.1
-CATEGORIES= japanese inputmethod
-MASTER_SITES= http://downloads.sourceforge.jp/canna/1722/
+CANNA_MODULE= dict
-MAINTAINER= tech-pkg-ja@jp.netbsd.org
-HOMEPAGE= http://canna.sourceforge.jp/
-COMMENT= Kana-Kanji conversion system (dictionary)
+BUILD_DEPENDS+= Canna-server-bin>=${CANNA_VERSION}:../canna-server-bin
-BUILD_DEPENDS+= Canna-server-bin>=3.6.1:../canna-server-bin
-
-FILESDIR= ${.CURDIR}/../canna-lib/files
-DISTINFO_FILE= ${.CURDIR}/../canna-lib/distinfo
-PATCHDIR= ${.CURDIR}/../canna-lib/patches
-
-BUILD_DEFS+= USE_INET6
-#USE_X11BASE= yes
-
-.include "../../mk/bsd.prefs.mk"
NO_MTREE= yes
-.if 0 # defined(USE_INET6) && ${USE_INET6} == "YES"
-INET6= -DINET6
-.else
-INET6= # empty
-.endif
-CANNAOWNER?= daemon
-CANNAGROUP?= daemon
-MAKE_ENV+= CANNAOWNER=${CANNAOWNER} CANNAGROUP=${CANNAGROUP} \
- IMDICTDIR=${IMDICTDIR} INET6=${INET6}
+OWN_DIRS= ${PREFIX}/canna
EVAL_PREFIX+= CANNASERVERBINDIR=Canna-server-bin
.for cmd in MERGE FORCPP FORSORT SPLITWORD MERGEWORD CRXGRAM CRXDIC CRFREQ KPDIC
@@ -45,16 +24,15 @@ post-patch:
done
do-configure:
- @(cd ${WRKSRC}/dic/ideo; ${XMKMF})
+ @cd ${WRKSRC}/dic/ideo; ${XMKMF}
do-build:
- @(cd ${WRKSRC}/dic/ideo; ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM})
+ @cd ${WRKSRC}/dic/ideo; ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM}
do-install:
- @(cd ${WRKSRC}/dic/ideo; ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} install)
+ @cd ${WRKSRC}/dic/ideo; ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} install
-.include "../../devel/nbitools/nbitools.mk"
-.include "../../mk/bsd.pkg.mk"
+.include "../canna/Makefile.include"
# Need to set this here _after_ bsd.pkg.mk
PREFIX= ${IMDICTDIR}