1 # Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
4 PORTNAME= solarconquest
8 MASTER_SITES= http://games.sajthelper.com/ \
10 http://mirror.amdmi3.ru/distfiles/
11 DISTNAME= SolarConquest
13 MAINTAINER= amdmi3@FreeBSD.org
14 COMMENT= Space 2D action game with plenty of shooting
17 USE_SDL= sdl mixer image
19 DOS2UNIX_FILES= makefile source/MenuScreen.h source/main.cpp
23 PLIST_FILES= bin/${PORTNAME}
27 @${REINPLACE_CMD} -e 's|images/|${DATADIR}/images/|' \
28 ${WRKSRC}/source/main.cpp
29 @${REINPLACE_CMD} -e 's|shapes/|${DATADIR}/shapes/|' \
30 ${WRKSRC}/source/main.cpp
31 @${REINPLACE_CMD} -e 's|settings.dat|.solarconquest.rc|' \
32 ${WRKSRC}/source/Common.h
35 ${INSTALL_PROGRAM} ${WRKSRC}/solar ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
36 ${MKDIR} ${STAGEDIR}${DATADIR}/shapes
37 ${INSTALL_DATA} ${WRKSRC}/shapes/* ${STAGEDIR}${DATADIR}/shapes
38 ${MKDIR} ${STAGEDIR}${DATADIR}/images/fonts
39 ${INSTALL_DATA} ${WRKSRC}/images/*.png ${STAGEDIR}${DATADIR}/images
40 ${INSTALL_DATA} ${WRKSRC}/images/fonts/* ${STAGEDIR}${DATADIR}/images/fonts
42 .include <bsd.port.mk>