diff options
author | adamw <adamw@FreeBSD.org> | 2004-05-03 05:16:37 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2004-05-03 05:16:37 +0800 |
commit | 79d71ce3a71ee37daa727f20594b4cf1bacfc0ba (patch) | |
tree | 2d0a025fef75b27c41562bd0d11ee17eadbb9b87 /x11-clocks | |
parent | 07ffa7f88e1407044dc54fb4354e11c7770a7554 (diff) | |
download | freebsd-ports-graphics-79d71ce3a71ee37daa727f20594b4cf1bacfc0ba.tar.gz freebsd-ports-graphics-79d71ce3a71ee37daa727f20594b4cf1bacfc0ba.tar.zst freebsd-ports-graphics-79d71ce3a71ee37daa727f20594b4cf1bacfc0ba.zip |
Update to 0.6, and use PORTDOCS and PLIST_FILES and remove pkg-plist.
PR: ports/64858
Submitted by: KATO Tsuguru <tkato@prontomail.com>
Diffstat (limited to 'x11-clocks')
-rw-r--r-- | x11-clocks/wmfuzzy/Makefile | 5 | ||||
-rw-r--r-- | x11-clocks/wmfuzzy/distinfo | 4 | ||||
-rw-r--r-- | x11-clocks/wmfuzzy/files/patch-wmfuzzy.c | 15 | ||||
-rw-r--r-- | x11-clocks/wmfuzzy/pkg-plist | 3 |
4 files changed, 21 insertions, 6 deletions
diff --git a/x11-clocks/wmfuzzy/Makefile b/x11-clocks/wmfuzzy/Makefile index fd739488782..dc68a75f833 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 0cf91a44efa..eb0dfb6b5f4 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 00000000000..9a7923579c5 --- /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 15b47029bf0..00000000000 --- a/x11-clocks/wmfuzzy/pkg-plist +++ /dev/null @@ -1,3 +0,0 @@ -bin/wmfuzzy -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%@dirrm %%DOCSDIR%% |