# Created by: Dmitry Marakasov # $FreeBSD$ PORTNAME= blokish PORTVERSION= 0.9.4 PORTREVISION= 9 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' LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING GNU_CONFIGURE= yes USES= gmake localbase tar:tgz USE_GL= gl USE_WX= 2.8 MAKEFILE= makefile WRKSRC= ${WRKDIR}/${PORTNAME} PLIST_FILES= bin/${PORTNAME} \ share/pixmaps/${PORTNAME}.xpm DESKTOP_ENTRIES="Blokish" \ "" \ "${PORTNAME}" \ "${PORTNAME}" \ "Game;LogicGame;" \ "" post-patch: @${REINPLACE_CMD} -e 's|wx-config|${WX_CONFIG}|' \ ${WRKSRC}/makefile.in ${WRKSRC}/configure @${REINPLACE_CMD} '/^LIBS =/s/$$/ -lGL/' ${WRKSRC}/makefile.in post-install: ${INSTALL_DATA} ${WRKSRC}/src/${PORTNAME}.xpm \ ${STAGEDIR}${PREFIX}/share/pixmaps/ .include