git: 4c194e8510cb - main - astro/sunclock: Change WWW
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 17 Jan 2022 13:12:20 UTC
The branch main has been updated by fernape:
URL: https://cgit.FreeBSD.org/ports/commit/?id=4c194e8510cb0464af5f23cce82b4e9de49b8b9f
commit 4c194e8510cb0464af5f23cce82b4e9de49b8b9f
Author: Fernando Apesteguía <fernape@FreeBSD.org>
AuthorDate: 2022-01-17 08:06:39 +0000
Commit: Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2022-01-17 13:10:46 +0000
astro/sunclock: Change WWW
Former WWW not longer reachable.
Tidy up Makefile a bit.
PR: 261206
Reported by: grahamperrin@gmail.com
---
astro/sunclock/Makefile | 12 +++++-------
astro/sunclock/pkg-descr | 2 +-
2 files changed, 6 insertions(+), 8 deletions(-)
diff --git a/astro/sunclock/Makefile b/astro/sunclock/Makefile
index 7d57fdfd8209..6bc68ab31abe 100644
--- a/astro/sunclock/Makefile
+++ b/astro/sunclock/Makefile
@@ -2,7 +2,7 @@
PORTNAME= sunclock
PORTVERSION= 3.57
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= astro x11-clocks
MASTER_SITES= DEBIAN
DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
@@ -14,17 +14,15 @@ LICENSE= GPLv2
LIB_DEPENDS= libpng.so:graphics/png
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-
-USES= jpeg xorg
+USES= jpeg localbase xorg
USE_XORG= xpm
CPPFLAGS+= $$(libpng-config --I_opts) \
- -I${LOCALBASE}/include \
-DEMXBINDIR=\\\"${PREFIX}/bin\\\" \
-DDOCDIR=\\\"${PREFIX}/lib/X11/doc\\\"
-LDFLAGS+= $$(libpng-config --L_opts) \
- -L${LOCALBASE}/lib
+LDFLAGS+= $$(libpng-config --L_opts)
+
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
post-patch:
@cd ${WRKSRC} && ${SED} -e \
diff --git a/astro/sunclock/pkg-descr b/astro/sunclock/pkg-descr
index bf67bf4f7d21..ad4fff32607d 100644
--- a/astro/sunclock/pkg-descr
+++ b/astro/sunclock/pkg-descr
@@ -16,4 +16,4 @@ window" displays a large map and offers more advanced functions.
The Sunclock package includes a resizable and zoomable vector map.
External Earth maps can also be loaded.
-WWW: http://www.arvernes.com/wiki/index.php/Sunclock
+WWW: https://github.com/nongiach/Sunclock