diff options
author | Antoine Brodin <antoine@FreeBSD.org> | 2014-08-20 06:30:29 +0000 |
---|---|---|
committer | Antoine Brodin <antoine@FreeBSD.org> | 2014-08-20 06:30:29 +0000 |
commit | 3e0a67c81ee27df3242442a704601e9e5a162bb2 (patch) | |
tree | 54700cfe839bee06134931408c57a05b69d1c684 /x11-clocks/xalarm | |
parent | 0cc734c4abf48d7169e661d4fae5d1b0a80e8ca7 (diff) | |
download | ports-3e0a67c81ee27df3242442a704601e9e5a162bb2.tar.gz ports-3e0a67c81ee27df3242442a704601e9e5a162bb2.zip |
Notes
Diffstat (limited to 'x11-clocks/xalarm')
-rw-r--r-- | x11-clocks/xalarm/Makefile | 27 | ||||
-rw-r--r-- | x11-clocks/xalarm/distinfo | 2 | ||||
-rw-r--r-- | x11-clocks/xalarm/files/patch-aa | 66 | ||||
-rw-r--r-- | x11-clocks/xalarm/files/patch-ab | 19 | ||||
-rw-r--r-- | x11-clocks/xalarm/files/patch-dates.c | 18 | ||||
-rw-r--r-- | x11-clocks/xalarm/pkg-descr | 4 | ||||
-rw-r--r-- | x11-clocks/xalarm/pkg-plist | 6 |
7 files changed, 0 insertions, 142 deletions
diff --git a/x11-clocks/xalarm/Makefile b/x11-clocks/xalarm/Makefile deleted file mode 100644 index 03fc070d235c..000000000000 --- a/x11-clocks/xalarm/Makefile +++ /dev/null @@ -1,27 +0,0 @@ -# Created by: desmo@bandwidth.org -# $FreeBSD$ - -PORTNAME= xalarm -PORTVERSION= 3.06 -PORTREVISION= 3 -CATEGORIES= x11-clocks -MASTER_SITES= ${MASTER_SITE_XCONTRIB} -MASTER_SITE_SUBDIR= utilities - -MAINTAINER= ports@FreeBSD.org -COMMENT= X based alarm clock - -DEPRECATED= Unmaintained interactive port -EXPIRATION_DATE=2014-08-20 - -USES= imake -USE_XORG= ice sm x11 xaw xext xmu xpm xt -IS_INTERACTIVE= yes - -MAN1= xalarm.1 xmemo.1 xfortune.1 xyow.1 - -NO_STAGE= 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 deleted file mode 100644 index b02b1c6010a7..000000000000 --- a/x11-clocks/xalarm/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (xalarm-3.06.tar.gz) = 1e0a3bc55315748b4f02ba19600819d290541eee2335d5edafa0129be073ad95 -SIZE (xalarm-3.06.tar.gz) = 55351 diff --git a/x11-clocks/xalarm/files/patch-aa b/x11-clocks/xalarm/files/patch-aa deleted file mode 100644 index 2e877070aa36..000000000000 --- a/x11-clocks/xalarm/files/patch-aa +++ /dev/null @@ -1,66 +0,0 @@ ---- Imakefile.orig Fri Jul 21 07:32:07 1995 -+++ Imakefile Wed Nov 12 22:24:04 2003 -@@ -1,29 +1,29 @@ --/**/# Based on an Imakefile from: --/**/# Andreas Stolcke --/**/# International Computer Science Institute, Berkeley. --/**/# With help from: --/**/# George Lindholm, Jonathan I. Kamens, Braham Levy. -- -- --/**/# o Define FORKRETURNSSHORT/FORKRETURNSLONG/FORKRETURNSPID_T if your --/**/# fork(2) returns short/long/pid_t not int. --/**/# o Define USEFLOCK or USELOCKF to use flock(2) or lockf(3) to lock files, --/**/# rather than fcntl(2). --/**/# o Define USELSEEK to use lseek(2) to move to the end of the file, rather --/**/# than fseek(3). --/**/# o Define USERENAME to use rename(2) to rename file names (otherwise --/**/# un/link(2)). --/**/# o Define USEGETHOSTNAME or USEUNAME (or neither if you don't have --/**/# gethostname(2) or uname(2)) to get the name of your system. --/**/# o Define USEGETPWUID to use getpwuid(3) and getuid(2) to get the user --/**/# name and home directory on your system. Note that if you want to use --/**/# this method to get the user's home directory, but another method to get --/**/# the user name, this symbol must still be defined. --/**/# o Define USEGETLOGIN to use getlogin(3) to get the user name (note that --/**/# this may not work if xalarm is invoked from a pseudo terminal). --/**/# o Define USECUSERID to use cuserid(3) to get the user name. -+# Based on an Imakefile from: -+# Andreas Stolcke -+# International Computer Science Institute, Berkeley. -+# With help from: -+# George Lindholm, Jonathan I. Kamens, Braham Levy. -+ -+ -+# o Define FORKRETURNSSHORT/FORKRETURNSLONG/FORKRETURNSPID_T if your -+# fork(2) returns short/long/pid_t not int. -+# o Define USEFLOCK or USELOCKF to use flock(2) or lockf(3) to lock files, -+# rather than fcntl(2). -+# o Define USELSEEK to use lseek(2) to move to the end of the file, rather -+# than fseek(3). -+# o Define USERENAME to use rename(2) to rename file names (otherwise -+# un/link(2)). -+# o Define USEGETHOSTNAME or USEUNAME (or neither if you don't have -+# gethostname(2) or uname(2)) to get the name of your system. -+# o Define USEGETPWUID to use getpwuid(3) and getuid(2) to get the user -+# name and home directory on your system. Note that if you want to use -+# this method to get the user's home directory, but another method to get -+# the user name, this symbol must still be defined. -+# o Define USEGETLOGIN to use getlogin(3) to get the user name (note that -+# 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 -+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 -@@ -51,7 +51,7 @@ - @./config.1st -quick $(WHICH) fortune yow - - xmemo.man xyow.man xfortune.man: -- echo ".so man"`echo ManSuffix`"/xalarm."`echo ManSuffix` > $@ -+ echo ".so xalarm.man" > $@ - - xfortune:: - diff --git a/x11-clocks/xalarm/files/patch-ab b/x11-clocks/xalarm/files/patch-ab deleted file mode 100644 index 1713384a28ff..000000000000 --- a/x11-clocks/xalarm/files/patch-ab +++ /dev/null @@ -1,19 +0,0 @@ -*** 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/files/patch-dates.c b/x11-clocks/xalarm/files/patch-dates.c deleted file mode 100644 index 76f76d908afb..000000000000 --- a/x11-clocks/xalarm/files/patch-dates.c +++ /dev/null @@ -1,18 +0,0 @@ ---- dates.c.orig Fri Apr 2 09:08:14 2004 -+++ dates.c Fri Apr 2 09:17:53 2004 -@@ -297,8 +297,13 @@ - if (year >= 0) date->tm_year = year; - while ((year < 0) and (date->tm_year < (2500-1900)) and - (DaysBetween (&today, date) < 0)) -- if (month < 0) -- date->tm_mon = (date->tm_mon + 1) % 12; -+ if (month < 0) { -+ date->tm_mon++; -+ if (date->tm_mon > 11) { -+ date->tm_mon = 0; -+ date->tm_year++; -+ } -+ } - else - date->tm_year++; - } else diff --git a/x11-clocks/xalarm/pkg-descr b/x11-clocks/xalarm/pkg-descr deleted file mode 100644 index 55df25362158..000000000000 --- a/x11-clocks/xalarm/pkg-descr +++ /dev/null @@ -1,4 +0,0 @@ -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 deleted file mode 100644 index 4f056b729448..000000000000 --- a/x11-clocks/xalarm/pkg-plist +++ /dev/null @@ -1,6 +0,0 @@ -bin/xalarm -bin/xmemo -bin/xfortune -bin/xyow -lib/X11/app-defaults/XAlarm -lib/X11/app-defaults/XAlarm-color |