# New ports collection makefile for:	hinversi
# Date created:		2 April 2007
# Whom:			Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD: ports/games/hinversi/Makefile,v 1.4 2008/09/07 00:18:29 linimon Exp $
#

PORTNAME=	hinversi
PORTVERSION=	0.8.1
PORTREVISION=	1
CATEGORIES=	games
MASTER_SITES=	http://asturio.gmxhome.de/ CENKES

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Reversi/Othello clone

USE_GETTEXT=	yes
USE_LDCONFIG=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-libintl-prefix=${LOCALBASE} \
		--disable-static
MAN1=	hinversi-cli.1

post-patch:
	@${REINPLACE_CMD} -e '/^mkdir_p/s|=.*|=$$(mkinstalldirs)|'\
		${WRKSRC}/po/Makefile.in.in
	@${REINPLACE_CMD} -e '/^pkgconfigdir/s|=.*|=${PREFIX}/libdata/pkgconfig|'\
		${WRKSRC}/lib/Makefile.in

.include <bsd.port.mk>
