# Created by: Yukihiro Nakai <nakai@FreeBSD.org>
# $FreeBSD: tags/RELEASE_10_1_0/games/atomix/Makefile 361338 2014-07-09 06:48:43Z marino $

PORTNAME=	atomix
PORTVERSION=	2.14.0
PORTREVISION=	13
CATEGORIES=	games gnome
MASTER_SITES=	GNOME
DIST_SUBDIR=	gnome2

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Yet another little mind game

USES=		gettext gmake pkgconfig tar:bzip2
USE_GNOME=	gnomeprefix gnomehack intlhack libgnomeui
GNU_CONFIGURE=	yes
CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib -lm

post-patch:
	@${REINPLACE_CMD} -e 's| install-data-local | |g' ${WRKSRC}/Makefile.in
	@${REINPLACE_CMD} -e '/^$$/d' ${WRKSRC}/po/POTFILES.in

.include <bsd.port.mk>
