aboutsummaryrefslogtreecommitdiffstats
path: root/games/ksudoku/Makefile
blob: 832e79d834d1b1ba2c58738cbdddd37be521735c (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
# Ports collection makefile for:    ksudoku
# Date created:             30 September 2005
# Whom:                 Bartosz Fabianowski <freebsd@chillt.de>
#
# $FreeBSD$
#

PORTNAME=   ksudoku
PORTVERSION=    0.3
CATEGORIES= games kde
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE_EXTENDED}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= freebsd@chillt.de
COMMENT=    A Sudoku generator and solver for KDE

EXTRA_PATCHES=  ${.CURDIR}/../../x11/kde3/files/extrapatch-old_configure

USE_LIBTOOL_VER=15
USE_KDELIBS_VER=3
USE_X_PREFIX=   yes
USE_REINPLACE=  yes

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500000
IGNORE=     does not build on FreeBSD 4.x
.endif

post-patch:
    @${REINPLACE_CMD} -e 's|-O2||' ${WRKSRC}/configure

.include <bsd.port.post.mk>