1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/games/reminiscence/Makefile
2018-05-18 00:15:13 +00:00

42 lines
887 B
Makefile

# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
# $FreeBSD$
PORTNAME= REminiscence
PORTVERSION= 0.3.7
CATEGORIES= games
MASTER_SITES= http://cyxdown.free.fr/reminiscence/ \
https://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>