freebsd-ports/games/alienblaster/Makefile
Marcus von Appen 6506e45d69 - Update devel/sdl12 to version 1.2.14.
- Update audio/sdl_mixer to version 1.2.11.
- Update graphics/sdl_gfx to version 2.0.20.
- Update graphics/sdl_image to version 1.2.10.
- Bump portrevisions for all ports depending on audio/sdl_mixer and
  graphics/sdl_image.
- Update Mk/bsd.sdl.mk accordingly for the new shared lib versions.

PR:		ports/142147 ports/142248 ports/142249
Approved by:	miwi (mentor implicit)
2010-01-30 09:43:31 +00:00

54 lines
1.2 KiB
Makefile

# New ports collection makefile for: games/alienblaster
# Date created: 8 Aug 2005
# Whom: Alejandro Pulver <alejandro@varnet.biz>
#
# $FreeBSD$
#
PORTNAME= alienblaster
PORTVERSION= 1.1.0
PORTREVISION= 4
CATEGORIES= games
MASTER_SITES= http://www.schwardtnet.de/alienblaster/archives/
EXTRACT_SUFX= .tgz
MAINTAINER= alepulver@FreeBSD.org
COMMENT= Alien Blaster
USE_GMAKE= yes
USE_SDL= mixer sdl
REINPLACE_ARGS= -i ''
WRKSRC= ${WRKDIR}/${PORTNAME}
post-patch:
# Fix make command
@${REINPLACE_CMD} -e 's|make|${GMAKE}|g' ${WRKSRC}/${MAKEFILE}
# Fix Makefile
@${REINPLACE_CMD} -e 's|alienBlaster|${PORTNAME}|g ; \
s|g++|${CXX}|g ; \
s|-g||g ; \
s|sdl-config|${SDL_CONFIG}|g ; \
s|@echo ""||g' \
${WRKSRC}/src/Makefile
# Fix paths to ${DATADIR}
@${REINPLACE_CMD} -e 's|\./|${DATADIR}/|g' \
${WRKSRC}/src/global.h \
${WRKSRC}/src/global.cc
@${REINPLACE_CMD} -e 's|\./|${DATADIR}/|g ; \
s|=\(images\)|=${DATADIR}/\1|g' \
${WRKSRC}/cfg/level*.cfg
do-install:
# Executable
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
# Data
${MKDIR} ${DATADIR}
.for d in cfg images sound
${CP} -R ${WRKSRC}/${d} ${DATADIR}
.endfor
.include <bsd.port.mk>