The following changes:
- replace /usr/lib with %%PREFEIX%% - update Makefile to exapnd %%PREFIX%% - new maintainer PR: 10851 Submitted by: MIHIRA Yoshiro <sanpei@sanpei.org>
This commit is contained in:
parent
11bb83d46f
commit
97828222bd
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=17507
@ -3,7 +3,7 @@
|
||||
# Date created: 2 April 1997
|
||||
# Whom: Andrey Zakhvatov <andy@icc.surw.chel.su>
|
||||
#
|
||||
# $Id: Makefile,v 1.5 1997/05/12 06:33:23 max Exp $
|
||||
# $Id: Makefile,v 1.6 1998/08/07 22:17:51 asami Exp $
|
||||
#
|
||||
|
||||
DISTNAME= cal-3.5
|
||||
@ -11,7 +11,7 @@ CATEGORIES= deskutils
|
||||
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 @@ MAN1= cal.1
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/cal ${PREFIX}/bin/cal
|
||||
${MV} ${WRKSRC}/cal.1 ${WRKSRC}/cal.1.orig
|
||||
${SED} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/cal.1.orig > ${WRKSRC}/cal.1
|
||||
${INSTALL_MAN} ${WRKSRC}/cal.1 ${PREFIX}/man/man1/cal.1
|
||||
@${MKDIR} ${PREFIX}/etc/cal
|
||||
@chmod 0755 ${PREFIX}/etc/cal
|
||||
|
17
deskutils/cal/files/patch-ac
Normal file
17
deskutils/cal/files/patch-ac
Normal file
@ -0,0 +1,17 @@
|
||||
--- cal.1.orig Sat Jul 6 02:55:52 1996
|
||||
+++ 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
|
Loading…
Reference in New Issue
Block a user