freebsd-ports/games/biniax2/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

39 lines
1010 B
Makefile

# New ports collection makefile for: biniax2
# Date created: 16 Apr 2008
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# $FreeBSD$
#
PORTNAME= biniax2
PORTVERSION= 1.30
PORTREVISION= 5
CATEGORIES= games
MASTER_SITES= http://mordred.dir.bg/biniax/ \
http://mirror.amdmi3.ru/distfiles/
DISTNAME= ${PORTNAME}-${PORTVERSION}-fullsrc
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Original logic game with arcade and tactics modes
USE_SDL= sdl mixer image
NO_WRKSUBDIR= yes
post-patch:
@${RM} -f ${WRKSRC}/data/Thumbs.db
@${REINPLACE_CMD} -e 's|data/|${DATADIR}/|g' \
${WRKSRC}/desktop/gfx.c ${WRKSRC}/desktop/snd.c
do-build:
cd ${WRKSRC} && ${CC} ${CFLAGS} biniax.c hof.c desktop/cfg.c \
desktop/gfx.c desktop/snd.c desktop/inp.c desktop/sys.c \
-I. -Idesktop `${SDL_CONFIG} --cflags --libs` \
-lSDL_image -lSDL_mixer -o ${PORTNAME}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${MKDIR} ${DATADIR}
cd ${WRKSRC}/data && ${COPYTREE_SHARE} . ${DATADIR}
.include <bsd.port.mk>