aboutsummaryrefslogtreecommitdiffstats
path: root/games/gtkpool/Makefile
blob: d790f2246f54310419b3727d7cbe4e486fbb7e0c (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=   1
CATEGORIES= games
MASTER_SITES=   http://gtkpool.seul.org/

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

GNU_CONFIGURE=  yes
USE_GNOME=  gtk12
USE_REINPLACE=  yes
USE_X_PREFIX=   yes
MAKE_ARGS=  CXX="${CXX}" CXXFLAGS="${CXXFLAGS} -DHAVE_CONFIG_H -I. -I.. `gtk-config --cflags` `gtk-config --libs`"

post-patch:
    @${REINPLACE_CMD} -e 's,/usr/local/share/gtkpool,${DATADIR},' \
        ${WRKSRC}/gtkpool/application.cpp ${WRKSRC}/gtkpool/options.cpp

.include <bsd.port.mk>