From 4c194e8510cb0464af5f23cce82b4e9de49b8b9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20Apestegu=C3=ADa?= Date: Mon, 17 Jan 2022 09:06:39 +0100 Subject: [PATCH] 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