summaryrefslogtreecommitdiff
path: root/games/knights/Makefile
blob: 5c4ca6a7ac753336746cbe1293b8d63d7b29f905 (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
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	XML2POT=${TRUE} PO2XML=${TRUE}

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

.include <bsd.port.mk>