diff options
author | Thomas Gellekum <tg@FreeBSD.org> | 1997-02-17 09:30:16 +0000 |
---|---|---|
committer | Thomas Gellekum <tg@FreeBSD.org> | 1997-02-17 09:30:16 +0000 |
commit | d53535a9ea470ab7969db3b1b5898b745e6d1223 (patch) | |
tree | 74c2b37530b4e9e7fe119412a5d0352f5e31618d /x11-clocks/xalarm | |
parent | Upgrade from b1106 to 3.0 release. (diff) |
Import of xalarm, an X based alarm clock.
Closes PR #2151.
Submitted by: Kenneth Monville <desmo@bandwidth.org>
Notes
Notes:
svn path=/head/; revision=5665
Diffstat (limited to 'x11-clocks/xalarm')
-rw-r--r-- | x11-clocks/xalarm/Makefile | 23 | ||||
-rw-r--r-- | x11-clocks/xalarm/distinfo | 1 | ||||
-rw-r--r-- | x11-clocks/xalarm/files/patch-aa | 19 | ||||
-rw-r--r-- | x11-clocks/xalarm/files/patch-ab | 19 | ||||
-rw-r--r-- | x11-clocks/xalarm/pkg-comment | 1 | ||||
-rw-r--r-- | x11-clocks/xalarm/pkg-descr | 5 | ||||
-rw-r--r-- | x11-clocks/xalarm/pkg-plist | 11 |
7 files changed, 79 insertions, 0 deletions
diff --git a/x11-clocks/xalarm/Makefile b/x11-clocks/xalarm/Makefile new file mode 100644 index 000000000000..c004284c6674 --- /dev/null +++ b/x11-clocks/xalarm/Makefile @@ -0,0 +1,23 @@ +# New ports collection makefile for: xalarm +# Version required: 3.06 +# Date created: 4 December 1996 +# Whom: desmo@bandwidth.org +# +# $Id$ +# + +DISTNAME= xalarm-3.06 +CATEGORIES= x11 +MASTER_SITES= ${MASTER_SITE_XCONTRIB} +MASTER_SITE_SUBDIR= utilities + +MAINTAINER= desmo@bandwidth.org + +USE_IMAKE= yes +IS_INTERACTIVE= yes + +pre-install: + cd ${WRKSRC} ; cp XAlarm.ad XAlarm-color.ad + +.include <bsd.port.mk> + diff --git a/x11-clocks/xalarm/distinfo b/x11-clocks/xalarm/distinfo new file mode 100644 index 000000000000..9d8b89fbe843 --- /dev/null +++ b/x11-clocks/xalarm/distinfo @@ -0,0 +1 @@ +MD5 (xalarm-3.06.tar.gz) = 5620b0a67f238a4cf4987d9ba41b1491 diff --git a/x11-clocks/xalarm/files/patch-aa b/x11-clocks/xalarm/files/patch-aa new file mode 100644 index 000000000000..ee69e50bb739 --- /dev/null +++ b/x11-clocks/xalarm/files/patch-aa @@ -0,0 +1,19 @@ +*** Imakefile.orig Wed Dec 4 08:27:18 1996 +--- Imakefile Wed Dec 4 08:27:53 1996 +*************** +*** 23,29 **** + /**/# this may not work if xalarm is invoked from a pseudo terminal). + /**/# o Define USECUSERID to use cuserid(3) to get the user name. + +! DEFINES = $(SIGNAL_DEFINES) -DUSERENAME -DUSEGETHOSTNAME -DUSEGETPWUID + + + OBJS = alarm.o when.o warnings.o times.o dates.o file.o fns.o xalarm.o +--- 23,29 ---- + /**/# this may not work if xalarm is invoked from a pseudo terminal). + /**/# o Define USECUSERID to use cuserid(3) to get the user name. + +! DEFINES = $(SIGNAL_DEFINES) -DFORKRETURNSPID_T -DUSERENAME -DUSEGETHOSTNAME -DUSEGETPWUID + + + OBJS = alarm.o when.o warnings.o times.o dates.o file.o fns.o xalarm.o diff --git a/x11-clocks/xalarm/files/patch-ab b/x11-clocks/xalarm/files/patch-ab new file mode 100644 index 000000000000..1713384a28ff --- /dev/null +++ b/x11-clocks/xalarm/files/patch-ab @@ -0,0 +1,19 @@ +*** file.c.orig Wed Dec 4 08:19:13 1996 +--- file.c Wed Dec 4 08:25:00 1996 +*************** +*** 229,235 **** + lock.l_type = F_WRLCK; + lock.l_whence = SEEK_SET; + lock.l_start = lock.l_len = (long) 0; +! fcntl (fileno (file), F_SETFL, O_SYNC); + fcntl (fileno (file), F_SETLKW, &lock); + #endif + +--- 229,235 ---- + lock.l_type = F_WRLCK; + lock.l_whence = SEEK_SET; + lock.l_start = lock.l_len = (long) 0; +! fcntl (fileno (file), F_SETFL, O_FSYNC); + fcntl (fileno (file), F_SETLKW, &lock); + #endif + diff --git a/x11-clocks/xalarm/pkg-comment b/x11-clocks/xalarm/pkg-comment new file mode 100644 index 000000000000..a7f7365863e0 --- /dev/null +++ b/x11-clocks/xalarm/pkg-comment @@ -0,0 +1 @@ +An X based alarm clock. diff --git a/x11-clocks/xalarm/pkg-descr b/x11-clocks/xalarm/pkg-descr new file mode 100644 index 000000000000..e4faf531786a --- /dev/null +++ b/x11-clocks/xalarm/pkg-descr @@ -0,0 +1,5 @@ +This is a port of xalarm. It is a user configurable alarm clock based +on X. It allows multiple alarms to be set, each with a different +message. Alarms can be set either +X number of minutes and it will also +allow alarms set for days. + diff --git a/x11-clocks/xalarm/pkg-plist b/x11-clocks/xalarm/pkg-plist new file mode 100644 index 000000000000..8258a57a2027 --- /dev/null +++ b/x11-clocks/xalarm/pkg-plist @@ -0,0 +1,11 @@ +bin/xalarm +bin/xmemo +bin/xfortune +bin/xyow +lib/X11/app-defaults/XAlarm +lib/X11/app-defaults/XAlarm-color +man/man1/xalarm.1.gz +man/man1/xmemo.1.gz +man/man1/xfortune.1.gz +man/man1/xyow.1.gz + |