summaryrefslogtreecommitdiff
path: root/x11/xlockmore
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>2000-08-15 14:07:24 +0000
committerThomas Gellekum <tg@FreeBSD.org>2000-08-15 14:07:24 +0000
commitc426029ced61ece1a7a0102129d1858c470fccc4 (patch)
treeea44160b72dd569255028721dbbd981ba8c5444b /x11/xlockmore
parentAdd heroes - a game similar to the old "Tron" and "Nibbles". (diff)
Upgrade to 4.17.
XFree86-4 users: please test this port. According to the docs, xlock should compile now. (I can't try it, I'm still running XFree86-3.3.6.)
Diffstat (limited to 'x11/xlockmore')
-rw-r--r--x11/xlockmore/Makefile12
-rw-r--r--x11/xlockmore/distinfo2
2 files changed, 11 insertions, 3 deletions
diff --git a/x11/xlockmore/Makefile b/x11/xlockmore/Makefile
index 59356da485aa..8e0ace81f5e7 100644
--- a/x11/xlockmore/Makefile
+++ b/x11/xlockmore/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= xlockmore
-PORTVERSION= 4.16.1
+PORTVERSION= 4.17
CATEGORIES= x11
MASTER_SITES= ftp://ftp.tux.org/pub/tux/bagleyd/xlockmore/ \
${MASTER_SITE_XCONTRIB}
@@ -17,7 +17,7 @@ MAINTAINER= tg@FreeBSD.org
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --without-gl --without-motif --without-sx \
--without-editres --without-dtsaver --without-rplay \
- --without-nas --without-gtk #--enable-customization
+ --without-nas --without-gtk --without-esound
.if defined(MAKE_KERBEROS4)
CONFIGURE_ARGS+= --enable-kerberos4
.endif
@@ -42,4 +42,12 @@ USE_MESA= yes
CONFIGURE_ARGS+= --without-mesagl
.endif
+XFREE86VERSION!= /usr/bin/awk '/\#define XFree86Version/ {print $$3}' \
+ ${X11BASE}/lib/X11/config/xfree86.cf
+
+.if ${XFREE86VERSION} >= 4000
+post-configure:
+ ${PERL} -pi -e 's/-lXdpms//g' ${WRKSRC}/modes/Makefile
+.endif
+
.include <bsd.port.post.mk>
diff --git a/x11/xlockmore/distinfo b/x11/xlockmore/distinfo
index d3e50f04834a..a0fa7daef831 100644
--- a/x11/xlockmore/distinfo
+++ b/x11/xlockmore/distinfo
@@ -1 +1 @@
-MD5 (xlockmore-4.16.1.tar.gz) = ba7af9df46b75e603b4774f76fcb2f3f
+MD5 (xlockmore-4.17.tar.gz) = 6e221dd493bb3fb49c1793c51e7d6e2a