# Created by: Dmitry Marakasov # $FreeBSD: head/games/solarconquest/Makefile 374303 2014-12-08 16:48:38Z tijl $ PORTNAME= solarconquest PORTVERSION= 0.2 PORTREVISION= 11 CATEGORIES= games MASTER_SITES= http://games.sajthelper.com/ \ LOCAL/ehaupt \ http://mirror.amdmi3.ru/distfiles/ DISTNAME= SolarConquest MAINTAINER= amdmi3@FreeBSD.org COMMENT= Space 2D action game with plenty of shooting USES= dos2unix USE_SDL= sdl mixer image USE_GL= yes DOS2UNIX_FILES= makefile source/MenuScreen.h source/main.cpp MAKEFILE= makefile PLIST_FILES= bin/${PORTNAME} PORTDATA= * post-patch: @${REINPLACE_CMD} -e 's|images/|${DATADIR}/images/|' \ ${WRKSRC}/source/main.cpp @${REINPLACE_CMD} -e 's|shapes/|${DATADIR}/shapes/|' \ ${WRKSRC}/source/main.cpp @${REINPLACE_CMD} -e 's|settings.dat|.solarconquest.rc|' \ ${WRKSRC}/source/Common.h do-install: ${INSTALL_PROGRAM} ${WRKSRC}/solar ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${MKDIR} ${STAGEDIR}${DATADIR}/shapes ${INSTALL_DATA} ${WRKSRC}/shapes/* ${STAGEDIR}${DATADIR}/shapes ${MKDIR} ${STAGEDIR}${DATADIR}/images/fonts ${INSTALL_DATA} ${WRKSRC}/images/*.png ${STAGEDIR}${DATADIR}/images ${INSTALL_DATA} ${WRKSRC}/images/fonts/* ${STAGEDIR}${DATADIR}/images/fonts .include