aboutsummaryrefslogtreecommitdiff
path: root/games/monster-masher/Makefile
blob: 1259bf49e6941ffaa28980a221a0a4ab0cc1b557 (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
# Created by: Koop Mast <einekoai@chello.nl>
# $FreeBSD$

PORTNAME=	monster
PORTVERSION=	1.8.1
PORTREVISION=	5
CATEGORIES=	games gnome
MASTER_SITES=	http://people.iola.dk/olau/monster-masher/source/
PKGNAMESUFFIX=	-masher
DISTNAME=	${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION}

MAINTAINER=	kwm@FreeBSD.org
COMMENT=	Gnomemm puzzle game where you have to clean the caves of monsters

LIB_DEPENDS=	libgnomecanvasmm-2.6.so:graphics/libgnomecanvasmm26 \
		libgconfmm-2.6.so:devel/gconfmm26 \
		libglademm-2.4.so:devel/libglademm24

USES=		compiler:c++11-lang pathfix gettext gmake pkgconfig tar:bzip2
USE_CXXSTD=	c++11
USE_GNOME=	gnomeprefix intlhack libgnome esound
GNU_CONFIGURE=	yes
CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib -lesd

GCONF_SCHEMAS=	monster-masher.schemas

post-patch:
	@${REINPLACE_CMD} -e 's|glib/.*\.h>|glib.h>|g' \
		${WRKSRC}/src/pixbuf-drawing.hpp

.include <bsd.port.mk>