freebsd-ports/games/solarconquest/Makefile
Gerald Pfeifer 15945f8122 Update the default version of GCC in the Ports Collection from GCC 4.7.4
to GCC 4.8.3.

Part II, Bump PORTREVISIONs.

PR:		192025
Tested by:	antoine (-exp runs)
Approved by:	portmgr (implicit)
2014-09-10 20:50:31 +00:00

42 lines
1.2 KiB
Makefile

# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
# $FreeBSD$
PORTNAME= solarconquest
PORTVERSION= 0.2
PORTREVISION= 10
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 <bsd.port.mk>