aboutsummaryrefslogtreecommitdiffstats
path: root/games/gtkpool/Makefile
blob: def45c1bee67d0c26ce492c4315a88ff0000b4ba (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
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
# $FreeBSD$

PORTNAME=   gtkpool
PORTVERSION=    0.5.0
PORTREVISION=   6
CATEGORIES= games
MASTER_SITES=   ftp://ftp.seul.org/pub/gtkpool/ \
        http://www.sourcefiles.org/Games/Sports/Pool/

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

USES=       gmake perl5 pkgconfig
USE_GNOME=  gtk20
USE_PERL5=  build
USE_AUTOTOOLS=  aclocal automake autoheader autoconf
ACLOCAL_ARGS=   -I ${LOCALBASE}/share/aclocal
AUTOMAKE_ARGS=  --add-missing

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

.include <bsd.port.mk>