Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Nov 2002 21:36:54 +0900 (JST)
From:      Kimura Fuyuki <fuyuki@hadaly.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/45870: Update port: japanese/cal.rb to 0.2.2002.11.28
Message-ID:  <20021130123654.755C6567C@hadaly.dyndns.org>

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

>Number:         45870
>Category:       ports
>Synopsis:       Update port: japanese/cal.rb to 0.2.2002.11.28
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Nov 30 04:40:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Kimura Fuyuki
>Release:        FreeBSD 4.7-RELEASE-p1 i386
>Organization:
>Environment:
System: FreeBSD hadaly.dyndns.org 4.7-RELEASE-p1 FreeBSD 4.7-RELEASE-p1 #2: Thu Oct 24 12:00:51 JST 2002 root@hadaly.dyndns.org:/sack/tmp/obj/pub/src/sys/NS i386


	
>Description:
Update to the recent version.
	
>How-To-Repeat:
	
>Fix:
cvs server: Diffing .
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/japanese/cal.rb/Makefile,v
retrieving revision 1.1
diff -u -r1.1 Makefile
--- Makefile	4 Nov 2002 01:35:00 -0000	1.1
+++ Makefile	30 Nov 2002 12:31:44 -0000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	cal.rb
-PORTVERSION=	0.2
+PORTVERSION=	0.2.2002.11.28
 CATEGORIES=	japanese deskutils
 MASTER_SITES=	http://aglaia.c.u-tokyo.ac.jp/~yamamoto/Script/Calendar/
 DISTFILES=	cal.rb Calendar.rb era_name
@@ -18,8 +18,6 @@
 RUBY_SHEBANG_FILES=	${WRKSRC}/cal.rb
 NO_BUILD=	yes
 
-LIBDIR=		${PREFIX}/libdata/cal
-
 do-extract:
 	${MKDIR} ${WRKSRC}
 .for i in ${DISTFILES}
@@ -27,13 +25,13 @@
 .endfor
 
 post-patch:
-	${RUBY} -i -pe 'sub "chdir(.*)", %q{chdir("${LIBDIR}")}' ${WRKSRC}/cal.rb
+	${RUBY} -i -pe 'sub "./era_name", "${DATADIR}/era_name"' \
+		${WRKSRC}/Calendar.rb
 
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/cal.rb ${PREFIX}/bin
-	${MKDIR} ${LIBDIR}
-.for i in Calendar.rb era_name
-	${INSTALL_DATA} ${WRKSRC}/${i} ${LIBDIR}
-.endfor
+	${INSTALL_DATA} ${WRKSRC}/Calendar.rb ${RUBY_SITELIBDIR}
+	${MKDIR} ${DATADIR}
+	${INSTALL_DATA} ${WRKSRC}/era_name ${DATADIR}
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/japanese/cal.rb/distinfo,v
retrieving revision 1.1
diff -u -r1.1 distinfo
--- distinfo	4 Nov 2002 01:35:00 -0000	1.1
+++ distinfo	30 Nov 2002 12:31:44 -0000
@@ -1,3 +1,3 @@
-MD5 (cal.rb/cal.rb) = 89a4eabee1e00de929cd944698a9ea7e
-MD5 (cal.rb/Calendar.rb) = b51bb285fde892ccbdedb0ad8d7d53f9
+MD5 (cal.rb/cal.rb) = 87bab2184bb7373fc6dac2432ac9af9a
+MD5 (cal.rb/Calendar.rb) = 76fd7a954e26d4ae43f87f721241dd4a
 MD5 (cal.rb/era_name) = 2c3c6a4de0d7d8a2101fbe7165509982
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/japanese/cal.rb/pkg-plist,v
retrieving revision 1.1
diff -u -r1.1 pkg-plist
--- pkg-plist	4 Nov 2002 01:35:00 -0000	1.1
+++ pkg-plist	30 Nov 2002 12:31:44 -0000
@@ -1,4 +1,4 @@
 bin/cal.rb
-libdata/cal/Calendar.rb
-libdata/cal/era_name
-@dirrm libdata/cal
+%%RUBY_SITELIBDIR%%/Calendar.rb
+%%DATADIR%%/era_name
+@dirrm %%DATADIR%%

>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?20021130123654.755C6567C>