1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/games/blokish/Makefile
Tijl Coosemans 216b5a285f - Fix missing library problems when the linker enforces explicit linking
PR:		192062
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2014-08-26 14:06:08 +00:00

35 lines
729 B
Makefile

# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
# $FreeBSD$
PORTNAME= blokish
PORTVERSION= 0.9.4
PORTREVISION= 5
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/v${PORTVERSION}
DISTNAME= ${PORTNAME}_v${PORTVERSION}
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Clone of the strategy board game 'Blokus'
GNU_CONFIGURE= yes
USES= gmake tar:tgz
USE_GL= gl
USE_WX= 2.8
WX_UNICODE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
MAKEFILE= makefile
WRKSRC= ${WRKDIR}/blokish
PLIST_FILES= bin/blokish
post-patch:
@${REINPLACE_CMD} -e 's|wx-config|${WX_CONFIG}|' \
${WRKSRC}/makefile.in ${WRKSRC}/configure
@${REINPLACE_CMD} '/^LIBS =/s/$$/ -lGL/' ${WRKSRC}/makefile.in
.include <bsd.port.mk>