# $MidnightBSD: trunk/games/grubik/Makefile 21305 2016-03-26 22:47:56Z laffer1 $
# $FreeBSD: head/games/grubik/Makefile 383626 2015-04-09 07:44:41Z bapt $

PORTNAME=	grubik
PORTVERSION=	0.1
CATEGORIES=	games gnustep
MASTER_SITES=	http://debian.uni-essen.de/misc/GNUstep/Apps/Recreational/
DISTNAME=	GRubik

MAINTAINER=	ports@MidnightBSD.org
COMMENT=	Virtual 3D Rubiks cube for GNUstep

LICENSE=	gpl2 # or later

USES=		tar:tgz gnustep
USE_GNUSTEP=	back build

post-patch:
	${RM} -rf ${WRKSRC}/GRubik.app/ix86
	${REINPLACE_CMD} -e 's|^//|# //|' \
		-e "/GNUSTEP_INSTALLATION_DIR/d" ${WRKSRC}/GNUmakefile

post-install:
	${STRIP_CMD} ${PREFIX}/GNUstep/System/Applications/GRubik.app/GRubik

.include <bsd.port.mk>
