freebsd-ports/games/solarconquest/Makefile
Stanislav Sedov 0d2725682b - Update devel/sdl12 to version 1.2.11. Now we employ stock SDL directory
structure (i.e. include/SDL for includes and sdl-config for configuration
   binary)
 - Update graphics/sdl_ttf to version 2.0.8
 - Update graphics/sdl_image to version 1.2.5
 - Update audio/sdl_mixer to version 1.2.7
 - Update net/sdl_net to version 1.2.6
 - Update Mk/bsd.sdl.mk accordingly
 - Fix dependent ports to fit the new directory structure and avoid several
   API breakages
 - Bump up portrevisions for all dependent ports to allow them to be upgraded
   by portupgrade/portmaster etc tools

Approved by:    kris (portmgr), sem (mentor)
2006-09-20 11:21:59 +00:00

43 lines
1.1 KiB
Makefile

# New ports collection makefile for: solarconquest
# Date created: 06 Apr 2006
# Whom: Dmitry Marakasov <amdmi3@mail.ru>
#
# $FreeBSD$
#
PORTNAME= solarconquest
PORTVERSION= 0.2
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= http://games.sajthelper.com/ \
${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= ehaupt
DISTNAME= SolarConquest
MAINTAINER= amdmi3@mail.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>