diff options
author | miwi <miwi@FreeBSD.org> | 2013-02-07 22:46:35 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2013-02-07 22:46:35 +0800 |
commit | 9cde523e749a2c9275ef2d6b4d6234f7c1856e28 (patch) | |
tree | 25ff315941723f7c7c77d727e186f6e957074e57 /games | |
parent | 0ee5082fc51757762cb69da8a13ab08b8e4aa657 (diff) | |
download | freebsd-ports-gnome-9cde523e749a2c9275ef2d6b4d6234f7c1856e28.tar.gz freebsd-ports-gnome-9cde523e749a2c9275ef2d6b4d6234f7c1856e28.tar.zst freebsd-ports-gnome-9cde523e749a2c9275ef2d6b4d6234f7c1856e28.zip |
- Fix build with clang
PR: 175042
Submitted by: Ports Fury
Diffstat (limited to 'games')
-rw-r--r-- | games/wmshuffle/Makefile | 19 | ||||
-rw-r--r-- | games/wmshuffle/pkg-plist | 4 |
2 files changed, 12 insertions, 11 deletions
diff --git a/games/wmshuffle/Makefile b/games/wmshuffle/Makefile index 4b1b93fba18b..47653a6021ef 100644 --- a/games/wmshuffle/Makefile +++ b/games/wmshuffle/Makefile @@ -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/dockapp/ \ 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} diff --git a/games/wmshuffle/pkg-plist b/games/wmshuffle/pkg-plist deleted file mode 100644 index a5fcbf0cd423..000000000000 --- a/games/wmshuffle/pkg-plist +++ /dev/null @@ -1,4 +0,0 @@ -bin/wmshuffle -%%DATADIR%%/skin-feiticeira.xpm -%%DATADIR%%/skin-lucyenne.xpm -@dirrm share/wmshuffle |