1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00
freebsd-ports/games/blokish/Makefile
2017-05-23 05:03:14 +00:00

46 lines
951 B
Makefile

# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
# $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 <bsd.port.mk>