summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authorpho <pho@pkgsrc.org>2018-12-12 12:45:19 +0000
committerpho <pho@pkgsrc.org>2018-12-12 12:45:19 +0000
commitf95df8b0b139312effd45588996c06bb66e6cc9e (patch)
treea94b6eaffe06e1266043ec0065b0b65d1ef058bb /time
parent3f287d9627e850f0be6dd809808f5f332e8d968d (diff)
downloadpkgsrc-f95df8b0b139312effd45588996c06bb66e6cc9e.tar.gz
time/wmmoonclock: Update to 1.29
Changes: Version 1.29 - released August 14, 2017 Update GPLv2 license text. Update FSF address. Remove trailing whitespace. Use autotools for build. Rename changelog to ChangeLog; clean up and split off TODO. Correct bug report email address. Remove unused variables. Use unsigned char in mask bitmap to avoid overflow warnings. Use correct includes for each file. Add desktop entry file. Version 1.28 - released September 20, 2011. Debian patches added to the upstream version. These patches are included: 01_all_previous_diff.diff, 02_update_time.diff, 03_add_southern_hemisphere_support.diff and 04_fix_hyphen_used_as_minus_sign.diff BUGS file updated to report to wmaker-dev@lists.windowmaker.info Source is now at http://repo.or.cz/w/dockapps.git Updated by Rodolfo García Peñas (kix) <kix@kix.es>
Diffstat (limited to 'time')
-rw-r--r--time/wmmoonclock/Makefile21
-rw-r--r--time/wmmoonclock/PLIST5
-rw-r--r--time/wmmoonclock/distinfo11
-rw-r--r--time/wmmoonclock/patches/patch-aa29
4 files changed, 16 insertions, 50 deletions
diff --git a/time/wmmoonclock/Makefile b/time/wmmoonclock/Makefile
index ef4d534fc22..67ffa9a6879 100644
--- a/time/wmmoonclock/Makefile
+++ b/time/wmmoonclock/Makefile
@@ -1,23 +1,18 @@
-# $NetBSD: Makefile,v 1.26 2017/10/25 21:59:33 khorben Exp $
+# $NetBSD: Makefile,v 1.27 2018/12/12 12:45:19 pho Exp $
-DISTNAME= wmMoonClock-1.27
-PKGREVISION= 1
+DISTNAME= wmmoonclock-1.29
CATEGORIES= x11 time
-MASTER_SITES= http://reality.sgiweb.org/freeware/source/wmMoonClock/
+MASTER_SITES= https://www.dockapps.net/download/
MAINTAINER= pkgsrc-users@NetBSD.org
-# HOMEPAGE= http://nis-www.lanl.gov/~mgh/WindowMaker/DockApps.shtml
+HOMEPAGE= https://www.dockapps.net/wmmoonclock
COMMENT= Shows lunar ephemeris to fairly high accuracy
+LICENSE= gnu-gpl-v2
-WRKSRC= ${WRKDIR}/${DISTNAME}/Src
-USE_TOOLS+= gmake
-
-MAKE_FLAGS+= CFLAGS=${CFLAGS:Q}
-MAKE_FLAGS+= COPTS=${LDFLAGS:Q}
-MAKE_FLAGS.SunOS+= EXTRA_LOCAL_LIBS=-lsocket
-
-INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1
+USE_TOOLS+= pkg-config
+GNU_CONFIGURE= YES
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libXpm/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/time/wmmoonclock/PLIST b/time/wmmoonclock/PLIST
index 37dc8e840fd..0bfa9a67c84 100644
--- a/time/wmmoonclock/PLIST
+++ b/time/wmmoonclock/PLIST
@@ -1,3 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2001/10/31 22:19:21 zuntum Exp $
-bin/wmMoonClock
+@comment $NetBSD: PLIST,v 1.2 2018/12/12 12:45:19 pho Exp $
+bin/wmmoonclock
man/man1/wmMoonClock.1
+share/applications/wmmoonclock.desktop
diff --git a/time/wmmoonclock/distinfo b/time/wmmoonclock/distinfo
index 0137a67038c..085a144fc4a 100644
--- a/time/wmmoonclock/distinfo
+++ b/time/wmmoonclock/distinfo
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.8 2015/11/02 23:31:46 agc Exp $
+$NetBSD: distinfo,v 1.9 2018/12/12 12:45:19 pho Exp $
-SHA1 (wmMoonClock-1.27.tar.gz) = bbc27a11ff99505fe4b872019f214f305cee6c5b
-RMD160 (wmMoonClock-1.27.tar.gz) = adf74a0fff42a5e3d7823c7fabf71c95f47057e4
-SHA512 (wmMoonClock-1.27.tar.gz) = 5c1ccc92c763a74f03189939b39f15e763be751e8c9b6693298cdc131041165221c19b8eefabb9d06bb6cfa5c90b0aced13b24184122962375d279b9f14f8ffb
-Size (wmMoonClock-1.27.tar.gz) = 155197 bytes
-SHA1 (patch-aa) = 8e64134ad504f6dd23d9bf3746f63fe6d00911be
+SHA1 (wmmoonclock-1.29.tar.gz) = 958a21166299f7aca6a2964a0f5b05ae1f2bfcd5
+RMD160 (wmmoonclock-1.29.tar.gz) = f2eef42b51f9ba2a3a2df32b08e5c9e1070de880
+SHA512 (wmmoonclock-1.29.tar.gz) = c36850034a0f3b7863ecfd03f73f91f9b935f645362cebeb33186873f700585d682dc5c35f3b5d67932afd3c5699fca56bf012e8f8a06615ff52c44a47ba552e
+Size (wmmoonclock-1.29.tar.gz) = 234991 bytes
diff --git a/time/wmmoonclock/patches/patch-aa b/time/wmmoonclock/patches/patch-aa
deleted file mode 100644
index 245f28bf070..00000000000
--- a/time/wmmoonclock/patches/patch-aa
+++ /dev/null
@@ -1,29 +0,0 @@
-$NetBSD: patch-aa,v 1.5 2010/04/29 00:09:28 dholland Exp $
-
---- Makefile.orig Tue Mar 23 03:20:32 1999
-+++ Makefile Thu Oct 17 00:31:50 2002
-@@ -1,11 +1,11 @@
- CC = gcc
- CFLAGS = -O2
--INCDIR = -I/usr/X11R6/include/X11
--DESTDIR= /usr/X11R6
--LIBDIR = -L/usr/X11R6/lib
-+INCDIR = -I${PREFIX}/include -I${X11BASE}/include
-+#DESTDIR= /usr/X11R6
-+LIBDIR = -L${PREFIX}/lib -Wl,-R${PREFIX}/lib -L${X11BASE}/lib -Wl,-R${X11BASE}/lib
-
- # for Linux
--LIBS = -lXpm -lX11 -lXext
-+LIBS = -lXpm -lX11 -lXext ${EXTRA_LOCAL_LIBS}
-
- # for Solaris
- # LIBS = -lXpm -lX11 -lXext -lsocket
-@@ -31,6 +31,5 @@
- rm -f wmMoonClock
-
- install:: wmMoonClock
-- install -s -m 0755 wmMoonClock $(DESTDIR)/bin
-- install -m 0644 wmMoonClock.1 $(DESTDIR)/man/man1
--
-+ $(BSD_INSTALL_PROGRAM) wmMoonClock $(DESTDIR)${PREFIX}/bin
-+ $(BSD_INSTALL_DATA) wmMoonClock.1 $(DESTDIR)${PREFIX}/${PKGMANDIR}/man1