aboutsummaryrefslogtreecommitdiffstats
path: root/games/knights/Makefile
blob: 777413f446cc628fdf3695d4166301f3f0039158 (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=   2
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>