Tuesday, July 06, 2021

[UPDATE] astro/sunclock to 3.57

This is update for sunclock 3.57.

- remove REVISION for the first revision of 3.57.
- change MASTER_SITES to github.
- remove Xext, Xau and Xdmcp from WANTLIB-main
- remove Sunclock.se from PLIST-main since 3.57 drops it

HOMEPAGE appears to be unreachable, but I left it as is
since I couldn't find better alternative.

I saw this worked on my amd64 environment.
ok?

Index: astro/sunclock//Makefile
===================================================================
RCS file: /cvs/ports/astro/sunclock/Makefile,v
retrieving revision 1.30
diff -u -p -u -p -r1.30 Makefile
--- astro/sunclock//Makefile 4 Jul 2021 15:14:07 -0000 1.30
+++ astro/sunclock//Makefile 6 Jul 2021 14:57:56 -0000
@@ -3,18 +3,16 @@
COMMENT-main= display the phase of the Sun on a map of the Earth
COMMENT-maps= additional maps of the Earth for sunclock

-VERSION= 3.56
+VERSION= 3.57
DISTNAME= sunclock-${VERSION}
PKGNAME-main= ${DISTNAME}
PKGNAME-maps= sunclock-maps-${VERSION}
-REVISION-main= 5
-REVISION-maps= 0
CATEGORIES= astro

HOMEPAGE= http://www.arvernes.com/wiki/index.php/Sunclock

-MASTER_SITES= ftp://ftp.ac-grenoble.fr/ge/geosciences/sunclock/
-MASTER_SITES0=
ftp://ftp.ac-grenoble.fr/ge/geosciences/sunclock/data_packages/
+MASTER_SITES= https://raw.githubusercontent.com/nongiach/Sunclock/master/
+MASTER_SITES0= https://raw.githubusercontent.com/nongiach/Sunclock/master/
SUPDISTFILES= big_images_270804.tar.bz2:0 \
medium_images_270804.tar.bz2:0 \
e43_color1_sh_16k.jpg:0 \
@@ -37,7 +35,7 @@ PKG_ARCH-maps= *
PERMIT_PACKAGE= Yes
PERMIT_PACKAGE-maps= no license for additional maps

-WANTLIB-main= X11 Xext Xpm Xau Xdmcp c m z jpeg png
+WANTLIB-main= X11 Xpm c m z jpeg png
DIST_SUBDIR= sunclock


Index: astro/sunclock//distinfo
===================================================================
RCS file: /cvs/ports/astro/sunclock/distinfo,v
retrieving revision 1.5
diff -u -p -u -p -r1.5 distinfo
--- astro/sunclock//distinfo 4 Apr 2013 16:06:27 -0000 1.5
+++ astro/sunclock//distinfo 6 Jul 2021 14:57:56 -0000
@@ -2,9 +2,9 @@ SHA256 (sunclock/big_images_270804.tar.b
SHA256 (sunclock/e43_color1_sh_16k.jpg) = BC2+a267GIMX35KRysfYHKFS4MuGfvc8O3iiJhd8sLQ=
SHA256 (sunclock/huge.jpg) = uqQhPRRUiGfWexYzmC12WykMwPLWGP0nitEqdnA5Yls=
SHA256 (sunclock/medium_images_270804.tar.bz2) = 0RFqdPNlSwKsnRzyc+5rdE+wlgYbIbDM3TTM+3kh68U=
-SHA256 (sunclock/sunclock-3.56.tar.bz2) = J4caPw2Qjoh9y/EozDciuaYtqodI0h4kH3iCspxioi8=
+SHA256 (sunclock/sunclock-3.57.tar.bz2) = 4328200ceaa31160e901fb855d664033566d72b26a90605acc5d0ed9365402be
SIZE (sunclock/big_images_270804.tar.bz2) = 11871465
SIZE (sunclock/e43_color1_sh_16k.jpg) = 20507641
SIZE (sunclock/huge.jpg) = 11783876
SIZE (sunclock/medium_images_270804.tar.bz2) = 3917192
-SIZE (sunclock/sunclock-3.56.tar.bz2) = 1313390
+SIZE (sunclock/sunclock-3.57.tar.bz2) = 1325138
Index: astro/sunclock//patches/patch-Imakefile
===================================================================
RCS file: /cvs/ports/astro/sunclock/patches/patch-Imakefile,v
retrieving revision 1.6
diff -u -p -u -p -r1.6 patch-Imakefile
--- astro/sunclock//patches/patch-Imakefile 4 Jun 2013 15:41:17 -0000 1.6
+++ astro/sunclock//patches/patch-Imakefile 6 Jul 2021 14:57:56 -0000
@@ -1,6 +1,6 @@
$OpenBSD: patch-Imakefile,v 1.6 2013/06/04 15:41:17 naddy Exp $
---- Imakefile.orig Sun Jun 18 15:58:50 2006
-+++ Imakefile Tue Jun 4 10:57:37 2013
+--- Imakefile.orig Tue Jul 6 23:07:06 2021
++++ Imakefile Tue Jul 6 23:05:29 2021
@@ -1,5 +1,5 @@
XCOMM Should install to /usr or /usr/local ??
-DESTDIR=/usr
@@ -15,9 +15,9 @@ $OpenBSD: patch-Imakefile,v 1.6 2013/06/
-SHAREDIR=/share/sunclock
+SHAREDIR=${PREFIX}/share/sunclock

- XCOMM Name of DOCDIR's subdirectories of DESTDIR:
- DOCDIR=/X11R6/lib/X11/doc
-@@ -42,31 +42,24 @@ CCOPTIONS = -Ae $(XPMINC) $(JINC) -DZLIB -DSHAREDIR=\"
+ XCOMM Name of library subdirectory of DESTDIR:
+ EMXBINDIR=/share/sunclock/bin
+@@ -48,13 +48,13 @@ CCOPTIONS = -Ae $(XPMINC) $(JINC) -DZLIB -DSHAREDIR=\"
#CCOPTIONS=-O -DZLIB -DNEW_CTIME -DSHAREDIR=\"$(DESTDIR)$(SHAREDIR)\"

# Solaris, Linux
@@ -32,17 +32,12 @@ $OpenBSD: patch-Imakefile,v 1.6 2013/06/
+ZLIBDIR=
+JINC=-I${LOCALBASE}/include

--CCOPTIONS=-O -DZLIB -DSHAREDIR=\"$(DESTDIR)$(SHAREDIR)\"
-+CCOPTIONS+= $(JINC) $(PINC) $(XPMINC) -DZLIB -DSHAREDIR=\"$(DESTDIR)$(SHAREDIR)\"
+-CCOPTIONS=-O -DZLIB -DSHAREDIR=\"$(DESTDIR)$(SHAREDIR)\" -DEMXBINDIR=\"$(DESTDIR)$(EMXBINDIR)\"
++CCOPTIONS=$(JINC) $(PINC) $(XPMINC) -DZLIB -DSHAREDIR=\"$(DESTDIR)$(SHAREDIR)\" -DEMXBINDIR=\"$(DESTDIR)$(EMXBINDIR)\"

No comments:

Post a Comment