summaryrefslogtreecommitdiff
path: root/games/xarchon/Makefile
blob: 61d791f3bd37426d92eb0b4ee5f1c576b53723a5 (plain)
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
# New ports collection makefile for:	xarchon
# Date created:		8 November 2002
# Whom:			Marc Fonvieille <blackend@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	xarchon
PORTVERSION=	0.50
PORTREVISION=	4
CATEGORIES=	games
MASTER_SITES=	ftp://ftp.seul.org/pub/xarchon/ \
		http://xarchon.seul.org/
DISTNAME=	${PORTNAME}-${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A chess-like strategy game with battle options

USE_GNOME=	esound gtk12
USE_GMAKE=	yes
USE_XORG=	x11 xpm ice
GNU_CONFIGURE=	yes

MAN6=	xarchon.6

post-patch:
	@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \
		${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
	@${REINPLACE_CMD} -e '169s|^static ||' ${WRKSRC}/src/board.c
	@${REINPLACE_CMD} -e 's|Xarchon_Evolution::||' \
		${WRKSRC}/src/Xarchon_Genetic.hpp

.include <bsd.port.mk>