Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Nov 2003 13:21:14 +0900 (JST)
From:      "Takayuki Nakao" <t@nakao.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        t@nakao.org
Subject:   ports/59540: Update ports: japanese/yc.el
Message-ID:  <20031121.132114.78211730.t.nakao@ntt.com>
Resent-Message-ID: <200311210430.hAL4UMtA055045@freefall.freebsd.org>

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

>Number:         59540
>Category:       ports
>Synopsis:       Update ports: japanese/yc.el
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 20 20:30:21 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Takayuki Nakao <t@nakao.org>
>Release:        
>Organization:
>Environment:
>Description:
This is a request for upgrading japanese/yc.el to version 4.0.1.

>How-To-Repeat:
>Fix:
The recursive diff is attached as followed;

diff -ruN yc.el.orig/Makefile yc.el/Makefile
--- yc.el.orig/Makefile	Tue Jun 17 22:13:06 2003
+++ yc.el/Makefile	Fri Nov 21 13:13:11 2003
@@ -6,28 +6,21 @@
 #
 
 PORTNAME=	yc.el
-PORTVERSION=	3.5.8
+PORTVERSION=	4.0.1
 PORTEPOCH=	1
 CATEGORIES=	japanese elisp
 MASTER_SITES=	http://www.ceres.dti.ne.jp/~knak/
-EXTRACT_SUFX=	.gz
+DISTNAME=	yc-${PORTVERSION}
 
 MAINTAINER=	t@nakao.org
 COMMENT=	Yet another Canna client for Emacs/XEmacs
 
-EXTRACT_AFTER_ARGS=	> yc.el
-NO_WRKSUBDIR=	yes
-
 EMACS_PORT_NAME?=	emacs21
 YC_LISPDIR=		${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/yc
 
-do-build:
-	${EMACS_CMD} -batch -f batch-byte-compile ${WRKSRC}/yc.el
-
-do-install:
-	${MKDIR} ${YC_LISPDIR}
-	${INSTALL_DATA} ${WRKSRC}/yc.el ${YC_LISPDIR}
-	${INSTALL_DATA} ${WRKSRC}/yc.elc ${YC_LISPDIR}
+MAKE_ARGS+=	LISPDIR=${YC_LISPDIR}
+MAKE_ARGS+=	INSTALL_PROGRAM="${INSTALL_PROGRAM}"
+MAKE_ARGS+=	INSTALL_SCRIPT="${INSTALL_SCRIPT}"
 
 post-install:
 	@${CAT} ${MASTERDIR}/pkg-message
diff -ruN yc.el.orig/distinfo yc.el/distinfo
--- yc.el.orig/distinfo	Tue Jun 17 22:13:06 2003
+++ yc.el/distinfo	Fri Nov 14 15:38:16 2003
@@ -1 +1 @@
-MD5 (yc.el-3.5.8.gz) = 94c4484b2a1e13d3e3a2d57dbdc7c19f
+MD5 (yc-4.0.1.tar.gz) = e63c37a2692d77d132f9f8765f9a53a2
diff -ruN yc.el.orig/files/patch-aa yc.el/files/patch-aa
--- yc.el.orig/files/patch-aa	Thu Jan  1 09:00:00 1970
+++ yc.el/files/patch-aa	Fri Nov 21 12:59:54 2003
@@ -0,0 +1,46 @@
+--- Makefile.orig	Sun Nov  9 16:18:10 2003
++++ Makefile	Fri Nov 21 12:59:50 2003
+@@ -1,10 +1,10 @@
+-prefix = /usr/local
++prefix = $(PREFIX)
+ #exesuffix = .exe # for Windows
+ 
+-EMACS = emacs
++#EMACS = emacs
+ #EMACS = xemacs
+ 
+-elispdir = $(prefix)/share/emacs/site-lisp
++elispdir = $(LISPDIR)
+ #elispdir = $(prefix)/lib/$(EMACS)/site-lisp
+ #elispdir = $(prefix)/lib/emacs
+ 
+@@ -12,8 +12,10 @@
+ elc = yc.elc
+ PROGRAM = icanna$(exesuffix)
+ OBJS = icanna.o
+-CC = gcc
+-INSTALL = install
++#CC = gcc
++#INSTALL = install
++
++.SUFFIXES: .el .elc
+ 
+ all: $(PROGRAM) $(elc)
+ 
+@@ -29,11 +31,13 @@
+ install: install-bin install-el
+ 
+ install-bin: $(PROGRAM)
+-	$(INSTALL) -m 755 -s $(PROGRAM) $(INSTALL_PATH)/$(PROGRAM)
++	test -f $(INSTALL_PATH) || mkdir -p $(INSTALL_PATH)
++	$(INSTALL_PROGRAM) $(PROGRAM) $(INSTALL_PATH)/$(PROGRAM)
+ 
+ install-el: $(ELCS) $(SRCS)
+-	$(INSTALL) -m 755 $(elc) $(elispdir)/$(elc)
+-	$(INSTALL) -m 755 $(elc:.elc=.el) $(elispdir)/$(elc:.elc=.el)
++	test -f $(elispdir) || mkdir -p $(elispdir)
++	$(INSTALL_SCRIPT) $(elc) $(elispdir)/$(elc)
++	$(INSTALL_SCRIPT) $(elc:.elc=.el) $(elispdir)/$(elc:.elc=.el)
+ 
+ uninstall: uninstall-bin uninstall-el
+ 
diff -ruN yc.el.orig/pkg-plist yc.el/pkg-plist
--- yc.el.orig/pkg-plist	Fri Jun 28 12:02:01 2002
+++ yc.el/pkg-plist	Fri Nov 21 12:51:28 2003
@@ -1,3 +1,4 @@
 %%EMACS_VERSION_SITE_LISPDIR%%/yc/yc.el
 %%EMACS_VERSION_SITE_LISPDIR%%/yc/yc.elc
+bin/icanna
 @dirrm %%EMACS_VERSION_SITE_LISPDIR%%/yc
>Release-Note:
>Audit-Trail:
>Unformatted:



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