aboutsummaryrefslogtreecommitdiffstats
path: root/games/gtkpool/Makefile
blob: 45dee3098b8b32cc31eccb746e747b58fd7d0965 (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
# 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
USE_PERL5=  yes
MAKE_JOBS_UNSAFE=   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>