svn commit: r311857 - head/games/wmshuffle

Martin Wilke miwi at FreeBSD.org
Thu Feb 7 14:46:36 UTC 2013


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 at regency.nsu.ru>
-#
+# Created by: Alexey Dokuchaev <danfe at 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 at 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}


More information about the svn-ports-all mailing list