diff --git a/games/wmtictactoe/Makefile b/games/wmtictactoe/Makefile index efc22bed7664..b8c33a958515 100644 --- a/games/wmtictactoe/Makefile +++ b/games/wmtictactoe/Makefile @@ -1,27 +1,28 @@ -# New ports collection makefile for: wmtictactoe -# Date created: 28 Apr 1999 -# Whom: Jim Mock -# +# Created by: Jim Mock # $FreeBSD$ -# PORTNAME= wmtictactoe PORTVERSION= 1.1 PORTREVISION= 3 CATEGORIES= games windowmaker afterstep -MASTER_SITES= ${MASTER_SITE_LOCAL} -MASTER_SITE_SUBDIR= jim -DISTNAME= wmtictactoe-1.1-1 +MASTER_SITES= LOCAL/jim +DISTNAME= ${PORTNAME}-${PORTVERSION}-1 MAINTAINER= ports@FreeBSD.org -COMMENT= A dockable TicTacToe game for WindowMaker and AfterStep +COMMENT= Dockable TicTacToe game for WindowMaker and AfterStep + +WRKSRC= ${WRKDIR}/wmtictactoe.app/wmtictactoe + +USE_XORG= xpm +USE_GMAKE= yes PLIST_FILES= bin/wmtictactoe -USE_GMAKE= yes -WRKSRC= ${WRKDIR}/wmtictactoe.app/wmtictactoe -USE_XORG= xpm + +post-patch: + @${REINPLACE_CMD} -e \ + 's|^void .*main|int main|' ${WRKSRC}/wmtictactoe.c post-install: - @${ECHO} "===> Run 'wmtictactoe --help' for the available options" + @${ECHO_MSG} "===> Run 'wmtictactoe --help' for the available options" .include