# Created by: Dmitry Marakasov # $FreeBSD: head/games/reminiscence/Makefile 522482 2020-01-09 12:35:46Z amdmi3 $ PORTNAME= REminiscence PORTVERSION= 0.4.6 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= compiler:c++11-lang gmake pkgconfig sdl 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