Index: head/astro/wmmoonclock/Makefile =================================================================== --- head/astro/wmmoonclock/Makefile (revision 531762) +++ head/astro/wmmoonclock/Makefile (revision 531763) @@ -1,26 +1,24 @@ # Created by: Kris Kennaway # $FreeBSD$ -PORTNAME= wmMoonClock -PORTVERSION= 1.27 -PORTREVISION= 3 +PORTNAME= wmmoonclock +PORTVERSION= 1.29 CATEGORIES= astro windowmaker -MASTER_SITES= http://www.cs.mun.ca/~gstarkes/wmaker/dockapps/files/ +MASTER_SITES= https://www.dockapps.net/download/ MAINTAINER= mbeis@xs4all.nl COMMENT= Displays the phase of the moon, plus orbital data LICENSE= GPLv2 -WRKSRC= ${WRKDIR}/${DISTNAME}/Src +GNU_CONFIGURE= yes +USES= autoreconf:build pkgconfig xorg +USE_XORG+= x11 xext xpm -USES= gmake xorg -USE_XORG= xpm - PLIST_FILES= bin/wmmoonclock man/man1/wmmoonclock.1.gz do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/wmMoonClock ${STAGEDIR}${PREFIX}/bin/wmmoonclock - ${INSTALL_MAN} ${WRKSRC}/wmMoonClock.1 ${STAGEDIR}${PREFIX}/man/man1/wmmoonclock.1 + ${INSTALL_PROGRAM} ${WRKSRC}/wmmoonclock ${STAGEDIR}${PREFIX}/bin/wmmoonclock + ${INSTALL_MAN} ${WRKSRC}/src/wmMoonClock.1 ${STAGEDIR}${PREFIX}/man/man1/wmmoonclock.1 .include Index: head/astro/wmmoonclock/distinfo =================================================================== --- head/astro/wmmoonclock/distinfo (revision 531762) +++ head/astro/wmmoonclock/distinfo (revision 531763) @@ -1,2 +1,3 @@ -SHA256 (wmMoonClock-1.27.tar.gz) = 439d330a30ee1cb084e0512e894f5e1a2e9869745a2274fbd9a56832c1527c77 -SIZE (wmMoonClock-1.27.tar.gz) = 155197 +TIMESTAMP = 1586605073 +SHA256 (wmmoonclock-1.29.tar.gz) = beb9e108d90027df4bf2252b3669c153c858976c1099be3462d536073435203a +SIZE (wmmoonclock-1.29.tar.gz) = 234991 Index: head/astro/wmmoonclock/files/patch-Makefile =================================================================== --- head/astro/wmmoonclock/files/patch-Makefile (revision 531762) +++ head/astro/wmmoonclock/files/patch-Makefile (nonexistent) @@ -1,16 +0,0 @@ ---- Makefile.orig 1999-03-23 02:20:32 UTC -+++ Makefile -@@ -1,8 +1,8 @@ --CC = gcc --CFLAGS = -O2 --INCDIR = -I/usr/X11R6/include/X11 --DESTDIR= /usr/X11R6 --LIBDIR = -L/usr/X11R6/lib -+CC ?= gcc -+CFLAGS ?= -O2 -+INCDIR = -I${LOCALBASE}/include -+DESTDIR= ${PREFIX} -+LIBDIR = -L${LOCALBASE}/lib - - # for Linux - LIBS = -lXpm -lX11 -lXext Property changes on: head/astro/wmmoonclock/files/patch-Makefile ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/astro/wmmoonclock/files/patch-wmMoonClock.c =================================================================== --- head/astro/wmmoonclock/files/patch-wmMoonClock.c (revision 531762) +++ head/astro/wmmoonclock/files/patch-wmMoonClock.c (nonexistent) @@ -1,12 +0,0 @@ ---- wmMoonClock.c.orig 1999-06-07 14:27:18 UTC -+++ wmMoonClock.c -@@ -162,7 +162,8 @@ int main(int argc, char *argv[]) { - int i, n, k, j, ImageNumber; - int Year, Month, DayOfWeek, DayOfMonth; - int Hours, Mins, Secs, OldSecs, digit, xoff, xsize; -- long CurrentLocalTime, CurrentGMTTime, date; -+ time_t CurrentLocalTime, CurrentGMTTime; -+ long date; - double UT, val, RA, DEC, UTRise, UTSet, LocalHour, hour24(); - int D, H, M, S, sgn, A, B, q; - char str[10]; Property changes on: head/astro/wmmoonclock/files/patch-wmMoonClock.c ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/astro/wmmoonclock/files/patch-src_wmMoonClock.c =================================================================== --- head/astro/wmmoonclock/files/patch-src_wmMoonClock.c (nonexistent) +++ head/astro/wmmoonclock/files/patch-src_wmMoonClock.c (revision 531763) @@ -0,0 +1,12 @@ +--- src/wmMoonClock.c.orig 2017-08-14 22:31:05 UTC ++++ src/wmMoonClock.c +@@ -157,7 +157,8 @@ int main(int argc, char *argv[]) { + struct tm *GMTTime, *LocalTime; + XEvent event; + int i, n, j, ImageNumber, Year, Month, DayOfMonth, digit; +- long CurrentLocalTime, CurrentGMTTime, date; ++ time_t CurrentLocalTime, CurrentGMTTime; ++ long date; + double UT, val, RA, DEC, UTRise, UTSet, LocalHour, hour24(); + int D, H, M, S, sgn, A, B, q; + CTrans c; Property changes on: head/astro/wmmoonclock/files/patch-src_wmMoonClock.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/astro/wmmoonclock/pkg-descr =================================================================== --- head/astro/wmmoonclock/pkg-descr (revision 531762) +++ head/astro/wmmoonclock/pkg-descr (revision 531763) @@ -1,8 +1,8 @@ This is a WindowMaker dockapp that displays a graphical representation of the phase of the moon, plus additional astronomical data such as rise/set times, orbital data, orbital elements, etc (if you click on the image multiple times). Probably most of the data is not that useful, but what the heck :) -WWW: http://www.cs.mun.ca/~gstarkes/wmaker/dockapps/time.html#wmmoonclock +WWW: https://www.dockapps.net/wmmoonclock