freebsd-ports/games/briquolo/Makefile
Stanislav Sedov 0d2725682b - Update devel/sdl12 to version 1.2.11. Now we employ stock SDL directory
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)
2006-09-20 11:21:59 +00:00

55 lines
1.2 KiB
Makefile

# New ports collection makefile for: briquolo
# Date created: 18 Nov 2003
# Whom: Kirill Ponomarew <krion@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= briquolo
PORTVERSION= 0.5.4
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= http://briquolo.free.fr/download/
MAINTAINER= ports@FreeBSD.org
COMMENT= Breakout clone with an OpenGL 3D representation
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
USE_BZIP2= yes
USE_ICONV= yes
USE_SDL= mixer sdl ttf
USE_GCC= 3.4
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
PLIST_SUB= VERSION="${PORTVERSION}"
CPPFLAGS= -I${LOCALBASE}/include
LDFLAGS= -L${LOCALBASE}/lib
#.if defined(WITHOUT_NLS)
#CONFIGURE_ARGS+= --disable-nls
#PLIST_SUB+= NLS="@comment "
#.else
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
#.endif
post-patch:
@${REINPLACE_CMD} -e 's|-O3||g' ${WRKSRC}/configure
@${GREP} -lR "SDL/SDL" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
's|SDL/SDL|SDL|g'
pre-install:
${MKDIR} ${PREFIX}/share/applications
.include <bsd.port.pre.mk>
.if (${OSVERSION} < 500000)
BROKEN= requires a newer libc (with wide character functions)
.endif
.include <bsd.port.post.mk>