mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
0d2725682b
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)
37 lines
807 B
Makefile
37 lines
807 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.0
|
|
PORTREVISION= 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>
|