svn commit: r311858 - head/games/wmtictactoe
Martin Wilke
miwi at FreeBSD.org
Thu Feb 7 14:48:18 UTC 2013
Author: miwi
Date: Thu Feb 7 14:48:17 2013
New Revision: 311858
URL: http://svnweb.freebsd.org/changeset/ports/311858
Log:
- Fix build with clang
- Support PLIST_FILES
- Trim header
PR: 175035
Submitted by: ports fury
Modified:
head/games/wmtictactoe/Makefile (contents, props changed)
Modified: head/games/wmtictactoe/Makefile
==============================================================================
--- head/games/wmtictactoe/Makefile Thu Feb 7 14:46:35 2013 (r311857)
+++ head/games/wmtictactoe/Makefile Thu Feb 7 14:48:17 2013 (r311858)
@@ -1,27 +1,28 @@
-# New ports collection makefile for: wmtictactoe
-# Date created: 28 Apr 1999
-# Whom: Jim Mock <jim at FreeBSD.org>
-#
+# Created by: Jim Mock <jim at 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 at FreeBSD.org
-COMMENT= A dockable TicTacToe game for WindowMaker and AfterStep
+COMMENT= Dockable TicTacToe game for WindowMaker and AfterStep
-PLIST_FILES= bin/wmtictactoe
-USE_GMAKE= yes
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} "===> Run 'wmtictactoe --help' for the available options"
+ @${ECHO_MSG} "===> Run 'wmtictactoe --help' for the available options"
.include <bsd.port.mk>
More information about the svn-ports-head
mailing list