aboutsummaryrefslogtreecommitdiffstats
path: root/games/reminiscence/Makefile
blob: b3963b5896f767c337ba47dccd8d5db3293ab5df (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
32
33
34
35
36
37
38
39
40
41
# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
# $FreeBSD$

PORTNAME=   REminiscence
PORTVERSION=    0.3.3
CATEGORIES= games
MASTER_SITES=   http://cyxdown.free.fr/reminiscence/ \
        http://mirror.amdmi3.ru/distfiles/

MAINTAINER= amdmi3@FreeBSD.org
COMMENT=    Rewritten engine for Flashback

LIB_DEPENDS=    libmodplug.so:audio/libmodplug \
        libvorbisidec.so:audio/libtremor

USES=       gmake pkgconfig tar:bzip2
USE_SDL=    sdl2

ALL_TARGET= rs

SUB_FILES=  pkg-message

PORTDOCS=   README.txt

PLIST_FILES=    bin/remin
PLIST_DIRS= %%DATADIR%%/data

OPTIONS_DEFINE= DOCS

post-patch:
    @${REINPLACE_CMD} -e 's|DATA|${DATADIR}/data|' ${WRKSRC}/main.cpp

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/rs ${STAGEDIR}${PREFIX}/bin/remin
    @${MKDIR} ${STAGEDIR}${DATADIR}/data

do-install-DOCS-on:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR}/

.include <bsd.port.mk>