1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/games/gnomebreakout/Makefile

31 lines
863 B
Makefile

# Created by: Kris Kennaway <kris@FreeBSD.org>
# $FreeBSD$
PORTNAME= gnomebreakout
PORTVERSION= 0.5.3
PORTREVISION= 11
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
USES= pathfix
USE_GNOME= gnomeprefix libgnomeui
GNU_CONFIGURE= yes
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>