# Created by: Jim Mock <jim@FreeBSD.org>
# $FreeBSD: tags/RELEASE_11_0_0/games/wmtictactoe/Makefile 386097 2015-05-11 18:34:57Z mat $

PORTNAME=	wmtictactoe
PORTVERSION=	1.1
DISTVERSIONSUFFIX=	-1
PORTREVISION=	3
CATEGORIES=	games windowmaker afterstep
MASTER_SITES=	LOCAL/jim

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Dockable TicTacToe game for WindowMaker and AfterStep

WRKSRC=		${WRKDIR}/wmtictactoe.app/wmtictactoe

USE_XORG=	xpm
USES=		gmake

PLIST_FILES=	bin/wmtictactoe

post-patch:
	@${REINPLACE_CMD} -e \
		's|^void .*main|int main|' ${WRKSRC}/wmtictactoe.c

post-install:
	@${ECHO_MSG} "===>   Run 'wmtictactoe --help' for the available options"

.include <bsd.port.mk>
