astro/wmsun: Update to version 1.12

Fix MASTER_SITES
This commit is contained in:
Baptiste Daroussin 2015-04-06 18:50:50 +00:00
parent 39048027d5
commit aacb465c79
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=383467
5 changed files with 16 additions and 22 deletions

View file

@ -2,21 +2,17 @@
# $FreeBSD$
PORTNAME= wmsun
PORTVERSION= 1.03
PORTREVISION= 2
PORTVERSION= 1.12
CATEGORIES= astro windowmaker
MASTER_SITES= http://dockapps.windowmaker.org/download.php/id/23/
DISTNAME= wmSun-1.03
MASTER_SITES= http://linux-bsd-unix.strefa.pl/
DISTNAME= wmSun-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Dockapp that displays the rise and set times of the Sun
BROKEN= No public distfiles
WRKSRC= ${WRKDIR}/${DISTNAME}/wmSun
WRKSRC_SUBDIR= wmSun
USE_XORG= xext xpm x11
ALL_TARGET= clean all
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" \
INCDIR="-I${LOCALBASE}/include" LIBDIR="-L${LOCALBASE}/lib"
MAKE_JOBS_UNSAFE= yes

View file

@ -1,2 +1,2 @@
SHA256 (wmSun-1.03.tar.gz) = 53d81d1ac9541c153917c4d0bb9813308268a1d1b47ed0e5b685e4a17b36b193
SIZE (wmSun-1.03.tar.gz) = 184320
SHA256 (wmSun-1.12.tar.gz) = d05fb019dd835fc33b2c7c3fb7cf1b6a8cd7fe59b62c8d3fa00ddd0f776da15d
SIZE (wmSun-1.12.tar.gz) = 147170

View file

@ -1,19 +1,17 @@
--- Makefile.orig Wed Jan 6 11:28:39 1999
+++ Makefile Thu Aug 3 21:28:34 2000
@@ -22,14 +22,14 @@
@@ -18,12 +18,12 @@
OBJS = wmSun.o SunRise.o ../wmgeneral/wmgeneral.o
.c.o:
- $(CC) $(COPTS) -D$(shell echo `uname -s`) -c $< -o $*.o $(INCDIR)
+ $(CC) $(CFLAGS) -D$(OPSYS) -c $< -o $@ $(INCDIR)
all: wmSun.o wmSun
wmSun.o: wmSun_master.xpm wmSun_mask.xbm
wmSun: $(OBJS)
- $(CC) $(COPTS) $(SYSTEM) -lm -o wmSun $^ $(INCDIR) $(LIBDIR) $(LIBS)
+ $(CC) $(CFLAGS) $(SYSTEM) -lm -o wmSun $(OBJS) $(LIBDIR) $(LIBS)
- $(CC) $(COPTS) $(SYSTEM) -o wmSun $^ $(INCDIR) $(LIBDIR) $(LIBS)
+ $(CC) $(CFLAGS) $(SYSTEM) -o wmSun $(OBJS) $(LIBDIR) $(LIBS)
clean:
for i in $(OBJS) ; do \
for i in $(OBJS) ; do rm -f $$i; done

View file

@ -3,10 +3,10 @@ $FreeBSD$
--- wmSun.c.orig Thu Aug 15 18:04:04 2002
+++ wmSun.c Thu Aug 15 18:06:24 2002
@@ -129,7 +129,8 @@
int Year, Month, DayOfWeek, OldLocalDayOfMonth;
@@ -76,7 +76,8 @@
int LocalDayOfMonth, DayOfMonth;
int Hours, Mins, Secs, OldSecs, digit, xoff, xsize;
int OldMins;
- long CurrentLocalTime, CurrentGMTTime, date;
+ time_t CurrentLocalTime, CurrentGMTTime;
+ long date;

View file

@ -1,3 +1,3 @@
A dockapp that displays the rise and set time of the sun.
WWW: http://dockapps.windowmaker.org/file.php/id/16/
WWW: http://linux-bsd-unix.strefa.pl/