1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/games/bitefusion/Makefile
Martin Wilke f97f2e7a92 - Update to 1.0.1
PR:             ports/105006
Submitted by:   Dmitry Marakasov <amdmi3@mail.ru> (Maintainer)
Sponsored by:   FreeBSD Bug-a-thon #2
2006-11-05 01:09:02 +00:00

36 lines
791 B
Makefile

# New ports collection makefile for: bitefusion
# Date created: 14 Jun 2006
# Whom: Dmitry Marakasov <amdmi3@mail.ru>
#
# $FreeBSD$
#
PORTNAME= bitefusion
PORTVERSION= 1.0.1
CATEGORIES= games
MASTER_SITES= http://www.junoplay.com/files/
MAINTAINER= amdmi3@mail.ru
COMMENT= A snake game with 8 levels
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_SDL= sdl
USE_GCC= 3.4+
CONFIGURE_ENV= CPPFLAGS="`${SDL_CONFIG} --cflags`" \
LDFLAGS="`${SDL_CONFIG} --libs`"
PLIST_FILES= bin/bitefusion
.include <bsd.port.pre.mk>
post-patch:
@${REINPLACE_CMD} -e 's|-linux-gnu|-portbld-freebsd|' \
${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|-lSDL||' ${WRKSRC}/Makefile.in
.if ${OSVERSION} < 500000
@${REINPLACE_CMD} -e 's|stdint.h|sys/inttypes.h|' ${WRKSRC}/image.c
.endif
.include <bsd.port.post.mk>