1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/games/alienblaster/Makefile
Marcus von Appen fbd0197639 - Update devel/sdl12 to 1.2.15
- Update audio/sdl_mixer to 1.2.15
- Update graphics/sdl_image to 1.2.12
- Update graphics/sdl_ttf to 2.0.11
- Update graphics/sdl_gfx to 2.0.23
- Update net/sdl_net to 1.2.8
- Bump PORTREVISIONs on ports that depend on one or more packages due to
ABI and shared library version changes
- Update Mk/bsd.sdl.mk accordingly for the new shared library versions

Tested by:	exp-run by pav
2012-02-18 10:18:33 +00:00

57 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= 5
CATEGORIES= games
MASTER_SITES= http://www.schwardtnet.de/alienblaster/archives/
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Alien Blaster
LICENSE= GPLv2
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>