aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1999-03-31 23:31:21 +0800
committersteve <steve@FreeBSD.org>1999-03-31 23:31:21 +0800
commit29f5b7f1a441143616793e986a1cea20b615949c (patch)
tree8c4235e343a5dada2baf72df5d5085963f2bb1b3 /deskutils
parentb498ae27ff44711ad50ecb0a471eec75d4e4205d (diff)
downloadfreebsd-ports-gnome-29f5b7f1a441143616793e986a1cea20b615949c.tar.gz
freebsd-ports-gnome-29f5b7f1a441143616793e986a1cea20b615949c.tar.zst
freebsd-ports-gnome-29f5b7f1a441143616793e986a1cea20b615949c.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>
Diffstat (limited to 'deskutils')
-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