aboutsummaryrefslogtreecommitdiffstats
path: root/games/wmshuffle/Makefile
blob: 47653a6021ef34a12850c26d742f37552f9f8dd3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Created by: Alexey Dokuchaev <danfe@regency.nsu.ru>
# $FreeBSD$

PORTNAME=   wmshuffle
PORTVERSION=    0.6
PORTREVISION=   3
CATEGORIES= games windowmaker afterstep
MASTER_SITES=   http://www.linuks.mine.nu/dockapp/ \
        http://freebsd.nsu.ru/distfiles/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Dockable Shuffle game for WindowMaker and AfterStep

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}
    ${INSTALL_DATA} ${WRKSRC}/skin-*.xpm ${DATADIR}
    @${ECHO_MSG} "===>   Run 'wmshuffle --help' for the available options"

.include <bsd.port.mk>