Change lookup gateway an option. This reduces dependency much.

Bump revision.
This commit is contained in:
uebayasi 2005-03-05 11:19:09 +00:00
parent 6cfee6478c
commit f686caba23
4 changed files with 26 additions and 11 deletions

View file

@ -1,4 +1,4 @@
$NetBSD: CHANGES,v 1.9427 2005/03/05 11:06:42 uebayasi Exp $
$NetBSD: CHANGES,v 1.9428 2005/03/05 11:19:09 uebayasi Exp $
Changes to the packages collection and infrastructure in 2005:
@ -1280,3 +1280,4 @@ Changes to the packages collection and infrastructure in 2005:
Added gtk2-engines-clearlooks-0.4 [jmmv 2005-03-05]
Updated freepwing to 1.4.4 [uebayasi 2005-03-05]
Updated eb to 4.1.3 [uebayasi 2005-03-05]
Updated skk to 12.2.0nb1 [uebayasi 2005-03-05]

View file

@ -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}

View file

@ -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

View file

@ -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