1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/games/solarconquest/Makefile
Edwin Groothuis 23ac2035b9 [MAINTAINER] update my email address in 76 ports + mirror some distfiles
I've got a brand new hosting, so change my email to the new
	one.  Also, now I can mirror some distfiles, so update
	MASTER_SITES for some ports.

PR:		ports/107038
Submitted by:	Dmitry Marakasov <amdmi3@mail.ru>
2006-12-21 20:41:33 +00:00

45 lines
1.2 KiB
Makefile

# New ports collection makefile for: solarconquest
# Date created: 06 Apr 2006
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# $FreeBSD$
#
PORTNAME= solarconquest
PORTVERSION= 0.2
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= http://games.sajthelper.com/ \
${MASTER_SITE_LOCAL} \
http://www.amdmi3.ru/distfiles/
MASTER_SITE_SUBDIR= ehaupt
DISTNAME= SolarConquest
MAINTAINER= amdmi3@amdmi3.ru
COMMENT= Space 2D action game with plenty of shooting
USE_SDL= sdl mixer image
USE_GL= yes
USE_DOS2UNIX= makefile source/MenuScreen.h source/main.cpp
MAKEFILE= makefile
MAKE_ENV= CXX="${CXX}"
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 ${PREFIX}/bin/${PORTNAME}
${MKDIR} ${DATADIR}/shapes
${INSTALL_DATA} ${WRKSRC}/shapes/* ${DATADIR}/shapes
${MKDIR} ${DATADIR}/images/fonts
${INSTALL_DATA} ${WRKSRC}/images/*.png ${DATADIR}/images
${INSTALL_DATA} ${WRKSRC}/images/fonts/* ${DATADIR}/images/fonts
.include <bsd.port.mk>