summaryrefslogtreecommitdiff
path: root/astro/sunclock/Makefile
diff options
context:
space:
mode:
authorFernando ApesteguĂ­a <fernape@FreeBSD.org>2022-01-17 09:06:39 +0100
committerFernando ApesteguĂ­a <fernape@FreeBSD.org>2022-01-17 14:10:46 +0100
commit4c194e8510cb0464af5f23cce82b4e9de49b8b9f (patch)
tree6840bf9e85df9d4eab10d34b065ee035c162cf02 /astro/sunclock/Makefile
parentnet/eternalterminal: Update to 6.1.11_1 (diff)
astro/sunclock: Change WWW
Former WWW not longer reachable. Tidy up Makefile a bit. PR: 261206 Reported by: grahamperrin@gmail.com
Diffstat (limited to 'astro/sunclock/Makefile')
-rw-r--r--astro/sunclock/Makefile12
1 files changed, 5 insertions, 7 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 \