git: 50dd2bf4d46f - main - x11-clocks/xdaliclock-classic: New port: Rather neat animated clock (Xlib version)

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Wed, 21 Sep 2022 01:22:39 UTC
The branch main has been updated by eduardo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=50dd2bf4d46f2f9162075cf82b8d5dce27aab0dd

commit 50dd2bf4d46f2f9162075cf82b8d5dce27aab0dd
Author:     Gleb Smirnoff <glebius@FreeBSD.org>
AuthorDate: 2022-09-21 01:18:21 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2022-09-21 01:22:24 +0000

    x11-clocks/xdaliclock-classic: New port: Rather neat animated clock (Xlib version)
    
     - Submitter becomes maintainer
    
    The xdaliclock has been updated after a many years hiatus, got heavier
    dependencies and lost important features like:
    
    - command line options support
    - custom fonts
    - transparent background
    
    xdaliclock-classic is an intent to keep historical features that are
    not present on recent updates.
    
    WWW: https://www.jwz.org/xdaliclock/
    
    PR:             266414
---
 x11-clocks/Makefile                                 |  1 +
 x11-clocks/xdaliclock-classic/Makefile              | 21 +++++++++++++++++++++
 x11-clocks/xdaliclock-classic/distinfo              |  3 +++
 .../xdaliclock-classic/files/patch-Makefile.in      | 15 +++++++++++++++
 x11-clocks/xdaliclock-classic/pkg-descr             |  3 +++
 5 files changed, 43 insertions(+)

diff --git a/x11-clocks/Makefile b/x11-clocks/Makefile
index ea620803a5f5..a775f9bf442c 100644
--- a/x11-clocks/Makefile
+++ b/x11-clocks/Makefile
@@ -40,6 +40,7 @@
     SUBDIR += xalarm
     SUBDIR += xclock
     SUBDIR += xdaliclock
+    SUBDIR += xdaliclock-classic
     SUBDIR += xfce4-datetime-plugin
     SUBDIR += xfce4-stopwatch-plugin
     SUBDIR += xfce4-time-out-plugin
diff --git a/x11-clocks/xdaliclock-classic/Makefile b/x11-clocks/xdaliclock-classic/Makefile
new file mode 100644
index 000000000000..82bf846a0c8c
--- /dev/null
+++ b/x11-clocks/xdaliclock-classic/Makefile
@@ -0,0 +1,21 @@
+PORTNAME=	xdaliclock
+PORTVERSION=	2.44
+CATEGORIES=	x11-clocks
+MASTER_SITES=	http://www.jwz.org/xdaliclock/
+PKGNAMESUFFIX=	-classic
+
+MAINTAINER=	glebius@FreeBSD.org
+COMMENT=	Rather neat animated clock (Xlib version)
+WWW=		https://www.jwz.org/xdaliclock/
+
+USES=		xorg
+USE_XORG=	ice sm x11 xext xt
+
+GNU_CONFIGURE=	yes
+CONFLICTS=	xdaliclock
+WRKSRC=		${WRKDIR}/${DISTNAME}/X11
+
+PLIST_FILES=	bin/xdaliclock \
+		man/man1/${PORTNAME}.1.gz
+
+.include <bsd.port.mk>
diff --git a/x11-clocks/xdaliclock-classic/distinfo b/x11-clocks/xdaliclock-classic/distinfo
new file mode 100644
index 000000000000..ad9ccf708b72
--- /dev/null
+++ b/x11-clocks/xdaliclock-classic/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1547035290
+SHA256 (xdaliclock-2.44.tar.gz) = 800db9ad00adaeb73079370fb64452230ff186e670b6fbd36315506caab64fbf
+SIZE (xdaliclock-2.44.tar.gz) = 17727649
diff --git a/x11-clocks/xdaliclock-classic/files/patch-Makefile.in b/x11-clocks/xdaliclock-classic/files/patch-Makefile.in
new file mode 100644
index 000000000000..f08c1bf7fb0e
--- /dev/null
+++ b/x11-clocks/xdaliclock-classic/files/patch-Makefile.in
@@ -0,0 +1,15 @@
+--- Makefile.in.orig	2018-12-26 10:10:53 UTC
++++ Makefile.in
+@@ -79,10 +79,10 @@ install-strip:
+ 		install
+ 
+ install-program: xdaliclock
+-	$(INSTALL_PROGRAM) xdaliclock $(install_prefix)$(bindir)/xdaliclock
++	$(INSTALL_PROGRAM) xdaliclock $(DESTDIR)$(install_prefix)$(bindir)/xdaliclock
+ 
+ install-man: xdaliclock.man
+-	$(INSTALL_DATA) $(srcdir)/xdaliclock.man $(install_prefix)$(man1dir)/xdaliclock.1
++	$(INSTALL_DATA) $(srcdir)/xdaliclock.man $(DESTDIR)$(install_prefix)$(man1dir)/xdaliclock.1
+ 
+ uninstall-program:
+ 	rm -f $(install_prefix)$(bindir)/xdaliclock
diff --git a/x11-clocks/xdaliclock-classic/pkg-descr b/x11-clocks/xdaliclock-classic/pkg-descr
new file mode 100644
index 000000000000..871dae868433
--- /dev/null
+++ b/x11-clocks/xdaliclock-classic/pkg-descr
@@ -0,0 +1,3 @@
+This is a neat program which ``morphs'' each of the digits into the
+next in the sequence to update the time. Good processor hog for all you
+P90 owners.