aboutsummaryrefslogtreecommitdiffstats
path: root/games/blokish/Makefile
blob: c608cfc25aa9be73fa4ac40adbfdd8b82d78f459 (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
28
29
30
31
32
33
34
35
36
# New ports collection makefile for:    blokish
# Date created:             18 Jan 2006
# Whom:                 Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# $FreeBSD$
#

PORTNAME=   blokish
PORTVERSION=    0.9.3
PORTREVISION=   3
CATEGORIES= games
MASTER_SITES=   SF
DISTNAME=   ${PORTNAME}_src_v${PORTVERSION}
EXTRACT_SUFX=   .tgz

MAINTAINER= amdmi3@FreeBSD.org
COMMENT=    Clone of the strategy board game 'Blokus'

GNU_CONFIGURE=  yes
USE_GMAKE=  yes
USE_GL=     gl
USE_WX=     2.6

CONFIGURE_ENV=  LDFLAGS="-L${LOCALBASE}/lib" \
        CPPFLAGS="-I${LOCALBASE}/include"

MAKEFILE=   makefile

WRKSRC=     ${WRKDIR}/blokish

PLIST_FILES=    bin/blokish

post-patch:
    @${REINPLACE_CMD} -e 's|wx-config|${WX_CONFIG}|' ${WRKSRC}/makefile.in ${WRKSRC}/configure

.include <bsd.port.mk>