summaryrefslogtreecommitdiff
path: root/games/gtkpool/Makefile
blob: c2bce5f177a505b8679c88eb4f8f870cb59e2e09 (plain)
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
# New ports collection makefile for:	GTKPool
# Date created:				31 Jul 2005
# Whom:					Alexey Dokuchaev <danfe@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	gtkpool
PORTVERSION=	0.5.0
PORTREVISION=	1
CATEGORIES=	games
MASTER_SITES=	http://gtkpool.seul.org/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A 2D pool game using the GTK+ toolkit

GNU_CONFIGURE=	yes
USE_GNOME=	gtk12
USE_X_PREFIX=	yes

post-patch:
	@${REINPLACE_CMD} -e 's,-O2 -O0 -Wall `gtk-config --cflags` -lgtk -lgdk -lglib -lm -lX11,${CXXFLAGS} `gtk-config --cflags` `gtk-config --libs`,' ${WRKSRC}/configure
	@${REINPLACE_CMD} -e 's,/usr/local/share/gtkpool,${DATADIR},' \
		${WRKSRC}/gtkpool/application.cpp ${WRKSRC}/gtkpool/options.cpp

.include <bsd.port.mk>