aboutsummaryrefslogtreecommitdiffstats
path: root/games/atris-sounds/Makefile
blob: 74b727b9b92894870a70e0d0a7c33f4499204ced (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
# Created by: Alejandro Pulver <alejandro@varnet.biz>
# $FreeBSD$

PORTNAME=   atris
PORTVERSION=    1.0.1
PORTREVISION=   2
CATEGORIES= games
MASTER_SITES=   http://www.wkiri.com/projects/atris/
PKGNAMESUFFIX=  -sounds
DISTNAME=   ${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Sounds for Atris: Alizarin Tetris

RUN_DEPENDS=    atris:games/atris

USES=       gmake
GNU_CONFIGURE=  yes
NO_WRKSUBDIR=   yes

post-patch:
# Fix path to ${DATADIR}
    ${REINPLACE_CMD} -e 's|\(GAME_INSTALLDIR=\).*|\1"${DATADIR}"|' \
            ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}

do-install:
    (cd ${WRKSRC} ; ${COPYTREE_SHARE} sounds ${STAGEDIR}${DATADIR})

.include <bsd.port.mk>