1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/games/briquolo/Makefile
Dmitry Marakasov 6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00

55 lines
1.1 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.7
PORTREVISION= 6
CATEGORIES= games
MASTER_SITES= http://briquolo.free.fr/download/
MAINTAINER= martymac@FreeBSD.org
COMMENT= Breakout clone with an OpenGL 3D representation
LIB_DEPENDS= png.6:${PORTSDIR}/graphics/png
LICENSE= GPLv2
USE_BZIP2= yes
USE_ICONV= yes
USE_GL= gl
USE_SDL= mixer sdl ttf
USE_GMAKE= yes
USE_GNOME= desktopfileutils
USE_XORG= x11
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
PLIST_SUB= VERSION="${PORTVERSION}"
#.if defined(WITHOUT_NLS)
#BROKEN= "Unsupported: wants to link against libintl anyway"
#CONFIGURE_ARGS+= --disable-nls
#PLIST_SUB+= NLS="@comment "
#.else
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
#.endif
post-patch:
${REINPLACE_CMD} -e 's|png_infopp_NULL|NULL|g' \
-e 's|png_set_gray_1_2_4_to_8|png_set_expand_gray_1_2_4_to_8|' \
${WRKSRC}/src/MOGL/MOGL_Image.cpp
pre-install:
${MKDIR} ${PREFIX}/share/applications
post-install:
@-update-desktop-database
.include <bsd.port.mk>