diff options
author | frueauf <frueauf@pkgsrc.org> | 1998-09-04 08:09:53 +0000 |
---|---|---|
committer | frueauf <frueauf@pkgsrc.org> | 1998-09-04 08:09:53 +0000 |
commit | 5e10fb2a180c20c941f9461e8fc9f2ac342d0999 (patch) | |
tree | 4876c15b93948f8eabd4c42244ffa5acfb169c57 /x11 | |
parent | d6da66cc6b00d156e386125fc0b4e68583e17bfc (diff) | |
download | pkgsrc-5e10fb2a180c20c941f9461e8fc9f2ac342d0999.tar.gz |
Initial addition of plan-1.7.2, a schedule planner based on X/Motif.
Diffstat (limited to 'x11')
-rw-r--r-- | x11/plan/Makefile | 24 | ||||
-rw-r--r-- | x11/plan/files/md5 | 3 | ||||
-rw-r--r-- | x11/plan/patches/patch-aa | 100 | ||||
-rw-r--r-- | x11/plan/pkg/COMMENT | 1 | ||||
-rw-r--r-- | x11/plan/pkg/DESCR | 26 | ||||
-rw-r--r-- | x11/plan/pkg/MESSAGE | 2 | ||||
-rw-r--r-- | x11/plan/pkg/PLIST | 38 |
7 files changed, 194 insertions, 0 deletions
diff --git a/x11/plan/Makefile b/x11/plan/Makefile new file mode 100644 index 00000000000..64fa3230c19 --- /dev/null +++ b/x11/plan/Makefile @@ -0,0 +1,24 @@ +# $NetBSD: Makefile,v 1.1 1998/09/04 08:09:53 frueauf Exp $ +# + +DISTNAME= plan-1.7.2 +CATEGORIES= misc x11 +MASTER_SITES= ftp://ftp.fu-berlin.de/pub/unix/graphics/plan/ + +MAINTAINER= packages@netbsd.org +HOMEPAGE= http://www.in-berlin.de/User/bitrot/plan.html + +USE_MOTIF= YES + +WRKSRC= ${WRKDIR}/src +ALL_TARGET= netbsd + +pre-install: + ${MKDIR} ${X11BASE}/libexec/plan ${X11BASE}/share/plan \ + ${X11BASE}/share/plan/holiday + ${INSTALL_DATA} ${WRKDIR}/holiday/holiday_* ${X11BASE}/share/plan/holiday +.for file in HISTORY README + ${INSTALL_DATA} ${WRKDIR}/${file} ${X11BASE}/share/plan +.endfor + +.include "../../mk/bsd.pkg.mk" diff --git a/x11/plan/files/md5 b/x11/plan/files/md5 new file mode 100644 index 00000000000..29c13d08a99 --- /dev/null +++ b/x11/plan/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1 1998/09/04 08:09:53 frueauf Exp $ + +MD5 (plan-1.7.2.tar.gz) = 0dac73da57e85d101d6060cb222a938f diff --git a/x11/plan/patches/patch-aa b/x11/plan/patches/patch-aa new file mode 100644 index 00000000000..9001d1b1b1c --- /dev/null +++ b/x11/plan/patches/patch-aa @@ -0,0 +1,100 @@ +--- Makefile.orig Sat May 9 22:21:09 1998 ++++ Makefile Thu Sep 3 23:15:04 1998 +@@ -6,18 +6,18 @@ + # DO NOT put a blank between the path and the #, or you'll get compile errors. + # + +-DIR = /usr/local/bin# # user-callable executable (plan) +-LIB = /usr/local/lib# # auxiliary programs (pland, notifier, netplan) +-HELP = $(LIB)# # help file (plan.help) ++DIR = ${X11BASE}/bin# # user-callable executable (plan) ++LIB = ${X11BASE}/libexec/plan# # auxiliary programs (pland, notifier, netplan) ++HELP = ${X11BASE}/share/plan# # help file (plan.help) + NETPLANDIR = $(LIB)# # netplan expects netplan.dir/ here + # NETPLANDIR = "/var/lib/plan"# # use this for Debian Linux +-MAN = /usr/man/local/man# # unformatted nroff manpage (plan.[14]) ++MAN = ${X11BASE}/man/man# # unformatted nroff manpage (plan.[14]) + # MAN = /usr/local/man/man# # for linux +-CATMAN = /usr/catman/local/cat# # formatted manpage (plan.[14]) ++CATMAN = ${X11BASE}/cat/cat# # formatted manpage (plan.[14]) + INCDIR =# # extra cc options, e.g. "-I/var/include" +-NOB_UID = 60001# # numerical user ID of <nobody> account +-NOB_GID = 60001# # default numerical group ID of <nobody> account +-CPP_PATH="/lib/cpp -P -I$(HELP)"# used by plan to pre-process holiday files, ++NOB_UID = 39# # numerical user ID of <nobody> account ++NOB_GID = 39# # default numerical group ID of <nobody> account ++CPP_PATH="/usr/bin/cpp -P -I$(HELP)"# used by plan to pre-process holiday files, + # # plan will check if this file really exists + ESCTOISOLATIN=\"\\033\(B\"# # switching to ISO8859-1 + ESCTOJISLATIN=\"\\033\(J\"# # switching to JIS X0201-1976 roman +@@ -28,7 +28,7 @@ + # -DLOCALE_SJIS=\"ja_JP.SJIS\" -DLOCALE_EUC=\"ja_JP.EUC\" + # # JAPAN requires X11R5 and a Japanese env. + +-DEBUG = -g ++#DEBUG = -g + #DEBUG = -O2# # do NOT define -O2 on DEC OSF/1 machines! + #DEBUG = + +@@ -113,8 +113,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${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 +@@ -195,8 +194,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 = -L${X11BASE}/lib -lXm -lXt -lX11 ++NBSD_L2 = -L${X11BASE}/lib -lc + FBSD_L1 = -L/usr/X11R6/lib -lXm -lXt -lX11 -lXext + 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 +@@ -528,31 +527,19 @@ + + #--------------------------------------------------------------- + install: +- cp plan $(DIR) +- -rm -f $(DIR)/pland $(DIR)/notifier +- cp pland notifier netplan ../misc/plan_cal.ps $(LIB) +- -(test x'$(JAPAN)' != x && cp ../misc/plan_calSJ.ps $(LIB)) || exit 0 +- cp ../misc/plan.help $(HELP) +- -strip $(DIR)/plan $(LIB)/pland $(LIB)/notifier $(LIB)/netplan ++ ${BSD_INSTALL_PROGRAM} plan $(DIR) ++ ${BSD_INSTALL_PROGRAM} pland notifier netplan $(LIB) ++ ${BSD_INSTALL_DATA} ../misc/plan_cal.ps $(LIB) ++ ${BSD_INSTALL_DATA} ../misc/plan.help $(HELP) + -chmod 755 $(DIR)/plan $(LIB)/pland $(LIB)/notifier $(LIB)/netplan + -chmod 644 $(HELP)/plan.help $(LIB)/plan_cal.ps +- -(test x'$(JAPAN)' != x && chmod 644 $(LIB)/plan_calSJ.ps) || exit 0 +- -mkdir $(LIB)/netplan.dir ++ -mkdir -p $(LIB)/netplan.dir + -chmod 700 $(LIB)/netplan.dir +- -(test -x `which nroff` && nroff -man ../misc/plan.1 >../misc/plan.1cat) || exit 0 +- -(test -x `which nroff` && nroff -man ../misc/plan.4 >../misc/plan.4cat) || exit 0 +- -(test -x `which nroff` && nroff -man ../misc/netplan.1 >../misc/netplan.1cat) || exit 0 +- -(test -d $(MAN)1 && cp ../misc/plan.1 $(MAN)1/plan.1) || exit 0 +- -(test -d $(MAN)4 && cp ../misc/plan.4 $(MAN)4/plan.4) || exit 0 +- -(test -d $(MAN)1 && cp ../misc/netplan.1 $(MAN)1/netplan.1) || exit 0 +- -(test -d $(CATMAN)1 && cp ../misc/plan.1cat $(CATMAN)1/plan.1) || exit 0 +- -(test -d $(CATMAN)4 && cp ../misc/plan.4cat $(CATMAN)4/plan.4) || exit 0 +- -(test -d $(CATMAN)1 && cp ../misc/netplan.1cat $(CATMAN)1/netplan.1) || exit 0 +- -(test -f ${HOME}/.holiday || cp ../holiday/holiday_german ${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 ++ -(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" ++ @echo "Use " ${X11BASE}"/share/plan/holiday/* as templates for your ~/.holiday file." + + clean: + -rm -f *.o diff --git a/x11/plan/pkg/COMMENT b/x11/plan/pkg/COMMENT new file mode 100644 index 00000000000..1eeafccc6db --- /dev/null +++ b/x11/plan/pkg/COMMENT @@ -0,0 +1 @@ +a schedule planner based on X/Motif. diff --git a/x11/plan/pkg/DESCR b/x11/plan/pkg/DESCR new file mode 100644 index 00000000000..8e777afb89f --- /dev/null +++ b/x11/plan/pkg/DESCR @@ -0,0 +1,26 @@ +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 +(everything except the time is optional): + +- the date, time, and length (time and days) of the appointment, +- an optional text message to be printed, +- 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/x11/plan/pkg/MESSAGE b/x11/plan/pkg/MESSAGE new file mode 100644 index 00000000000..e97cd2b781e --- /dev/null +++ b/x11/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/x11/plan/pkg/PLIST b/x11/plan/pkg/PLIST new file mode 100644 index 00000000000..cf8300f0892 --- /dev/null +++ b/x11/plan/pkg/PLIST @@ -0,0 +1,38 @@ +@comment $NetBSD: PLIST,v 1.1 1998/09/04 08:09:53 frueauf 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 +@unexec rm -rf %D/libexec/plan/netplan.dir +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_german.orig +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/plan.help +@dirrm share/plan/holiday +@dirrm share/plan +@dirrm libexec/plan |