aboutsummaryrefslogtreecommitdiff
path: root/games/gnomebreakout/Makefile
blob: d7d117305a10434f3569f545493fe543d6b15d90 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# New ports collection makefile for:	gnomebreakout
# Date created:				01 Sep 2000
# Whom:					Kris Kennaway <kris@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	gnomebreakout
PORTVERSION=	0.5.3
PORTREVISION=	2
CATEGORIES=	games gnome
MASTER_SITES=	http://www.users.on.net/~mipearson/
DISTNAME=	gnome-breakout-${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	GNOME version of the classic breakout game

USE_X_PREFIX=	yes
USE_GNOME=	gnomehack gnomeprefix libgnomeui
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib"

post-patch:
	@${REINPLACE_CMD} -e \
		's|games.games|root:games|g' ${WRKSRC}/Makefile.in
	@${REINPLACE_CMD} -e \
		's|-Werror||g' ${WRKSRC}/src/Makefile.in
	@${REINPLACE_CMD} -e \
		's|@GETTEXT_PACKAGE@|@PACKAGE@|g' ${WRKSRC}/po/Makefile.in.in
	@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
		's|-DGNOME_DISABLE_DEPRECATED||g ; s|-DGTK_DISABLE_DEPRECATED||g'

.include <bsd.port.mk>