aboutsummaryrefslogtreecommitdiff
path: root/games/gniffel/Makefile
blob: cacb766cb0378d3ed7f89bfdf81ba99dcc3ca838 (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
# New ports collection makefile for:	gniffel
# Date created:				6 October 2000
# Whom:					Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	gniffel
PORTVERSION=	0.1
CATEGORIES=	games gnome
# mastersite disappeared in February 2002
MASTER_SITES=	# http://www.informatik.fh-wiesbaden.de/~i820/downloads/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A clone of the famous Yatzi game, also known as Kniffel, for GNOME

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

post-patch:
	@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
		s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure

.include <bsd.port.mk>