pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc Change lookup gateway an option. This reduces depende...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ad31be0e1da4
branches:  trunk
changeset: 490193:ad31be0e1da4
user:      uebayasi <uebayasi%pkgsrc.org@localhost>
date:      Sat Mar 05 11:19:09 2005 +0000

description:
Change lookup gateway an option.  This reduces dependency much.
Bump revision.

diffstat:

 doc/CHANGES                |   3 ++-
 inputmethod/skk/Makefile   |  15 ++++++++-------
 inputmethod/skk/PLIST      |   6 +++---
 inputmethod/skk/options.mk |  13 +++++++++++++
 4 files changed, 26 insertions(+), 11 deletions(-)

diffs (92 lines):

diff -r 529e7838b800 -r ad31be0e1da4 doc/CHANGES
--- a/doc/CHANGES       Sat Mar 05 11:06:42 2005 +0000
+++ b/doc/CHANGES       Sat Mar 05 11:19:09 2005 +0000
@@ -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 @@
        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]
diff -r 529e7838b800 -r ad31be0e1da4 inputmethod/skk/Makefile
--- a/inputmethod/skk/Makefile  Sat Mar 05 11:06:42 2005 +0000
+++ b/inputmethod/skk/Makefile  Sat Mar 05 11:19:09 2005 +0000
@@ -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@localhost
+MAINTAINER=    uebayasi%NetBSD.org@localhost
 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 -r 529e7838b800 -r ad31be0e1da4 inputmethod/skk/PLIST
--- a/inputmethod/skk/PLIST     Sat Mar 05 11:06:42 2005 +0000
+++ b/inputmethod/skk/PLIST     Sat Mar 05 11:19:09 2005 +0000
@@ -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.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 -r 529e7838b800 -r ad31be0e1da4 inputmethod/skk/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/inputmethod/skk/options.mk        Sat Mar 05 11:19:09 2005 +0000
@@ -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



Home | Main Index | Thread Index | Old Index