Skip site navigation (1)Skip section navigation (2)
Date:      Fri,  7 Jun 2002 13:07:29 -0700 (PDT)
From:      Takayuki Nakao <t@nakao.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/39006: Update ports: japanese/yc.el
Message-ID:  <20020607200729.C1EC81C9@jodo.bdc.ntta.com>

next in thread | raw e-mail | index | archive | help

>Number:         39006
>Category:       ports
>Synopsis:       Update ports: japanese/yc.el
>Confidential:   yes
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 07 13:10:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Takayuki Nakao
>Release:        
>Organization:
>Environment:
>Description:
Update ports: japanese/yc.el
I found the port is obsolute for more than a year and asked the
maintainer two weeks ago to synchnorize it to the original source.
However I've not responded by him/her yet, so I decided to send-pr by myself.
The following is a patch to upgrade the current port to the latest version
of the original source.


diff -ruN yc.el.orig/Makefile yc.el/Makefile
--- yc.el.orig/Makefile	Fri Jun  7 12:02:02 2002
+++ yc.el/Makefile	Fri Jun  7 12:02:17 2002
@@ -2,31 +2,32 @@
 # Date created:		1999/12/05
 # Whom:			HONDA Yasuhiro <honda@kashio.info.mie-u.ac.jp>
 #
-# $FreeBSD: ports/japanese/yc.el/Makefile,v 1.4 2001/02/27 18:11:34 knu Exp $
+# $FreeBSD$
 #
 
 PORTNAME=	yc.el
-PORTVERSION=	3.2.4
+PORTVERSION=	3.4.6
 PORTEPOCH=	1
 CATEGORIES=	japanese elisp
 MASTER_SITES=	http://www.ceres.dti.ne.jp/~knak/
 EXTRACT_SUFX=	.gz
 
-MAINTAINER=	honda@kashio.info.mie-u.ac.jp
+MAINTAINER=	t@nakao.org
 
 EXTRACT_AFTER_ARGS=	> yc.el
 
-NO_BUILD=	yes
+EMACS_PORT_NAME?=	emacs21
+
 NO_WRKSUBDIR=	yes
 
-ELISPDIR=	${PREFIX}/share/emacs/site-lisp
-XELISPDIR=	${PREFIX}/lib/xemacs/site-lisp
+do-build:
+	${EMACS_CMD} -batch -f batch-byte-compile ${WRKSRC}/yc.el
+
+YC_LISPDIR=	${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/yc
 
 do-install:
-	${MKDIR} ${ELISPDIR}
-	${INSTALL_DATA} ${WRKSRC}/yc.el ${ELISPDIR}
-# for xemacs
-	${MKDIR} ${XELISPDIR}
-	${LN} -sf ${ELISPDIR}/yc.el ${XELISPDIR}
+	${MKDIR} ${YC_LISPDIR}
+	${INSTALL_DATA} ${WRKSRC}/yc.el ${YC_LISPDIR}
+	${INSTALL_DATA} ${WRKSRC}/yc.elc ${YC_LISPDIR}
 
 .include <bsd.port.mk>
diff -ruN yc.el.orig/distinfo yc.el/distinfo
--- yc.el.orig/distinfo	Fri Jun  7 12:02:02 2002
+++ yc.el/distinfo	Fri Jun  7 12:17:26 2002
@@ -1 +1 @@
-MD5 (yc.el-3.2.4.gz) = 576849ef8cd4186d66e5afd374e7b731
+MD5 (yc.el-3.4.6.gz) = 9f1133b0bd94d2bf92037522e92bb1e1
diff -ruN yc.el.orig/pkg-comment yc.el/pkg-comment
--- yc.el.orig/pkg-comment	Fri Jun  7 12:02:02 2002
+++ yc.el/pkg-comment	Fri Jun  7 12:04:31 2002
@@ -1 +1 @@
-Yet another Canna client for Emacs20/XEmacs
+Yet another Canna client for Emacs/XEmacs
diff -ruN yc.el.orig/pkg-descr yc.el/pkg-descr
--- yc.el.orig/pkg-descr	Fri Jun  7 12:02:02 2002
+++ yc.el/pkg-descr	Fri Jun  7 12:11:14 2002
@@ -1,22 +1,7 @@
-Yet another Canna client
+YC: Yet another Canna client
 
-YC is a Japanese input method on Emacs-20.x/XEmacs.  YC is written in
-emacs lisp and access to Canna server directly.  YC works well even if
-your Emacs does not support Canna.
-
-Configuration:
-  1. make user dictionary if you don't have your user dictionary
-      % mkdic user
-  2. specify your Canna server
-	  set enviroment variable CANNAHOST:
-		% setenv CANNAHOST hostname
-	  or add 
-		(setq yc-server-host "hostname")
-	  to ~/.emacs
-  3. add
-	  (load "yc")
-	 to ~/.emacs
+YC is a Japanese input method on Emacs/XEmacs. YC is written in
+emacs lisp and access to Canna server directly. YC does not require
+any patches to you Emacs even if it does not support Canna. 
 
 WWW: http://www.ceres.dti.ne.jp/~knak/yc.html
-
-- HONDA Yasuhiro <honda@kashio.info.mie-u.ac.jp>
diff -ruN yc.el.orig/pkg-message yc.el/pkg-message
--- yc.el.orig/pkg-message	Wed Dec 31 16:00:00 1969
+++ yc.el/pkg-message	Fri Jun  7 12:14:15 2002
@@ -0,0 +1,7 @@
+**********************************************************************
+* Before using yc.el, you must add the following e-lisp functions to *
+* your .emacs file.                                                  *
+*                                                                    *
+* (load "yc")                                                        *
+* (global-yc-mode 1) ;; if you need ANK-Kanji conversion globally    *
+**********************************************************************
diff -ruN yc.el.orig/pkg-plist yc.el/pkg-plist
--- yc.el.orig/pkg-plist	Fri Jun  7 12:02:02 2002
+++ yc.el/pkg-plist	Fri Jun  7 12:02:17 2002
@@ -1,2 +1,3 @@
-share/emacs/site-lisp/yc.el
-lib/xemacs/site-lisp/yc.el
+%%EMACS_VERSION_SITE_LISPDIR%%/yc/yc.el
+%%EMACS_VERSION_SITE_LISPDIR%%/yc/yc.elc
+@dirrm %%EMACS_VERSION_SITE_LISPDIR%%/yc
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020607200729.C1EC81C9>