Tweak games/rottdc version 1.0.2_7
[dports.git] / games / monkeybubble / Makefile
1 # Created by: Adam Weinberger
2 # $FreeBSD$
3
4 PORTNAME=       monkeybubble
5 PORTVERSION=    0.4.0
6 PORTREVISION=   6
7 CATEGORIES=     games gnome
8 MASTER_SITES=   http://home.gna.org/monkeybubble/downloads/
9 DISTNAME=       monkey-bubble-${PORTVERSION}
10
11 MAINTAINER=     ports@FreeBSD.org
12 COMMENT=        GTK2 Puzzle Bobble clone with monkeys
13
14 LICENSE=        GPLv2
15
16 USES=           gmake libtool pathfix pkgconfig
17 USE_GNOME=      gnomedocutils gnomeprefix intlhack \
18                 librsvg2 libgnomeui
19 USE_GSTREAMER=  yes
20 GNU_CONFIGURE=  yes
21 CPPFLAGS+=      -I${LOCALBASE}/include
22 LIBS+=          -L${LOCALBASE}/lib -lm
23 INSTALLS_OMF=   yes
24
25 GCONF_SCHEMAS=  monkey-bubble.schemas
26
27 post-patch:
28         @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
29                 's|-g -O2||g ; \
30                  s|-Werror||g'
31         @${REINPLACE_CMD} -e 's|glib/.*\.h>|glib.h>|g' \
32                 ${WRKSRC}/src/net/message-handler.c \
33                 ${WRKSRC}/src/net/simple-server.c \
34                 ${WRKSRC}/src/ui/main.c
35
36 .include <bsd.port.mk>