summaryrefslogtreecommitdiff
path: root/misc/cal
diff options
context:
space:
mode:
Diffstat (limited to 'misc/cal')
-rw-r--r--misc/cal/Makefile23
-rw-r--r--misc/cal/files/md53
-rw-r--r--misc/cal/files/patch-sum4
-rw-r--r--misc/cal/patches/patch-aa17
-rw-r--r--misc/cal/patches/patch-ab37
-rw-r--r--misc/cal/pkg/COMMENT1
-rw-r--r--misc/cal/pkg/DESCR38
-rw-r--r--misc/cal/pkg/PLIST6
8 files changed, 0 insertions, 129 deletions
diff --git a/misc/cal/Makefile b/misc/cal/Makefile
deleted file mode 100644
index d304051f24f..00000000000
--- a/misc/cal/Makefile
+++ /dev/null
@@ -1,23 +0,0 @@
-# $NetBSD: Makefile,v 1.7 2000/03/16 13:48:55 wiz Exp $
-# FreeBSD Id: Makefile,v 1.5 1997/05/12 06:33:23 max Exp
-#
-
-DISTNAME= cal-3.5
-CATEGORIES= misc
-MASTER_SITES= ${MASTER_SITE_SUNSITE:=utils/shell/}
-
-MAINTAINER= packages@netbsd.org
-
-WRKSRC= ${WRKDIR}/cal-3.5/source
-MAKEFILE= makefile.unx
-ALL_TARGET= cal
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/cal ${PREFIX}/bin/cal
- ${INSTALL_MAN} ${WRKSRC}/cal.1 ${PREFIX}/man/man1/cal.1
- @${MKDIR} ${PREFIX}/etc/cal
- @${CHMOD} 0755 ${PREFIX}/etc/cal
- if [ ! -f ${PREFIX}/etc/cal/calcol ]; then ${INSTALL_DATA} ${WRKDIR}/cal-3.5/cal.col ${PREFIX}/etc/cal/calcol; fi
- if [ ! -f ${PREFIX}/etc/cal/caldat ]; then ${INSTALL_DATA} ${WRKDIR}/cal-3.5/cal.dat ${PREFIX}/etc/cal/caldat; fi
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/misc/cal/files/md5 b/misc/cal/files/md5
deleted file mode 100644
index 6ab18b75958..00000000000
--- a/misc/cal/files/md5
+++ /dev/null
@@ -1,3 +0,0 @@
-$NetBSD: md5,v 1.2 1998/08/07 13:25:04 agc Exp $
-
-MD5 (cal-3.5.tar.gz) = e947731574da1731bccbe35ad2769a99
diff --git a/misc/cal/files/patch-sum b/misc/cal/files/patch-sum
deleted file mode 100644
index 5bb06fc2290..00000000000
--- a/misc/cal/files/patch-sum
+++ /dev/null
@@ -1,4 +0,0 @@
-$NetBSD: patch-sum,v 1.1 1999/07/09 14:09:13 agc Exp $
-
-MD5 (patch-aa) = 53f6dac90c7025c8e9bf3eccfb163d91
-MD5 (patch-ab) = c844d192312abfd2f8ef91e9d3ba5129
diff --git a/misc/cal/patches/patch-aa b/misc/cal/patches/patch-aa
deleted file mode 100644
index 403f9581b4e..00000000000
--- a/misc/cal/patches/patch-aa
+++ /dev/null
@@ -1,17 +0,0 @@
-$NetBSD: patch-aa,v 1.2 1998/08/07 11:10:10 agc Exp $
-
-*** makefile.unx.orig Tue Mar 5 06:36:27 1996
---- makefile.unx Mon May 12 15:23:42 1997
-***************
-*** 10,15 ****
---- 10,19 ----
- CC=gcc
- CFLAGS=-O -Wall -DUNIX -DUSE_REMINDER
-
-+ .ifdef PREFIX
-+ CFLAGS+=-DPREFIX="\"${PREFIX}\""
-+ .endif
-+
- BINDIR=/usr/bin
- MANDIR=/usr/man
-
diff --git a/misc/cal/patches/patch-ab b/misc/cal/patches/patch-ab
deleted file mode 100644
index e7a4a7c337f..00000000000
--- a/misc/cal/patches/patch-ab
+++ /dev/null
@@ -1,37 +0,0 @@
-$NetBSD: patch-ab,v 1.3 1998/08/07 11:10:10 agc Exp $
-
---- cal.c.orig Thu Jul 11 21:36:33 1996
-+++ cal.c Thu Oct 23 14:37:49 1997
-@@ -122,6 +122,7 @@
- #include <ctype.h>
- #include <string.h>
- #include <sys/types.h>
-+#include <sys/param.h> /*NetBSD*/
-
- #ifndef max
- #define max(a,b) (((a)>(b))?(a):(b))
-@@ -130,6 +131,10 @@
- /* Note: Other unix systems may require this next re-define to work. */
- /* I believe that SCO is one such system. Please send in any fixes */
- /* needed to get your system running. */
-+#if (defined(BSD) && BSD >= 199306)
-+#define stricmp(a,b) strcasecmp(a,b) /* case-insensitive string comparison */
-+#endif
-+
- #ifdef __linux__ /* Make linux compatible with stricmp() */
- #define stricmp(a,b) strcasecmp(a,b) /* case-insensitive string comparison */
- #endif
-@@ -1401,8 +1406,12 @@
- strcpy(str, ".");
- strcpy(str, file);
- if ((fp = fopen(str, mode)) == NULL) {
-- /* If still not found then look in a lib directory */
-+ /* If still not found then look in config directory */
-+#ifdef PREFIX
-+ strcpy(str, PREFIX "/etc/cal/");
-+#else
- strcpy(str, "/usr/lib/");
-+#endif
- strcat(str,file);
- fp = fopen(str, mode);
- }
diff --git a/misc/cal/pkg/COMMENT b/misc/cal/pkg/COMMENT
deleted file mode 100644
index a09124a2daa..00000000000
--- a/misc/cal/pkg/COMMENT
+++ /dev/null
@@ -1 +0,0 @@
-Enhanced color version of standard calendar utility
diff --git a/misc/cal/pkg/DESCR b/misc/cal/pkg/DESCR
deleted file mode 100644
index 7df81b92dff..00000000000
--- a/misc/cal/pkg/DESCR
+++ /dev/null
@@ -1,38 +0,0 @@
-CAL is a nicely-enhanced version of the unix `cal' command.
-Features:
-
- * Hilights today's date when displaying a monthly calendar.
-
- * Displays an optional user-definable list of `special day'
- descriptions (like appointments) to the right of the monthly
- calendar display. Cal can be set optionally to ignore appointments
- older than the current day. Next month's appointments are shown if
- there is room to do so. Multiple appointment data files may also
- be specified on the commandline.
-
- * You can specify your own appointment and color definition files on the
- commandline, or use the defaults.
-
- * Date descriptions can display "years since" a given year, useful for
- birthdays and anniversaries.
-
- * Completely configurable colors -- eight separate color attributes.
-
- * No ANSI driver needed for colors, and the output may be redirected
- anywhere, just like the unix version. However, ANSI color control may
- be enabled (e.g. for unix) with a #define in the source code.
-
- * Commandline-compatible with unix `cal' command, but with several
- enhanced switch settings.
-
-Requests, bug reports, suggestions, donations, proposals for
-contract work, and so forth may be sent to:
-
- Attn: Alex Matulich
- Unicorn Research Corporation
- 4621 N. Landmark Drive
- Orlando, FL 32817-1235
- USA
- 407-657-4974 FAX 407-657-6149
-
-or send e-mail to matulich_a@seaa.navsea.navy.mil.
diff --git a/misc/cal/pkg/PLIST b/misc/cal/pkg/PLIST
deleted file mode 100644
index 352540df33d..00000000000
--- a/misc/cal/pkg/PLIST
+++ /dev/null
@@ -1,6 +0,0 @@
-@comment $NetBSD: PLIST,v 1.3 1997/11/06 10:01:10 agc Exp $
-bin/cal
-etc/cal/calcol
-etc/cal/caldat
-@dirrm etc/cal
-man/man1/cal.1.gz