summaryrefslogtreecommitdiff
path: root/time/plan
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/plan
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/plan')
-rw-r--r--time/plan/Makefile25
-rw-r--r--time/plan/files/md53
-rw-r--r--time/plan/files/patch-sum6
-rw-r--r--time/plan/patches/patch-aa130
-rw-r--r--time/plan/patches/patch-ab13
-rw-r--r--time/plan/patches/patch-ac13
-rw-r--r--time/plan/patches/patch-ad13
-rw-r--r--time/plan/pkg/COMMENT1
-rw-r--r--time/plan/pkg/DESCR24
-rw-r--r--time/plan/pkg/MESSAGE2
-rw-r--r--time/plan/pkg/PLIST46
11 files changed, 276 insertions, 0 deletions
diff --git a/time/plan/Makefile b/time/plan/Makefile
new file mode 100644
index 00000000000..b952b12ca64
--- /dev/null
+++ b/time/plan/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/12/17 23:32:22 wiz Exp $
+#
+
+DISTNAME= plan-1.8.4
+WRKSRC= ${WRKDIR}/${DISTNAME}/src
+CATEGORIES= x11 time
+MASTER_SITES= ftp://ftp.fu-berlin.de/unix/graphics/plan/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.in-berlin.de/User/bitrot/plan.html
+
+USE_MOTIF= YES
+
+ALL_TARGET= netbsd
+
+pre-install:
+ ${MKDIR} ${X11PREFIX}/libexec/plan ${X11PREFIX}/share/plan \
+ ${X11PREFIX}/share/plan/holiday
+ ${RM} -f ${WRKDIR}/${DISTNAME}/holiday/holiday_*.orig
+ ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/holiday/holiday_* ${X11PREFIX}/share/plan/holiday
+ for f in HISTORY README; do \
+ ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/$$f ${X11PREFIX}/share/plan; \
+ done
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/time/plan/files/md5 b/time/plan/files/md5
new file mode 100644
index 00000000000..4b33ae303f1
--- /dev/null
+++ b/time/plan/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/12/17 23:32:22 wiz Exp $
+
+MD5 (plan-1.8.4.tar.gz) = 85f793084fbb88c4bb128c1d835c6b30
diff --git a/time/plan/files/patch-sum b/time/plan/files/patch-sum
new file mode 100644
index 00000000000..afec9ae685d
--- /dev/null
+++ b/time/plan/files/patch-sum
@@ -0,0 +1,6 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/12/17 23:32:22 wiz Exp $
+
+MD5 (patch-aa) = 2e992555e855075ead0ea321b48653eb
+MD5 (patch-ab) = f640fe7c551a99ad468275a57d01edf2
+MD5 (patch-ac) = d94f971a26acbc734e6ef8ec09971567
+MD5 (patch-ad) = b85f28f4008b9146e47eaf3b7f0443b2
diff --git a/time/plan/patches/patch-aa b/time/plan/patches/patch-aa
new file mode 100644
index 00000000000..10c69ea5753
--- /dev/null
+++ b/time/plan/patches/patch-aa
@@ -0,0 +1,130 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/12/17 23:32:23 wiz Exp $
+
+--- Makefile.orig Mon Jul 17 22:07:03 2000
++++ Makefile
+@@ -8,19 +8,19 @@
+ # after "=", this is parsed and rewritten by the configure script.
+ #
+ # # user-callable executable (plan)
+-DIR=/usr/local/bin
++DIR=${PREFIX}/bin
+ # # auxiliary programs (pland, notifier, PS)
+-LIB=/usr/local/lib
++LIB=${PREFIX}/libexec/plan
+ # # help file (plan.help)
+-SBIN=/usr/local/lib
++SBIN=${LIB}
+ # # system programs (netplan)
+-HELP=/usr/local/lib
++HELP=${PREFIX}/share/plan
+ # # netplan expects netplan.dir/ here
+-NETPLANDIR=/usr/local/lib
++NETPLANDIR=${LIB}
+ # # unformatted nroff manpage (plan.[14])
+-MAN=/usr/local/man
++MAN=${PREFIX}/man/man
+ # # formatted manpage (plan.[14])
+-CATMAN=/usr/catman/local/cat
++CATMAN=${PREFIX}/man/cat
+ # # subdirectory in home dir, or empty
+ PLANRULE=
+ # # lockfile for plan, %d is uid
+@@ -34,12 +34,12 @@
+ # # standard Unix compiler generator
+ YACC=yacc
+ # # numerical user ID of <nobody> account
+-NOB_UID=60001
++NOB_UID=32767
+ # # default numerical group ID of <nobody>
+-NOB_GID=60001
++NOB_GID=39
+ # # used by plan to pre-process holiday files,
+ # # plan will check if this file really exists
+-CPP_PATH='/lib/cpp -P -I$(HELP)'
++CPP_PATH='/usr/bin/cpp -P -I$(HELP)'
+ # # by default, fork on startup? TRUE or FALSE
+ DOFORK=TRUE
+ # # switching to ISO8859-1
+@@ -55,7 +55,7 @@
+ # # do NOT define -O2 on DEC OSF/1 machines!
+ DEBUG=-O2
+ # # what to do without make arguments
+-DEFTARGET=help
++DEFTARGET=netbsd
+ #------------------------- end of configuration section ----------------------
+
+ OPT=$(DEBUG) $(PLANRULE) -DPLANLOCK=\"$(PLANLOCK)\" -DPLANDLOCK=\"$(PLANDLOCK)\"
+@@ -140,8 +140,7 @@
+ USL_C = -DNOKILL0 -I/usr/X/include
+ BSDI_C = -DBSD -DRABBITS -I/usr/X11/include -DFLOCK -DNOREGEX -Dbsdi
+ BSDIG_C = -DBSD -DRABBITS -I/usr/X11/include -DFLOCK -DNOREGEX -Dbsdi -ansi
+-NBSD_C = -ansi -I/usr/X11R6/include -DBSD -DRABBITS -DNOLOCK -DNOREGEX\
+- -DNO_MOTIF
++NBSD_C = ${CFLAGS} -ansi -I${PREFIX}/include -I${X11BASE}/include -DBSD -DRABBITS -DNOLOCK -DNOREGEX
+ FBSD_C = -ansi -I/usr/X11R6/include -DBSD -DNOLOCK -DNOREGEX -DRABBITS\
+ -DSTDLIBMALLOC
+ LINUX_C = -I/usr/X11R6/include -D_POSIX_SOURCE -DNOLOCK -DLINUX
+@@ -224,8 +223,8 @@
+ BSDI_L2 = -lc
+ BSDIG_L1= -L/usr/X11/lib -lXm -lXt -lX11
+ BSDIG_L2= -L/usr/X11/lib -lc
+-NBSD_L1 = -L/usr/X11R6/lib -lXm -lXt -lX11
+-NBSD_L2 = -L/usr/X11R6/lib -lc
++NBSD_L1 = -Wl,-rpath ${PREFIX}/lib -L${PREFIX}/lib -Wl,-rpath ${X11BASE}/lib -L${X11BASE}/lib -lXm -lXt -lX11
++NBSD_L2 = -Wl,-rpath ${PREFIX}/lib -L${PREFIX}/lib -Wl,-rpath ${X11BASE}/lib -L${X11BASE}/lib -lc
+ FBSD_L1 = -L/usr/X11R6/lib -lXm -lXt -lX11 -lXext -lSM -lICE -lXpm
+ FBSD_L2 = -L/usr/X11R6/lib -lc
+ LINUX_L1= -L/usr/X11R6/lib -L/usr/lib/X11R6/lib -lSM -lXm -lXt -lX11 -lXpm -lc -lXext -lSM -lICE -lX11
+@@ -420,7 +419,7 @@
+ env CF="$(BSDIG_C)" L1F="$(BSDIG_L1)" L2F="$(BSDIG_L2)" MYCC=gcc make all
+
+ netbsd:
+- env CF="$(NBSD_C)" L1F="$(NBSD_L1)" L2F="$(NBSD_L2)" MYCC=gcc $(MAKE) all
++ env CF="$(NBSD_C)" L1F="$(NBSD_L1)" L2F="$(NBSD_L2)" MYCC=${CC} $(MAKE) all
+
+ freebsd:
+ env CF="$(FBSD_C)" L1F="$(FBSD_L1)" L2F="$(FBSD_L2)" MYCC=${CC} make all
+@@ -569,34 +568,15 @@
+
+ #---------------------------------------------------------------
+ install:
+- -rm -f $(DESTDIR)$(DIR)/pland $(DESTDIR)$(DIR)/notifier $(DESTDIR)$(LIB)/netplan
+- mkdir -p $(DESTDIR)$(DIR)
+- cp plan $(DESTDIR)$(DIR)
+- mkdir -p $(DESTDIR)$(LIB)
+- cp pland notifier ../misc/plan_cal.ps ../language/* $(DESTDIR)$(LIB)
+- mkdir -p $(DESTDIR)$(SBIN)
+- cp netplan $(DESTDIR)$(SBIN)
+- -(test x'$(JAPAN)' != x && cp ../misc/plan_calSJ.ps $(DESTDIR)$(LIB)) || exit 0
+- mkdir -p $(DESTDIR)$(HELP)
+- cp ../language/plan.help $(DESTDIR)$(HELP)
+- -strip $(DESTDIR)$(DIR)/plan $(DESTDIR)$(LIB)/pland $(DESTDIR)$(LIB)/notifier $(DESTDIR)$(SBIN)/netplan
+- -chmod 755 $(DESTDIR)$(DIR)/plan $(DESTDIR)$(LIB)/pland $(DESTDIR)$(LIB)/notifier $(DESTDIR)$(LIB)/netplan
+- -chmod 644 $(DESTDIR)$(HELP)/plan.help $(DESTDIR)$(LIB)/plan_cal.ps $(DESTDIR)$(LIB)/plan.lang.*
+- -(test x'$(JAPAN)' != x && chmod 644 $(DESTDIR)$(LIB)/plan_calSJ.ps) || exit 0
+- mkdir -p $(DESTDIR)$(NETPLANDIR)/netplan.dir
+- -chmod 700 $(DESTDIR)$(NETPLANDIR)/netplan.dir || exit 0
+- -(test x'$(CATMAN)' != xNONE' -a -x "`which nroff`" && nroff -man ../misc/plan.1 >../misc/plan.1cat) || exit 0
+- -(test x'$(CATMAN)' != xNONE' -a -x "`which nroff`" && nroff -man ../misc/plan.4 >../misc/plan.4cat) || exit 0
+- -(test x'$(CATMAN)' != xNONE' -a -x "`which nroff`" && nroff -man ../misc/netplan.1 >../misc/netplan.1cat) || exit 0
+- -(test x'$(MAN)' != xNONE' -a -d $(DESTDIR)$(MAN)1 && cp ../misc/plan.1 $(DESTDIR)$(MAN)1/plan) || exit 0
+- -(test x'$(MAN)' != xNONE' -a -d $(DESTDIR)$(MAN)4 && cp ../misc/plan.4 $(DESTDIR)$(MAN)4/plan) || exit 0
+- -(test x'$(MAN)' != xNONE' -a -d $(DESTDIR)$(MAN)1 && cp ../misc/netplan.1 $(DESTDIR)$(MAN)1/netplan) || exit 0
+- -(test x'$(CATMAN)' != xNONE' -a -d $(DESTDIR)$(CATMAN)1 && cp ../misc/plan.1cat $(DESTDIR)$(CATMAN)1/plan) || exit 0
+- -(test x'$(CATMAN)' != xNONE' -a -d $(DESTDIR)$(CATMAN)4 && cp ../misc/plan.4cat $(DESTDIR)$(CATMAN)4/plan) || exit 0
+- -(test x'$(CATMAN)' != xNONE' -a -d $(DESTDIR)$(CATMAN)1 && cp ../misc/netplan.1cat $(DESTDIR)$(CATMAN)1/netplan) || exit 0
+- -(test -f ${HOME}/.holiday || cp ../holiday/holiday_$(HOLIDAY) ${HOME}/.holiday) || exit 0
+- -(test `uname` = IRIX -o `uname` = IRIX64 && mkdir $$HOME/.icons) || exit 0
+- -(test `uname` = IRIX -o `uname` = IRIX64 && cp ../misc/Plan.icon $$HOME/.icons/Plan.icon) || exit 0
++ ${BSD_INSTALL_PROGRAM} plan $(DIR)
++ ${BSD_INSTALL_PROGRAM} pland notifier netplan ${LIB}
++ ${BSD_INSTALL_DATA} ../misc/plan_cal.ps ${LIB}
++ ${BSD_INSTALL_DATA} ../language/plan.* $(HELP)
++ -mkdir -p $(NETPLANDIR)/netplan.dir
++ -chmod 700 $(NETPLANDIR)/netplan.dir
++ -(test -d $(MAN)1 && ${BSD_INSTALL_MAN} ../misc/plan.1 $(MAN)1/plan.1) || exit 0
++ -(test -d $(MAN)4 && ${BSD_INSTALL_MAN} ../misc/plan.4 $(MAN)4/plan.4) || exit 0
++ -(test -d $(MAN)1 && ${BSD_INSTALL_MAN} ../misc/netplan.1 $(MAN)1/netplan.1) || exit 0
+ @echo ""
+ @echo "use ../holiday/* as templates for your ~/.holiday file"
+
diff --git a/time/plan/patches/patch-ab b/time/plan/patches/patch-ab
new file mode 100644
index 00000000000..0fdeea69bec
--- /dev/null
+++ b/time/plan/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2000/12/17 23:32:23 wiz Exp $
+
+--- time.c.orig Mon Oct 11 21:11:36 1999
++++ time.c
+@@ -244,7 +244,7 @@
+ zone += 24;
+ zone *= 3600;
+ #else
+-#if defined(bsdi) || defined(SUN) || defined(SVR4) || defined(convex)
++#if defined(bsdi) || defined(SUN) || defined(SVR4) || defined(convex) || defined(__NetBSD__)
+ time_t now;
+ struct tm *tm;
+ tzset();
diff --git a/time/plan/patches/patch-ac b/time/plan/patches/patch-ac
new file mode 100644
index 00000000000..f9e39c05aa5
--- /dev/null
+++ b/time/plan/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1.1.1 2000/12/17 23:32:23 wiz Exp $
+
+--- ../holiday/holiday_austria.orig Tue Aug 22 10:59:07 2000
++++ ../holiday/holiday_austria
+@@ -14,7 +14,7 @@
+ small "Gründonnerstag" on easter minus 3 days
+ small "Karfreitag" on easter minus 2 days
+ small "Karsamstag" on easter minus 1 days
+-small "Ostern" weekend on easter length 2 days=20
++small "Ostern" weekend on easter length 2 days
+ small "Pfingsten" weekend on easter plus 49 days length 2 days
+ small "Christi Himmelfahrt" weekend on easter plus 39 days
+ small "Fronleichnam" weekend on easter plus 60 days
diff --git a/time/plan/patches/patch-ad b/time/plan/patches/patch-ad
new file mode 100644
index 00000000000..76571f2181d
--- /dev/null
+++ b/time/plan/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1.1.1 2000/12/17 23:32:23 wiz Exp $
+
+--- linuxjunk.h.orig Sat Nov 7 19:04:41 1998
++++ linuxjunk.h
+@@ -16,6 +16,8 @@
+ * kill a good project with poor planning.
+ */
+
++#include <sys/stat.h>
++
+ #ifdef S_ISDIR
+ #define IS_DIR(m) S_ISDIR(m)
+ #else
diff --git a/time/plan/pkg/COMMENT b/time/plan/pkg/COMMENT
new file mode 100644
index 00000000000..9b4f5e3a95b
--- /dev/null
+++ b/time/plan/pkg/COMMENT
@@ -0,0 +1 @@
+Schedule planner based on X/Motif
diff --git a/time/plan/pkg/DESCR b/time/plan/pkg/DESCR
new file mode 100644
index 00000000000..b4fca4e34c2
--- /dev/null
+++ b/time/plan/pkg/DESCR
@@ -0,0 +1,24 @@
+Plan is a schedule planner based on X/Motif. It displays a month calendar
+similar to xcal, but every day box is large enough to show appointments in
+small print. By pressing on a day box, the appointments for that day can be
+listed and edited. Appointments are entered with the following information:
+
+- the date, time, and length (time and days) of the appointment,
+- an optional text message and an optional script to be executed,
+- early-warn and late-warn triggers that precede the alarm time
+- repetitions: [n-th] weekdays, days-of-the-month, every n days, yearly
+- optional fast command-line appointment entry
+- flexible ways to specify holidays and vacations
+- extensive context help
+- multiuser capability using an IP server program (with access lists),
+- grouping of appointments into files, per-user, private, and others
+
+The action being taken when a warn or alarm time is reached is programmable;
+by default a window pops up. In addition, a program can be executed, or mail
+can be sent. Other methods of listing appointments (today, this week, next
+week, or a keyword search for regular expressions) are also available. Plan
+can be configured to display times in 12-hour or 24-hour formats, mmddyy and
+ddmmyy date formats, and can show either Monday or Sunday in the leftmost
+column. Four view modes are supported: month, year, week, day, and a 365-day
+overview. The day, week, and overview plot appointments as colored and
+labeled bars on a time chart.
diff --git a/time/plan/pkg/MESSAGE b/time/plan/pkg/MESSAGE
new file mode 100644
index 00000000000..e97cd2b781e
--- /dev/null
+++ b/time/plan/pkg/MESSAGE
@@ -0,0 +1,2 @@
+You can use one of the ${X11BASE}/share/plan/holiday/holiday_* files
+as example for your ~/.holiday. See `man plan` for details.
diff --git a/time/plan/pkg/PLIST b/time/plan/pkg/PLIST
new file mode 100644
index 00000000000..c189d7df3d2
--- /dev/null
+++ b/time/plan/pkg/PLIST
@@ -0,0 +1,46 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/12/17 23:32:24 wiz Exp $
+bin/plan
+libexec/plan/pland
+libexec/plan/notifier
+libexec/plan/netplan
+libexec/plan/plan_cal.ps
+@exec mkdir -p %D/libexec/plan/netplan.dir && chmod 700 %D/libexec/plan/netplan.dir && chown 32767:39 %D/libexec/plan/netplan.dir
+@unexec rmdir %D/libexec/plan/netplan.dir 2>/dev/null || echo "==> %D/libexec/plan/netplan.dir not empty. You should remove it manually if it's no longer needed."
+@unexec rmdir %D/libexec/plan 2>/dev/null || true
+man/man1/plan.1
+man/man1/netplan.1
+man/man4/plan.4
+share/plan/HISTORY
+share/plan/README
+share/plan/holiday/holiday_australia
+share/plan/holiday/holiday_austria
+share/plan/holiday/holiday_bavarian
+share/plan/holiday/holiday_belgium
+share/plan/holiday/holiday_canada
+share/plan/holiday/holiday_denmark
+share/plan/holiday/holiday_dutch
+share/plan/holiday/holiday_finnish
+share/plan/holiday/holiday_french
+share/plan/holiday/holiday_frswiss
+share/plan/holiday/holiday_german
+share/plan/holiday/holiday_greek
+share/plan/holiday/holiday_hungary
+share/plan/holiday/holiday_italy
+share/plan/holiday/holiday_japan
+share/plan/holiday/holiday_norway
+share/plan/holiday/holiday_quebec
+share/plan/holiday/holiday_spain
+share/plan/holiday/holiday_swedish
+share/plan/holiday/holiday_uk
+share/plan/holiday/holiday_us
+share/plan/holiday/holiday_combi
+share/plan/holiday/holiday_czech
+share/plan/holiday/holiday_portugal
+share/plan/plan.help
+share/plan/plan.lang.dutch
+share/plan/plan.lang.english
+share/plan/plan.lang.french
+share/plan/plan.lang.german
+share/plan/plan.lang.spanish
+@dirrm share/plan/holiday
+@dirrm share/plan