aboutsummaryrefslogtreecommitdiffstats
path: root/games/kbilliards/Makefile
blob: 682c7c1e7a5809e0545ff345fcdd121bbcf31b3e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# New ports collection makefile for:    kbilliards
# Date created:             15 May 2003
# Whom:                 Kirill Ponomarew <ponomarew@oberon.net>
#
# $FreeBSD$

PORTNAME=   kbilliards
PORTVERSION=    0.8.7
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_KDELIBS_VER=3
USE_PERL5_BUILD=yes
USE_GMAKE=  yes
USE_AUTOTOOLS=  libtool:15

CFLAGS+=    -Dsqrtl=sqrt

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 502114
CFLAGS+=    -Dround=rint
.endif

pre-configure:
    @cd ${WRKSRC} && ${PERL} admin/am_edit

.include <bsd.port.post.mk>