aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--x11-clocks/wmbday/Makefile15
-rw-r--r--x11-clocks/wmbday/distinfo6
-rw-r--r--x11-clocks/wmbday/files/BSDmakefile12
3 files changed, 13 insertions, 20 deletions
diff --git a/x11-clocks/wmbday/Makefile b/x11-clocks/wmbday/Makefile
index 620baa6b4774..5146f0a7513f 100644
--- a/x11-clocks/wmbday/Makefile
+++ b/x11-clocks/wmbday/Makefile
@@ -1,11 +1,11 @@
# New ports collection makefile for: wmbday
# Date created: 2004-01-06
-# Whom: Ulrich Spoerlein <q@uni.de>
+# Whom: Ulrich Spoerlein <q@gmail.com>
#
# $FreeBSD$
PORTNAME= wmbday
-PORTVERSION= 0.3
+PORTVERSION= 0.3.1
CATEGORIES= x11-clocks
MASTER_SITES= http://buzzinhornetz.ath.cx/wmbday/files/
@@ -16,12 +16,17 @@ BUILD_DEPENDS= ${X11BASE}/bin/xmessage:${X_CLIENTS_PORT}
HAS_CONFIGURE= yes
USE_X_PREFIX= yes
+USE_GETOPT_LONG=yes
MAKEFILE= BSDmakefile
+MAKE_ENV+= ${CONFIGURE_ENV}
MAN1= wmbday.1
MANCOMPRESSED= yes
-post-extract:
- @${CP} ${FILESDIR}/BSDmakefile ${WRKSRC}
+.include <bsd.port.pre.mk>
-.include <bsd.port.mk>
+.if ${OSVERSION} < 500000
+BROKEN= Does not compile on 4.x
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/x11-clocks/wmbday/distinfo b/x11-clocks/wmbday/distinfo
index d5059725597f..bcb2405e418d 100644
--- a/x11-clocks/wmbday/distinfo
+++ b/x11-clocks/wmbday/distinfo
@@ -1,3 +1,3 @@
-MD5 (wmbday-0.3.tar.gz) = 0bfa927ef0784d9619db11aa01c26bee
-SHA256 (wmbday-0.3.tar.gz) = 0a21f6199838d4b377943df1636ea4d20991d4bc9fff8f8fe02c715ea89fb8f6
-SIZE (wmbday-0.3.tar.gz) = 18835
+MD5 (wmbday-0.3.1.tar.gz) = 7ba1394ea2eb65cdf08dea52349d27f8
+SHA256 (wmbday-0.3.1.tar.gz) = 4d89fa03aa3fddfb010f98978f22c88996da17f996fcf7ce0ba50e3cf074ca15
+SIZE (wmbday-0.3.1.tar.gz) = 19836
diff --git a/x11-clocks/wmbday/files/BSDmakefile b/x11-clocks/wmbday/files/BSDmakefile
deleted file mode 100644
index 01d120921fff..000000000000
--- a/x11-clocks/wmbday/files/BSDmakefile
+++ /dev/null
@@ -1,12 +0,0 @@
-PROG= wmbday
-SRCS= date.c main.c ring.c
-
-PREFIX?= ${X11BASE}
-
-BINDIR= ${PREFIX}/bin
-SHAREDIR= ${PREFIX}
-CFLAGS+= -I${X11BASE}/include
-LDFLAGS+= -L${X11BASE}/lib
-LDADD= -lX11 -lXext -lXpm
-
-.include <bsd.prog.mk>