Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jun 2002 12:13:37 -0700 (PDT)
From:      Takayuki Nakao <t@nakao.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/39891: Update ports: japanese/yc.el
Message-ID:  <20020626191337.59BE8F1@jodo.bdc.ntta.com>

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

>Number:         39891
>Category:       ports
>Synopsis:       Update ports: japanese/yc.el
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 26 12:20:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Takayuki Nakao <t@nakao.org>
>Release:        
>Organization:
>Environment:
>Description:
This is a request for upgrading the ports japanese/yc.el.
The ports stays so old version in more than a year while the original
source went further greater version. The original maintainer didn't
take any action against my request, I did send-pr on behalf of him/her.
Note: This send-pr obsolutes the previous one (Id: ports/39006).
>How-To-Repeat:
>Fix:
Recursive diff is shown below;

diff -ruN yc.el.orig/Makefile yc.el/Makefile
--- yc.el.orig/Makefile	Wed Jun 26 11:56:40 2002
+++ yc.el/Makefile	Wed Jun 26 11:56:30 2002
@@ -2,31 +2,35 @@
 # 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.7
 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}
+
+post-install:
+	@${CAT} ${MASTERDIR}/pkg-message
 
 .include <bsd.port.mk>
diff -ruN yc.el.orig/distinfo yc.el/distinfo
--- yc.el.orig/distinfo	Wed Jun 26 11:56:40 2002
+++ yc.el/distinfo	Wed Jun 26 11:56:30 2002
@@ -1 +1 @@
-MD5 (yc.el-3.2.4.gz) = 576849ef8cd4186d66e5afd374e7b731
+MD5 (yc.el-3.4.7.gz) = 36cf52c47a5b89d3896b92296ee406d2
diff -ruN yc.el.orig/pkg-comment yc.el/pkg-comment
--- yc.el.orig/pkg-comment	Wed Jun 26 11:56:40 2002
+++ yc.el/pkg-comment	Wed Jun 26 11:56:30 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	Wed Jun 26 11:56:40 2002
+++ yc.el/pkg-descr	Wed Jun 26 11:56:30 2002
@@ -1,22 +1,7 @@
 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
+YC is a Japanese input method on Emacs/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
-
 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	Wed Jun 26 11:56:30 2002
@@ -0,0 +1,16 @@
+************************************************************
+Quick Setup:
+
+(1) Add the following two lines in your $HOME/.emacs file;
+
+  (load "yc")
+  (global-yc-mode 1) ;; if you need ANK-conversion-mode in all buffers
+
+(2) Set the following environment variables;
+
+  CANNAHOST	hostname of cannaserver
+  CANNALIBDIR	a full path of the directory containing 'default.canna'
+
+  These values are also configurable in .emacs by setting variables
+  'yc-server-host' and 'yc-canna-lib-path'.
+************************************************************
diff -ruN yc.el.orig/pkg-plist yc.el/pkg-plist
--- yc.el.orig/pkg-plist	Wed Jun 26 11:56:40 2002
+++ yc.el/pkg-plist	Wed Jun 26 11:56:30 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
>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?20020626191337.59BE8F1>