aboutsummaryrefslogtreecommitdiffstats
path: root/games/knights-kde4/Makefile
blob: 3afba7f8ba659c061405bb79f57007047eafda98 (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
# New ports collection makefile for:    knight
# Date created:     24 Jun 2002
# Whom:         Stefan Jahn <stefan.jahn@nemesis-sektor.de>
#
# $FreeBSD$
#

PORTNAME=   knights
PORTVERSION=    0.6
PORTREVISION=   3
CATEGORIES= games kde
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= knights

MAINTAINER= ports@FreeBSD.org
COMMENT=    A KDE chess interface (gnuchess/crafty)

RUN_DEPENDS=    crafty:${PORTSDIR}/games/crafty

USE_KDELIBS_VER=3
USE_REINPLACE=  yes
USE_GMAKE=  yes
USE_AUTOTOOLS=  libtool:15
CONFIGURE_ENV=  XML2POT=${TRUE} PO2XML=${TRUE}

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

.include <bsd.port.mk>