aboutsummaryrefslogtreecommitdiff
path: root/games/kbilliards/Makefile
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2005-07-04 15:46:47 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2005-07-04 15:46:47 +0000
commit4f1f92308f601df790192e70fd5f4a9b61c8ca28 (patch)
tree28571d838acce0a6af0458430c0e92aad1aa92a4 /games/kbilliards/Makefile
parent62336ce6a598b3efa562198a4ddecb4d01a94346 (diff)
downloadports-4f1f92308f601df790192e70fd5f4a9b61c8ca28.tar.gz
ports-4f1f92308f601df790192e70fd5f4a9b61c8ca28.zip
Notes
Diffstat (limited to 'games/kbilliards/Makefile')
-rw-r--r--games/kbilliards/Makefile20
1 files changed, 15 insertions, 5 deletions
diff --git a/games/kbilliards/Makefile b/games/kbilliards/Makefile
index 3b19b4d08d76..118b5d909d96 100644
--- a/games/kbilliards/Makefile
+++ b/games/kbilliards/Makefile
@@ -5,19 +5,29 @@
# $FreeBSD$
PORTNAME= kbilliards
-PORTVERSION= 0.7.1
-PORTREVISION= 1
+PORTVERSION= 0.8.5
CATEGORIES= games kde
MASTER_SITES= http://www.hostnotfound.it/kbilliards/
MAINTAINER= ports@FreeBSD.org
COMMENT= Funny billiards simulator game for KDE
-EXTRA_PATCHES= ${.CURDIR}/../../x11/kde3/files/extrapatch-old_configure
-
USE_BZIP2= yes
+USE_REINPLACE= yes
USE_KDELIBS_VER= 3
USE_GMAKE= yes
GNU_CONFIGURE= yes
-.include <bsd.port.mk>
+EXTRA_PATCHES= ${.CURDIR}/../../x11/kde3/files/extrapatch-old_configure
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 501000
+BROKEN= "does not compile"
+.endif
+
+post-patch:
+ ${REINPLACE_CMD} -e 's|sqrtl|sqrt|' \
+ ${WRKSRC}/src/ball.cpp ${WRKSRC}/src/aiplayer.cpp
+
+.include <bsd.port.post.mk>