mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
23ac2035b9
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>
37 lines
831 B
Makefile
37 lines
831 B
Makefile
# New ports collection makefile for: bitefusion
|
|
# Date created: 14 Jun 2006
|
|
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= bitefusion
|
|
PORTVERSION= 1.0.1
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://www.junoplay.com/files/ \
|
|
http://www.amdmi3.ru/distfiles/
|
|
|
|
MAINTAINER= amdmi3@amdmi3.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>
|