aboutsummaryrefslogtreecommitdiffstats
path: root/games/gtkpool/Makefile
blob: 11d314752a63edb978660e3fbb82f416bcae0755 (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
# 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=   4
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

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>