aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFernando ApesteguĂ­a <fernape@FreeBSD.org>2022-01-17 08:06:39 +0000
committerFernando ApesteguĂ­a <fernape@FreeBSD.org>2022-01-17 13:10:46 +0000
commit4c194e8510cb0464af5f23cce82b4e9de49b8b9f (patch)
tree6840bf9e85df9d4eab10d34b065ee035c162cf02
parent6ced46cab601100890a8a83510e6455700a82943 (diff)
downloadports-4c194e8510cb0464af5f23cce82b4e9de49b8b9f.tar.gz
ports-4c194e8510cb0464af5f23cce82b4e9de49b8b9f.zip
astro/sunclock: Change WWW
Former WWW not longer reachable. Tidy up Makefile a bit. PR: 261206 Reported by: grahamperrin@gmail.com
-rw-r--r--astro/sunclock/Makefile12
-rw-r--r--astro/sunclock/pkg-descr2
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