Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Mar 1999 17:44:57 +0900 (JST)
From:      sanpei@sanpei.org
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        andy@icc.surw.chel.su
Subject:   ports/10851: [PATCH] Update port: deskutils/cal
Message-ID:  <199903290844.RAA18516@lavender.yy.cs.keio.ac.jp>

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

>Number:         10851
>Category:       ports
>Synopsis:       [PATCH] Update port: deskutils/cal
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 29 01:10:01 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     MIHIRA Yoshiro
>Release:        FreeBSD 3.1-RELEASE i386
>Organization:
Keio UNIV.
>Environment:

	3.1-RELEASE

>Description:

I fix some documentaion problem of deskutils/cal.

    o add patches/patch-ac which replace /usr/lib strings to %%PREFIX%%.
    o change Makefile for %%PREFIX%% strings.
    o change MAINTAINER of this ports to me,
      submitted by original maintainer.

Please add patch-ac to CVS repository by hand, which is new file.

>How-To-Repeat:

>Fix:
	

diff -uNr cal.org/Makefile cal/Makefile
--- cal.org/Makefile	Sat Aug  8 07:17:51 1998
+++ cal/Makefile	Mon Mar 29 17:32:45 1999
@@ -11,7 +11,7 @@
 MASTER_SITES=		${MASTER_SITE_SUNSITE}
 MASTER_SITE_SUBDIR=	utils/shell
 
-MAINTAINER=	andy@icc.surw.chel.su
+MAINTAINER=	sanpei@sanpei.org
 
 WRKSRC=		${WRKDIR}/cal-3.5/source
 MAKEFILE=	makefile.unx
@@ -20,6 +20,8 @@
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/cal ${PREFIX}/bin/cal
+	${MV} ${WRKSRC}/cal.1 ${WRKSRC}/cal.1.org
+	${SED} -e 's|%%PREFIX%%|${PREFIX},' ${WRKSRC}/cal.1.org > ${WRKSRC}/cal.1
 	${INSTALL_MAN}  ${WRKSRC}/cal.1 ${PREFIX}/man/man1/cal.1
 	@${MKDIR} ${PREFIX}/etc/cal
 	@chmod 0755  ${PREFIX}/etc/cal
diff -uNr cal.org/patches/patch-ac cal/patches/patch-ac
--- cal.org/patches/patch-ac	Thu Jan  1 09:00:00 1970
+++ cal/patches/patch-ac	Mon Mar 29 16:09:39 1999
@@ -0,0 +1,17 @@
+--- source/cal.1.org	Sat Jul  6 02:55:52 1996
++++ source/cal.1	Mon Mar 29 16:02:33 1999
+@@ -375,12 +375,12 @@
+ .TP
+ .B caldat
+ .TP
+-.B /usr/lib/caldat
++.B %%PREFIX%%/etc/cal/caldat
+ Unix global date files
+ .TP
+ .B calcol
+ .TP
+-.B /usr/lib/calcol
++.B %%PREFIX%%/etc/cal/calcol
+ Unix global color files
+ .TP
+ .B ~/.dates

>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?199903290844.RAA18516>