1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/games/wmtictactoe/Makefile
Martin Wilke ebc131d4cf - Fix build with clang
- Support PLIST_FILES
- Trim header

PR:		175035
Submitted by:	ports fury
2013-02-07 14:48:17 +00:00

29 lines
617 B
Makefile

# Created by: Jim Mock <jim@FreeBSD.org>
# $FreeBSD$
PORTNAME= wmtictactoe
PORTVERSION= 1.1
PORTREVISION= 3
CATEGORIES= games windowmaker afterstep
MASTER_SITES= LOCAL/jim
DISTNAME= ${PORTNAME}-${PORTVERSION}-1
MAINTAINER= ports@FreeBSD.org
COMMENT= Dockable TicTacToe game for WindowMaker and AfterStep
WRKSRC= ${WRKDIR}/wmtictactoe.app/wmtictactoe
USE_XORG= xpm
USE_GMAKE= yes
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>