aboutsummaryrefslogtreecommitdiff
path: root/x11-clocks/wmfuzzy
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2004-05-02 21:16:37 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2004-05-02 21:16:37 +0000
commitba772ece038021326656a1bb1c60c707a991d483 (patch)
tree4e699b6b995f765ee129cbf4eb2cc7d3b3ead33f /x11-clocks/wmfuzzy
parent8137077ba1d412cf09a27e7a27a81def6d461ad0 (diff)
downloadports-ba772ece038021326656a1bb1c60c707a991d483.tar.gz
ports-ba772ece038021326656a1bb1c60c707a991d483.zip
Notes
Diffstat (limited to 'x11-clocks/wmfuzzy')
-rw-r--r--x11-clocks/wmfuzzy/Makefile5
-rw-r--r--x11-clocks/wmfuzzy/distinfo4
-rw-r--r--x11-clocks/wmfuzzy/files/patch-wmfuzzy.c15
-rw-r--r--x11-clocks/wmfuzzy/pkg-plist3
4 files changed, 21 insertions, 6 deletions
diff --git a/x11-clocks/wmfuzzy/Makefile b/x11-clocks/wmfuzzy/Makefile
index fd7394887820..dc68a75f8334 100644
--- a/x11-clocks/wmfuzzy/Makefile
+++ b/x11-clocks/wmfuzzy/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= wmfuzzy
-PORTVERSION= 0.5
+PORTVERSION= 0.6
CATEGORIES= x11-clocks windowmaker
MASTER_SITES= http://www.manicai.net/comp/wmfuzzy/
EXTRACT_SUFX= .tgz
@@ -19,6 +19,9 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/src
USE_X_PREFIX= yes
USE_XPM= yes
+PORTDOCS= README
+PLIST_FILES= bin/wmfuzzy
+
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/wmfuzzy ${PREFIX}/bin
.if !defined(NOPORTDOCS)
diff --git a/x11-clocks/wmfuzzy/distinfo b/x11-clocks/wmfuzzy/distinfo
index 0cf91a44efa2..eb0dfb6b5f49 100644
--- a/x11-clocks/wmfuzzy/distinfo
+++ b/x11-clocks/wmfuzzy/distinfo
@@ -1,2 +1,2 @@
-MD5 (wmfuzzy-0.5.tgz) = daf76669b8472c2a16b1bf24e6367174
-SIZE (wmfuzzy-0.5.tgz) = 17042
+MD5 (wmfuzzy-0.6.tgz) = 24235d7845697247ef7b75da012c45ae
+SIZE (wmfuzzy-0.6.tgz) = 19735
diff --git a/x11-clocks/wmfuzzy/files/patch-wmfuzzy.c b/x11-clocks/wmfuzzy/files/patch-wmfuzzy.c
new file mode 100644
index 000000000000..9a7923579c52
--- /dev/null
+++ b/x11-clocks/wmfuzzy/files/patch-wmfuzzy.c
@@ -0,0 +1,15 @@
+--- wmfuzzy.c.orig Wed Mar 17 16:58:40 2004
++++ wmfuzzy.c Sat Mar 27 22:15:00 2004
+@@ -55,10 +55,10 @@
+ }
+
+ void display_time(const struct tm* tm) {
++ const ApproximateTime approximation = approximate(tm, gGranularity);
++
+ static char text[30];
+ memset(text, 0, ARRAY_SIZE(text));
+-
+- const ApproximateTime approximation = approximate(tm, gGranularity);
+
+ if (approximation.minutes == 0)
+ {
diff --git a/x11-clocks/wmfuzzy/pkg-plist b/x11-clocks/wmfuzzy/pkg-plist
deleted file mode 100644
index 15b47029bf00..000000000000
--- a/x11-clocks/wmfuzzy/pkg-plist
+++ /dev/null
@@ -1,3 +0,0 @@
-bin/wmfuzzy
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%@dirrm %%DOCSDIR%%