diff options
author | uebayasi <uebayasi> | 2005-03-05 11:19:09 +0000 |
---|---|---|
committer | uebayasi <uebayasi> | 2005-03-05 11:19:09 +0000 |
commit | 638238893be29a18bfcb2d93700622c188995971 (patch) | |
tree | 296464f83ba9917b6e08e223b11703041c2f92dc /inputmethod/skk | |
parent | c5718a1df87dcc31b45b62db084bb432aa80aea7 (diff) | |
download | pkgsrc-638238893be29a18bfcb2d93700622c188995971.tar.gz |
Change lookup gateway an option. This reduces dependency much.
Bump revision.
Diffstat (limited to 'inputmethod/skk')
-rw-r--r-- | inputmethod/skk/Makefile | 15 | ||||
-rw-r--r-- | inputmethod/skk/PLIST | 6 | ||||
-rw-r--r-- | inputmethod/skk/options.mk | 13 |
3 files changed, 24 insertions, 10 deletions
diff --git a/inputmethod/skk/Makefile b/inputmethod/skk/Makefile index c59d12a5ab4..d6e7bd280f4 100644 --- a/inputmethod/skk/Makefile +++ b/inputmethod/skk/Makefile @@ -1,29 +1,30 @@ -# $NetBSD: Makefile,v 1.6 2004/12/03 15:15:00 wiz Exp $ +# $NetBSD: Makefile,v 1.7 2005/03/05 11:19:10 uebayasi Exp $ # DISTNAME= ddskk-12.2.0 PKGNAME= skk-12.2.0 +PKGREVISION= 1 CATEGORIES= japanese inputmethod MASTER_SITES= http://openlab.ring.gr.jp/skk/maintrunk/ EXTRACT_SUFX= .tar.bz2 -MAINTAINER= tech-pkg-ja@jp.NetBSD.org +MAINTAINER= uebayasi@NetBSD.org HOMEPAGE= http://openlab.ring.gr.jp/skk/index.html COMMENT= Japanese input methods for Emacs CONFLICTS= ddskk-* EMACS_VERSIONS_ACCEPTED= emacs21 emacs21nox xemacs214 emacs20 xemacs215 + .include "../../mk/emacs.mk" +.include "options.mk" DEPENDS= ${PKGNAME_PREFIX}apel>=10.6:../../devel/apel .if ${EMACS_FLAVOR} == "emacs" -BUILD_DEPENDS+= ${PKGNAME_PREFIX}lookup-*:../../misc/lookup EMACS_USE_LEIM= # defined -BUILD_DEPENDS+= Mule-UCS-*:../../editors/mule-ucs -.else # xemacs -PKGNAME= xemacs-skk-12.2.0 # XXX -BUILD_DEPENDS+= xemacs-packages>=1.10:../../editors/xemacs-packages +BUILD_DEPENDS+= ${PKGNAME_PREFIX}Mule-UCS-*:../../editors/mule-ucs +.else +BUILD_DEPENDS+= ${PKGNAME_PREFIX}xemacs-packages>=1.10:../../editors/xemacs-packages .endif MAKEFLAGS= EMACS=${EMACS_BIN} diff --git a/inputmethod/skk/PLIST b/inputmethod/skk/PLIST index b6758aebc42..27b0c494023 100644 --- a/inputmethod/skk/PLIST +++ b/inputmethod/skk/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.5 2004/02/18 01:48:22 seb Exp $ +@comment $NetBSD: PLIST,v 1.6 2005/03/05 11:19:10 uebayasi Exp $ ${FOR_emacs20}${EMACS_LISPPREFIX}/skk/ccc.el ${FOR_emacs20}${EMACS_LISPPREFIX}/skk/ccc.elc ${FOR_emacs21}${EMACS_LISPPREFIX}/skk/ccc.el @@ -49,8 +49,8 @@ ${EMACS_LISPPREFIX}/skk/skk-leim.el ${EMACS_LISPPREFIX}/skk/skk-leim.elc ${EMACS_LISPPREFIX}/skk/skk-look.el ${EMACS_LISPPREFIX}/skk/skk-look.elc -${EMACS_LISPPREFIX}/skk/skk-lookup.el -${EMACS_LISPPREFIX}/skk/skk-lookup.elc +${FOR_LOOKUP}${EMACS_LISPPREFIX}/skk/skk-lookup.el +${FOR_LOOKUP}${EMACS_LISPPREFIX}/skk/skk-lookup.elc ${EMACS_LISPPREFIX}/skk/skk-macs.el ${EMACS_LISPPREFIX}/skk/skk-macs.elc ${EMACS_LISPPREFIX}/skk/skk-num.el diff --git a/inputmethod/skk/options.mk b/inputmethod/skk/options.mk new file mode 100644 index 00000000000..0a6a83d5573 --- /dev/null +++ b/inputmethod/skk/options.mk @@ -0,0 +1,13 @@ +# $NetBSD: options.mk,v 1.1 2005/03/05 11:19:10 uebayasi Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.skk +PKG_SUPPORTED_OPTIONS= lookup + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Mlookup) +BUILD_DEPENDS+= ${PKGNAME_PREFIX}lookup-*:../../misc/lookup +PLIST_SUBST+= FOR_LOOKUP="" +.else +PLIST_SUBST+= FOR_LOOKUP="@comment " +.endif |