1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00

- Fix build with clang

- Support PLIST_FILES
- Trim header

PR:		175035
Submitted by:	ports fury
This commit is contained in:
Martin Wilke 2013-02-07 14:48:17 +00:00
parent 165adb350f
commit ebc131d4cf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=311858

View File

@ -1,27 +1,28 @@
# New ports collection makefile for: wmtictactoe
# Date created: 28 Apr 1999
# Whom: Jim Mock <jim@FreeBSD.org>
#
# Created by: Jim Mock <jim@FreeBSD.org>
# $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 <bsd.port.mk>