aboutsummaryrefslogtreecommitdiff
path: root/x11-clocks
diff options
context:
space:
mode:
Diffstat (limited to 'x11-clocks')
-rw-r--r--x11-clocks/dclock/Makefile24
-rw-r--r--x11-clocks/dclock/distinfo3
-rw-r--r--x11-clocks/dclock/files/patch-ab11
-rw-r--r--x11-clocks/dclock/files/patch-ac11
4 files changed, 35 insertions, 14 deletions
diff --git a/x11-clocks/dclock/Makefile b/x11-clocks/dclock/Makefile
index 270091fb7943..79917d853ef5 100644
--- a/x11-clocks/dclock/Makefile
+++ b/x11-clocks/dclock/Makefile
@@ -1,27 +1,25 @@
# New ports collection makefile for: dclock
-# Version required: pl4
+# Version required: pl6
# Date created: 15 Aug 1996
# Whom: David Leonard <leonard@dstc.edu.au>
#
# $FreeBSD$
#
-DISTNAME= dclock
-PKGNAME= dclock-pl4
+DISTNAME= Dclock
+PKGNAME= dclock-pl6
CATEGORIES= x11-clocks
-MASTER_SITES= ftp://ftp.x.org/R5contrib/
-EXTRACT_SUFX= .shar.Z
+MASTER_SITES= ftp://ftp.demon.co.uk/pub/graphics/systems/X11.old/pub/R6untarred/contrib/programs/
+
+PATCH_SITES= ${MASTER_SITE_XCONTRIB}
+PATCH_SITE_SUBDIR= R6contrib-fixes
+PATCHFILES= Dclock-pl6.patch.gz
+PATCH_DIST_STRIP= -p1
MAINTAINER= ports@FreeBSD.org
-USE_XLIB= yes
+IGNOREFILES= ${DISTFILES}
+USE_IMAKE= yes
MAN1= dclock.1
-MANCOMPRESSED= yes
-
-EXTRACT_CMD= ${GZIP_CMD}
-EXTRACT_BEFORE_ARGS= -dc
-EXTRACT_AFTER_ARGS= |sh -
-NO_WRKSUBDIR= yes
-ALL_TARGET= dclock
.include <bsd.port.mk>
diff --git a/x11-clocks/dclock/distinfo b/x11-clocks/dclock/distinfo
index c12704f13e26..2c4ccc854552 100644
--- a/x11-clocks/dclock/distinfo
+++ b/x11-clocks/dclock/distinfo
@@ -1 +1,2 @@
-MD5 (dclock.shar.Z) = c02279a04e7ca617b327bc4963920593
+MD5 (Dclock-pl6.patch.gz) = 539204f67d1662c5ed738f8b8e9d9bf2
+MD5 (Dclock.tar.gz) = IGNORE
diff --git a/x11-clocks/dclock/files/patch-ab b/x11-clocks/dclock/files/patch-ab
new file mode 100644
index 000000000000..8aa7c7fbb465
--- /dev/null
+++ b/x11-clocks/dclock/files/patch-ab
@@ -0,0 +1,11 @@
+--- Dclock.h.orig Mon Jun 6 08:00:00 1994
++++ Dclock.h Sun Dec 19 15:59:17 1999
+@@ -58,7 +58,7 @@
+ #define XtNfadeRate "fadeRate"
+ #define XtNtails "tails"
+ #define XtNdate "date"
+-#define XtNmilitaryTime "militaryTime"
++#define XtNmilitaryTime "miltime"
+ #define XtNlanguage "language"
+ #define XtNhours_snd "hours_snd"
+ #define XtNhalf_hours_snd "half_hours_snd"
diff --git a/x11-clocks/dclock/files/patch-ac b/x11-clocks/dclock/files/patch-ac
new file mode 100644
index 000000000000..caa7dae4961e
--- /dev/null
+++ b/x11-clocks/dclock/files/patch-ac
@@ -0,0 +1,11 @@
+--- d_clock.c.orig Fri Jun 3 08:00:00 1994
++++ d_clock.c Sun Dec 19 16:01:36 1999
+@@ -131,7 +131,7 @@
+ else
+ name = argv[0];
+
+- toplevel = XtInitialize(name, "DClock", options, XtNumber(options),
++ toplevel = XtInitialize(name, "Dclock", options, XtNumber(options),
+ &argc, argv);
+ XtAddActions(actionsList, 1);
+