From 89cd19be8d241b02a8a7a944fca5b61e5587aeda Mon Sep 17 00:00:00 2001
From: Koichiro Iwao
Date: Sun, 6 Oct 2019 16:25:26 +0000
Subject: [PATCH] x11-clocks/abclock: Unbreak & assign to submitter
- Add USES=xorg and bump PORTREVISION
- Defince LICENSE
- Regenerate patches
- Update MASTER_SITES and WWW
- and some cosmetic changes
PR: 241100
Submitted by: m.ne@gmx.net
---
x11-clocks/abclock/Makefile | 17 +++++++++--------
x11-clocks/abclock/files/patch-Makefile | 4 ++--
x11-clocks/abclock/files/patch-abclock.c | 6 +++---
x11-clocks/abclock/pkg-descr | 2 +-
4 files changed, 15 insertions(+), 14 deletions(-)
diff --git a/x11-clocks/abclock/Makefile b/x11-clocks/abclock/Makefile
index 92edeb71119a..a35c5fe32b2a 100644
--- a/x11-clocks/abclock/Makefile
+++ b/x11-clocks/abclock/Makefile
@@ -3,21 +3,22 @@
PORTNAME= abclock
PORTVERSION= 1.0d
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= x11-clocks
-MASTER_SITES= http://odur.let.rug.nl/~kleiweg/abclock/
+MASTER_SITES= https://www.let.rug.nl/~kleiweg/abclock/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= m.ne@gmx.net
COMMENT= Clock for X that displays hours and minutes in an analog fashion
-BROKEN= unfetchable
-DEPRECATED= Unfetchable, unmaintained
-EXPIRATION_DATE= 2019-10-16
+LICENSE= GPLv2+
-PLIST_FILES= bin/abclock bin/abc_img
+PLIST_FILES= bin/abc_img \
+ bin/abclock
-MAKE_ARGS= CC="${CC}" OPT="${CFLAGS}"
+MAKE_ARGS= CC="${CC}" \
+ OPT="${CFLAGS}"
+USES= xorg
USE_XORG= x11 xau xdmcp
do-install:
diff --git a/x11-clocks/abclock/files/patch-Makefile b/x11-clocks/abclock/files/patch-Makefile
index 00c7f758bb4c..cfd20ff735de 100644
--- a/x11-clocks/abclock/files/patch-Makefile
+++ b/x11-clocks/abclock/files/patch-Makefile
@@ -1,5 +1,5 @@
---- Makefile.orig Fri Nov 24 16:58:00 2006
-+++ Makefile Fri Nov 24 16:59:18 2006
+--- Makefile.orig 2003-08-26 22:00:00 UTC
++++ Makefile
@@ -1,18 +1,13 @@
.SUFFIXES:
diff --git a/x11-clocks/abclock/files/patch-abclock.c b/x11-clocks/abclock/files/patch-abclock.c
index cda70d8b44f7..2f020606afe4 100644
--- a/x11-clocks/abclock/files/patch-abclock.c
+++ b/x11-clocks/abclock/files/patch-abclock.c
@@ -1,6 +1,6 @@
---- abclock.c.orig Tue Aug 15 11:25:10 2000
-+++ abclock.c Tue Aug 15 11:43:06 2000
-@@ -29,7 +29,7 @@
+--- abclock.c.orig 2006-03-13 07:51:41 UTC
++++ abclock.c
+@@ -30,7 +30,7 @@
#include
#include
#include
diff --git a/x11-clocks/abclock/pkg-descr b/x11-clocks/abclock/pkg-descr
index cfbde04aa514..8cb14e0938c9 100644
--- a/x11-clocks/abclock/pkg-descr
+++ b/x11-clocks/abclock/pkg-descr
@@ -2,4 +2,4 @@ Analogue Bitmap Clock displays the current time with hours and minutes in
an analogue fashion but unlike the traditional clock; unlike ordinary
analogue clocks, this design is clear even in very small bitmaps.
-WWW: http://odur.let.rug.nl/~kleiweg/abclock/
+WWW: https://www.let.rug.nl/~kleiweg/abclock/