Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/utils
In directory 
sc8-pr-cvs17.sourceforge.net:/tmp/cvs-serv28922/10.4/stable/main/finkinfo/utils

Added Files:
        anthy.info anthy.patch 
Log Message:
Sync with unstable.

--- NEW FILE: anthy.patch ---
diff -Naur anthy-9100e.orig/fink/anthy-el-install 
anthy-9100e/fink/anthy-el-install
--- anthy-9100e.orig/fink/anthy-el-install      1970-01-01 09:00:00.000000000 
+0900
+++ anthy-9100e/fink/anthy-el-install   2008-03-24 06:16:28.000000000 +0900
@@ -0,0 +1,45 @@
+#! /bin/sh -e
+# @PREFIX@/lib/emacsen-common/packages/install/anthy
+
+# Written by Jim Van Zandt <[EMAIL PROTECTED]>, borrowing heavily
+# from the install scripts for gettext by Santiago Vila
+# <[EMAIL PROTECTED]> and octave by Dirk Eddelbuettel <[EMAIL PROTECTED]>.
+
+FLAVOR=$1
+PACKAGE=anthy
+
+if [ ${FLAVOR} = emacs ]; then exit 0; fi
+
+echo install/${PACKAGE}: Handling install for emacsen flavor ${FLAVOR}
+
+#FLAVORTEST=`echo $FLAVOR | cut -c-6`
+#if [ ${FLAVORTEST} = xemacs ] ; then
+#    SITEFLAG="-no-site-file"
+#else
+#    SITEFLAG="--no-site-file"
+#fi
+FLAGS="${SITEFLAG} -q -batch -l path.el -f batch-byte-compile"
+
[EMAIL PROTECTED]@/share/emacs/site-lisp/${PACKAGE}
[EMAIL PROTECTED]@/share/${FLAVOR}/site-lisp/${PACKAGE}
+
+# Install-info-altdir does not actually exist. 
+# Maybe somebody will write it.
+#if test -x @PREFIX@/sbin/install-info-altdir; then
+#    echo install/${PACKAGE}: install Info links for ${FLAVOR}
+#    install-info-altdir --quiet --section "" "" --dirname=${FLAVOR} 
@PREFIX@/info/${PACKAGE}.info.gz
+#fi
+
+install -m 755 -d ${ELCDIR}
+cd ${ELDIR}
+FILES=`echo *.el`
+cp ${FILES} ${ELCDIR}
+cd ${ELCDIR}
+
+cat << EOF > path.el
+(setq load-path (cons "." load-path) byte-compile-warnings nil)
+EOF
+${FLAVOR} ${FLAGS} ${FILES} > ${ELCDIR}/CompilationLog 2>&1
+rm -f *.el path.el
+
+exit 0
diff -Naur anthy-9100e.orig/fink/anthy-el-remove 
anthy-9100e/fink/anthy-el-remove
--- anthy-9100e.orig/fink/anthy-el-remove       1970-01-01 09:00:00.000000000 
+0900
+++ anthy-9100e/fink/anthy-el-remove    2008-03-24 06:19:36.000000000 +0900
@@ -0,0 +1,15 @@
+#!/bin/sh -e
+# @PREFIX@/lib/emacsen-common/packages/remove/anthy
+
+FLAVOR=$1
+PACKAGE=anthy
+
+if [ ${FLAVOR} != emacs ]; then
+#    if test -x @PREFIX@/sbin/install-info-altdir; then
+#        echo remove/${PACKAGE}: removing Info links for ${FLAVOR}
+#        install-info-altdir --quiet --remove --dirname=${FLAVOR} 
@PREFIX@/info/anthy.info.gz
+#    fi
+
+    echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR}
+    rm -rf @PREFIX@/share/${FLAVOR}/site-lisp/${PACKAGE}
+fi
diff -Naur anthy-9100e.orig/fink/anthy-el-startup 
anthy-9100e/fink/anthy-el-startup
--- anthy-9100e.orig/fink/anthy-el-startup      1970-01-01 09:00:00.000000000 
+0900
+++ anthy-9100e/fink/anthy-el-startup   2008-03-24 06:15:15.000000000 +0900
@@ -0,0 +1,21 @@
+;; -*-emacs-lisp-*-
+;;
+;; Emacs startup file for the Fink anthy package
+;;
+;; Originally contributed by Nils Naumann <[EMAIL PROTECTED]>
+;; Modified by Dirk Eddelbuettel <[EMAIL PROTECTED]>
+;; Adapted for dh-make by Jim Van Zandt <[EMAIL PROTECTED]>
+
+;; The anthy package follows the Debian/GNU Linux 'emacsen' policy and
+;; byte-compiles its elisp files for each 'emacs flavor' (emacs19,
+;; xemacs19, emacs20, xemacs20...).  The compiled code is then
+;; installed in a subdirectory of the respective site-lisp directory.
+;; We have to add this to the load-path:
+(setq load-path (cons (concat "@PREFIX@/share/"
+                              (symbol-name fink-emacs-flavor)
+                             "/site-lisp/anthy") load-path))
+
+(autoload 'anthy-leim-activate "anthy" nil t)
+(register-input-method "japanese-anthy" "Japanese"
+                       'anthy-leim-activate "[anthy]"
+                       "Anthy Kana Kanji conversion system")

--- NEW FILE: anthy.info ---
Package: anthy
Version: 9100e 
Revision: 1
BuildDepends: emacsen
Depends: %N-shlibs (= %v-%r)
Source: http://osdn.dl.sourceforge.jp/%n/29142/%n-%v.tar.gz
Source-MD5: 1c328986005e61f503adc118909e12ac
PatchScript: sed 's|@PREFIX@|%p|g' < %a/%n.patch | patch -p1
SetMACOSX_DEPLOYMENT_TARGET: 10.3
InstallScript: <<
 make install DESTDIR=%d
 rm -f %i/share/emacs/site-lisp/anthy/*.elc
 rm -f %i/share/emacs/site-lisp/anthy/leim-list.el
<<
DocFiles: AUTHORS COPYING ChangeLog DIARY INSTALL NEWS README*
SplitOff: <<
 Package: %N-el
 Description: Secure Japanese input system - elisp frontend
 Depends: emacsen, %N (= %v-%r)
 InstallScript: <<
  install -m 755 -d              %i/etc/emacs/site-start.d
  install -m 644 fink/%n-startup %i/etc/emacs/site-start.d/50%n.el

  install -m 755 -d              %i/lib/emacsen-common/packages/{install,remove}
  install -m 755 fink/%n-install %i/lib/emacsen-common/packages/install/%n
  install -m 755 fink/%n-remove  %i/lib/emacsen-common/packages/remove/%n
 <<
 Files: share/emacs
 DocFiles: AUTHORS COPYING ChangeLog DIARY INSTALL NEWS README*
 ConfFiles: %p/etc/emacs/site-start.d/50%n.el
 PostInstScript: <<
 if [ "$1" = "configure" ] && [ -x %p/lib/emacsen-common/emacs-package-install ]
 then
         %p/lib/emacsen-common/emacs-package-install %n
 fi
 <<
 PreRmScript: <<
 if [ -x %p/lib/emacsen-common/emacs-package-remove ] ; then
         %p/lib/emacsen-common/emacs-package-remove %n
 fi
 <<
 DescUsage: <<
  If you want to use anthy-el as default-input-method, add your ~/.emacs.el:
  (setq default-input-method "japanese-anthy")
 <<
<<
SplitOff2: <<
 Package: %N-shlibs
 Description: Secure Japanese input system - dynamic libraries
 Files: lib/libanthy.*.dylib lib/libanthydic.*.dylib lib/libanthyinput.*.dylib
 DocFiles: AUTHORS COPYING ChangeLog DIARY INSTALL NEWS README*
 Shlibs: <<
  %p/lib/libanthy.0.dylib      2.0.0 %n (>= 9100e-1)
  %p/lib/libanthydic.0.dylib   2.0.0 %n (>= 9100e-1)
  %p/lib/libanthyinput.0.dylib 1.0.0 %n (>= 9100e-1)
 <<
<<
SplitOff3: <<
 Package: %N-dev
 Description: Secure Japanese input system - development files
 Depends: %N-shlibs (= %v-%r)
 BuildDependsOnly: true
 Files: <<
  include lib/pkgconfig
  lib/libanthy.a     lib/libanthydic.a     lib/libanthyinput.a
  lib/libanthy.dylib lib/libanthydic.dylib lib/libanthyinput.dylib
  lib/libanthy.la    lib/libanthydic.la    lib/libanthyinput.la
 <<
 DocFiles: AUTHORS COPYING ChangeLog DIARY INSTALL NEWS README*
<<
Description: Secure Japanese input system
DescPackaging: <<
  Originally packaged by Etsushi Kato <[EMAIL PROTECTED]>
<<
License: GPL/LGPL
Maintainer: Todai Fink Team <[EMAIL PROTECTED]>
Homepage: http://anthy.sourceforge.jp/


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to