aboutsummaryrefslogtreecommitdiff
path: root/deskutils/cal
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-03-31 15:31:21 +0000
committerSteve Price <steve@FreeBSD.org>1999-03-31 15:31:21 +0000
commit97828222bd5adca030413bfd399d59528edce9e7 (patch)
tree05afced79e67cf831218bda0efc34f096b581d69 /deskutils/cal
parent11bb83d46fdb10f834741a7b18fd878289e1750c (diff)
downloadports-97828222bd5adca030413bfd399d59528edce9e7.tar.gz
ports-97828222bd5adca030413bfd399d59528edce9e7.zip
The following changes:
- replace /usr/lib with %%PREFEIX%% - update Makefile to exapnd %%PREFIX%% - new maintainer PR: 10851 Submitted by: MIHIRA Yoshiro <sanpei@sanpei.org>
Notes
Notes: svn path=/head/; revision=17507
Diffstat (limited to 'deskutils/cal')
-rw-r--r--deskutils/cal/Makefile6
-rw-r--r--deskutils/cal/files/patch-ac17
2 files changed, 21 insertions, 2 deletions
diff --git a/deskutils/cal/Makefile b/deskutils/cal/Makefile
index ab80cf77136c..9e1b7fa1a249 100644
--- a/deskutils/cal/Makefile
+++ b/deskutils/cal/Makefile
@@ -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
diff --git a/deskutils/cal/files/patch-ac b/deskutils/cal/files/patch-ac
new file mode 100644
index 000000000000..0d4634c1968d
--- /dev/null
+++ b/deskutils/cal/files/patch-ac
@@ -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