summaryrefslogtreecommitdiff
path: root/time/remind
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2000-12-17 23:32:09 +0000
committerwiz <wiz@pkgsrc.org>2000-12-17 23:32:09 +0000
commitdf7948804e18401baeb9f3f2ca9b7ded3f4f66c7 (patch)
tree73288b5bb97270ccddd92731e20bbfff8858d306 /time/remind
parent389033175de2a6d1922929cf5b7598f2da56932a (diff)
downloadpkgsrc-df7948804e18401baeb9f3f2ca9b7ded3f4f66c7.tar.gz
New category: time. Move many packages here:
misc/cal, misc/cardboard-schedule, misc/ical, misc/plan, misc/py-mxDateTime, misc/remind, sysutils/logtime, and 19 more from x11.
Diffstat (limited to 'time/remind')
-rw-r--r--time/remind/Makefile44
-rw-r--r--time/remind/files/md53
-rw-r--r--time/remind/files/patch-sum6
-rw-r--r--time/remind/patches/patch-ab34
-rw-r--r--time/remind/patches/patch-ac43
-rw-r--r--time/remind/patches/patch-ad11
-rw-r--r--time/remind/patches/patch-ae40
-rw-r--r--time/remind/pkg/COMMENT1
-rw-r--r--time/remind/pkg/DESCR4
-rw-r--r--time/remind/pkg/PLIST22
10 files changed, 208 insertions, 0 deletions
diff --git a/time/remind/Makefile b/time/remind/Makefile
new file mode 100644
index 00000000000..b9d76f093de
--- /dev/null
+++ b/time/remind/Makefile
@@ -0,0 +1,44 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/12/17 23:32:11 wiz Exp $
+#
+
+DISTNAME= remind-03.00.21
+PKGNAME= ${DISTNAME:C/0([0-9])/\1/g}
+CATEGORIES= time
+MASTER_SITES= http://www.roaringpenguin.com/
+
+MAINTAINER= kim@tac.nyc.ny.us
+HOMEPAGE= http://www.roaringpenguin.com/remind.html
+
+GNU_CONFIGURE= yes
+
+# We don't want to require tcl just for one script.
+post-build:
+ @${SED} -e 's,@TCLSH@,tclsh8.0,' \
+ < ${WRKSRC}/scripts/cm2rem.tcl \
+ > ${WRKSRC}/scripts/cm2rem
+ @${MV} ${WRKSRC}/man/cm2rem.1 ${WRKSRC}/man/cm2rem.1.bak
+ @${SED} -e 's,@TCLSH@,tclsh8.0,' \
+ < ${WRKSRC}/man/cm2rem.1.bak \
+ > ${WRKSRC}/man/cm2rem.1
+
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/remind
+ (cd ${WRKSRC}; \
+ ${INSTALL_DATA} -p examples/defs.rem \
+ ${PREFIX}/share/examples/remind; \
+ ${INSTALL_DATA} -p examples/remind.vim \
+ ${PREFIX}/share/examples/remind; \
+ ${INSTALL_DATA} -p scripts/remind-all.csh \
+ ${PREFIX}/share/examples/remind; \
+ ${INSTALL_DATA} -p scripts/remind-all.sh \
+ ${PREFIX}/share/examples/remind)
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/remind
+ (cd ${WRKSRC}; \
+ ${INSTALL_DATA} -p docs/README.UNIX \
+ ${PREFIX}/share/doc/remind; \
+ ${INSTALL_DATA} -p docs/WHATSNEW.30 \
+ ${PREFIX}/share/doc/remind; \
+ ${INSTALL_DATA} -p COPYRIGHT \
+ ${PREFIX}/share/doc/remind)
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/time/remind/files/md5 b/time/remind/files/md5
new file mode 100644
index 00000000000..7daa94ba414
--- /dev/null
+++ b/time/remind/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/12/17 23:32:11 wiz Exp $
+
+MD5 (remind-03.00.21.tar.gz) = f70e2bca2b73dad27c52148017a8615b
diff --git a/time/remind/files/patch-sum b/time/remind/files/patch-sum
new file mode 100644
index 00000000000..616165fc3ad
--- /dev/null
+++ b/time/remind/files/patch-sum
@@ -0,0 +1,6 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/12/17 23:32:11 wiz Exp $
+
+MD5 (patch-ab) = d8077f40b413b94299bc6fcc1e52d8d8
+MD5 (patch-ac) = 5e27d2f4831041bea2886f8dfac8a60a
+MD5 (patch-ad) = 86304a2116ce8a8d3903151638566b6c
+MD5 (patch-ae) = c07a1cace7f1cf070bb6064823c0fe7b
diff --git a/time/remind/patches/patch-ab b/time/remind/patches/patch-ab
new file mode 100644
index 00000000000..3a34488c175
--- /dev/null
+++ b/time/remind/patches/patch-ab
@@ -0,0 +1,34 @@
+$NetBSD: patch-ab,v 1.1.1.1 2000/12/17 23:32:11 wiz Exp $
+
+--- src/Makefile.in.orig Wed Mar 15 11:03:39 2000
++++ src/Makefile.in Fri Mar 17 15:13:31 2000
+@@ -15,11 +15,12 @@
+
+ INSTALL=@INSTALL@
+ INSTALL_PROGRAM=@INSTALL_PROGRAM@
++INSTALL_SCRIPT=@INSTALL@ -m 0555
+ INSTALL_DATA=@INSTALL_DATA@
+
+ PROGS= remind rem2ps
+ SCRIPTS= $(srcdir)/../scripts/kall $(srcdir)/../scripts/rem \
+- $(srcdir)/../scripts/tkremind $(srcdir)/../scripts/cm2rem.tcl
++ $(srcdir)/../scripts/tkremind $(srcdir)/../scripts/cm2rem
+
+ MANS= $(srcdir)/../man/kall.1 $(srcdir)/../man/rem.1 \
+ $(srcdir)/../man/rem2ps.1 $(srcdir)/../man/remind.1 \
+@@ -49,11 +50,12 @@
+ @CC@ @LDFLAGS@ -o remind $(REMINDOBJS) @LIBS@
+
+ install: all
+- for prog in $(PROGS) $(SCRIPTS) ; do \
++ for prog in $(PROGS) ; do \
+ $(INSTALL_PROGRAM) $$prog $(bindir) ; \
+ done
+- -strip $(bindir)/remind
+- -strip $(bindir)/rem2ps
++ for prog in $(SCRIPTS) ; do \
++ $(INSTALL_SCRIPT) $$prog $(bindir) ; \
++ done
+ for man in $(MANS) ; do \
+ $(INSTALL_DATA) $$man $(mandir)/man1 ; \
+ done
diff --git a/time/remind/patches/patch-ac b/time/remind/patches/patch-ac
new file mode 100644
index 00000000000..e8885d990e7
--- /dev/null
+++ b/time/remind/patches/patch-ac
@@ -0,0 +1,43 @@
+$NetBSD: patch-ac,v 1.1.1.1 2000/12/17 23:32:11 wiz Exp $
+
+--- src/files.c.orig Mon Apr 5 13:34:48 1999
++++ src/files.c Wed Mar 1 19:48:52 2000
+@@ -19,6 +19,7 @@
+
+ #include <string.h>
+ #include <ctype.h>
++#include <glob.h>
+ #include <sys/stat.h>
+
+ #ifdef TM_IN_SYS_TIME
+@@ -421,16 +422,26 @@
+ {
+ DynamicBuffer buf;
+ int r, e;
++ glob_t g;
+
+ DBufInit(&buf);
++ memset(&g, 0, sizeof(g));
++
+ if ( (r=ParseToken(p, &buf)) ) return r;
+ e = VerifyEoln(p);
+ if (e) Eprint("%s", ErrMsg[e]);
+- if ( (r=IncludeFile(DBufValue(&buf))) ) {
+- DBufFree(&buf);
+- return r;
+- }
++
++ glob(DBufValue(&buf), GLOB_NOCHECK|GLOB_BRACE|GLOB_TILDE, NULL, &g);
+ DBufFree(&buf);
++
++ do {
++ if ( (r=IncludeFile(*g.gl_pathv)) ) {
++ globfree(&g);
++ return r;
++ }
++ } while (*++g.gl_pathv != NULL);
++
++ globfree(&g);
+ NumIfs = 0;
+ IfFlags = 0;
+ return OK;
diff --git a/time/remind/patches/patch-ad b/time/remind/patches/patch-ad
new file mode 100644
index 00000000000..77f7301901d
--- /dev/null
+++ b/time/remind/patches/patch-ad
@@ -0,0 +1,11 @@
+$NetBSD: patch-ad,v 1.1.1.1 2000/12/17 23:32:11 wiz Exp $
+
+--- scripts/cm2rem.tcl.orig Thu Feb 17 22:45:38 2000
++++ scripts/cm2rem.tcl Sun Apr 30 23:32:07 2000
+@@ -17,5 +17,5 @@
+
+ # the next line restarts using tclsh \
+-exec tclsh "$0" "$@"
++exec @TCLSH@ "$0" "$@"
+
+ set i 0
diff --git a/time/remind/patches/patch-ae b/time/remind/patches/patch-ae
new file mode 100644
index 00000000000..722dc193154
--- /dev/null
+++ b/time/remind/patches/patch-ae
@@ -0,0 +1,40 @@
+$NetBSD: patch-ae,v 1.1.1.1 2000/12/17 23:32:12 wiz Exp $
+
+--- man/cm2rem.1.orig Wed Mar 15 10:51:36 2000
++++ man/cm2rem.1 Fri Mar 17 15:18:27 2000
+@@ -2,27 +2,27 @@
+ .TH CM2REM 1 "18 October 1999"
+ .UC4
+ .SH NAME
+-cm2rem.tcl \- Convert Sun's "cm" input file to Remind format
++cm2rem \- Convert Sun's "cm" input file to Remind format
+ .SH SYNOPSIS
+-.B cm2rem.tcl < cm_file > remind_file
++.B cm2rem < cm_file > remind_file
+ .SH DESCRIPTION
+-\fBcm2rem.tcl\fR reads the Sun calendar manager data file and converts
+-it into a \fBRemind\fR script. Note that \fBcm2rem.tcl\fR can convert
++\fBcm2rem\fR reads the Sun calendar manager data file and converts
++it into a \fBRemind\fR script. Note that \fBcm2rem\fR can convert
+ \fIonly\fR version 3 calendar manager files. If you are using version 4
+ files, there should be a system utility to convert them to version 3 files.
+ .SH AUTHOR
+-\fBcm2rem.tcl\fR is supported by Roaring Penguin Software
++\fBcm2rem\fR is supported by Roaring Penguin Software
+ Inc. (http://www.roaringpenguin.com)
+ .PP
+-\fBcm2rem.tcl\fR was written by David F. Skoll <dfs@roaringpenguin.com>.
++\fBcm2rem\fR was written by David F. Skoll <dfs@roaringpenguin.com>.
+ .SH BUGS
+ Not all of the Sun calendar manager options are respected. In particular,
+ nothing is done for e-mail actions. Also, the resulting Remind script
+ is not editable with \fBTkRemind\fR; you can only edit it with a text
+ editor.
+ .PP
+-\fBcm2rem.tcl\fR requires Tcl/Tk version 8.0 or higher. The
+-\fBtclsh\fR interpreter must be on your \fBpath\fR.
++\fBcm2rem\fR requires Tcl/Tk version 8.0 or higher. The
++\fB@TCLSH@\fR interpreter must be on your \fBpath\fR.
+
+ .SH SEE ALSO
+ \fBremind(1)\fR, \fBtkremind(1)\fR
diff --git a/time/remind/pkg/COMMENT b/time/remind/pkg/COMMENT
new file mode 100644
index 00000000000..de4a63ebe27
--- /dev/null
+++ b/time/remind/pkg/COMMENT
@@ -0,0 +1 @@
+Calendar/alarm program with interpreted input language
diff --git a/time/remind/pkg/DESCR b/time/remind/pkg/DESCR
new file mode 100644
index 00000000000..3ac31fcd393
--- /dev/null
+++ b/time/remind/pkg/DESCR
@@ -0,0 +1,4 @@
+REMIND is a calendar/alarm program that lets you specify reminders
+and alarms with a versatile interpreted input language. REMIND
+also produces PostScript calendars, and can handle both the
+common and Hebrew calendars.
diff --git a/time/remind/pkg/PLIST b/time/remind/pkg/PLIST
new file mode 100644
index 00000000000..05fb7f414b7
--- /dev/null
+++ b/time/remind/pkg/PLIST
@@ -0,0 +1,22 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/12/17 23:32:12 wiz Exp $
+bin/cm2rem
+bin/kall
+bin/rem
+bin/rem2ps
+bin/remind
+bin/tkremind
+man/man1/cm2rem.1
+man/man1/kall.1
+man/man1/rem.1
+man/man1/rem2ps.1
+man/man1/remind.1
+man/man1/tkremind.1
+share/doc/remind/COPYRIGHT
+share/doc/remind/README.UNIX
+share/doc/remind/WHATSNEW.30
+share/examples/remind/defs.rem
+share/examples/remind/remind-all.csh
+share/examples/remind/remind-all.sh
+share/examples/remind/remind.vim
+@dirrm share/examples/remind
+@dirrm share/doc/remind