aboutsummaryrefslogtreecommitdiffstats
path: root/x11-clocks
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>1997-02-17 17:30:16 +0800
committertg <tg@FreeBSD.org>1997-02-17 17:30:16 +0800
commit8f9ce9a439b74c371532931a4809a7f012f4842d (patch)
treedb98851c3f0eb28a512a06e105a5e1f2ae5605ff /x11-clocks
parent4cefd8fc9e069070877af9de623dc0ec04501e00 (diff)
downloadfreebsd-ports-gnome-8f9ce9a439b74c371532931a4809a7f012f4842d.tar.gz
freebsd-ports-gnome-8f9ce9a439b74c371532931a4809a7f012f4842d.tar.zst
freebsd-ports-gnome-8f9ce9a439b74c371532931a4809a7f012f4842d.zip
Import of xalarm, an X based alarm clock.
Closes PR #2151. Submitted by: Kenneth Monville <desmo@bandwidth.org>
Diffstat (limited to 'x11-clocks')
-rw-r--r--x11-clocks/xalarm/Makefile23
-rw-r--r--x11-clocks/xalarm/distinfo1
-rw-r--r--x11-clocks/xalarm/files/patch-aa19
-rw-r--r--x11-clocks/xalarm/files/patch-ab19
-rw-r--r--x11-clocks/xalarm/pkg-comment1
-rw-r--r--x11-clocks/xalarm/pkg-descr5
-rw-r--r--x11-clocks/xalarm/pkg-plist11
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
+