Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Feb 2013 14:46:35 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r311857 - head/games/wmshuffle
Message-ID:  <201302071446.r17EkZo9087668@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: miwi
Date: Thu Feb  7 14:46:35 2013
New Revision: 311857
URL: http://svnweb.freebsd.org/changeset/ports/311857

Log:
  - Fix build with clang
  
  PR:		175042
  Submitted by:	Ports Fury

Deleted:
  head/games/wmshuffle/pkg-plist
Modified:
  head/games/wmshuffle/Makefile   (contents, props changed)

Modified: head/games/wmshuffle/Makefile
==============================================================================
--- head/games/wmshuffle/Makefile	Thu Feb  7 14:45:23 2013	(r311856)
+++ head/games/wmshuffle/Makefile	Thu Feb  7 14:46:35 2013	(r311857)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	wmshuffle
-# Date created:			15 May 2002
-# Whom:				Alexey Dokuchaev <danfe@regency.nsu.ru>
-#
+# Created by: Alexey Dokuchaev <danfe@regency.nsu.ru>
 # $FreeBSD$
-#
 
 PORTNAME=	wmshuffle
 PORTVERSION=	0.6
@@ -13,10 +9,19 @@ MASTER_SITES=	http://www.linuks.mine.nu/
 		http://freebsd.nsu.ru/distfiles/
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	A dockable Shuffle game for WindowMaker and AfterStep
+COMMENT=	Dockable Shuffle game for WindowMaker and AfterStep
 
-USE_GMAKE=	yes
 USE_XORG=	xpm
+USE_GMAKE=	yes
+
+PLIST_FILES=	bin/wmshuffle \
+		%%DATADIR%%/skin-feiticeira.xpm \
+		%%DATADIR%%/skin-lucyenne.xpm
+PLIST_DIRS=	%%DATADIR%%
+
+post-patch:
+	@${REINPLACE_CMD} -e \
+		's|^void .*main|int main|' ${WRKSRC}/wmshuffle.c
 
 post-install:
 	@${MKDIR} ${DATADIR}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302071446.r17EkZo9087668>