# New ports collection makefile for:	gretools
# Date created:				2004 January 15
# Whom:					Adam Weinberger <adamw@FreeBSD.org>
#
# $FreeBSD: ports/games/gretools/Makefile,v 1.12 2005/03/12 10:53:47 marcus Exp $
#

PORTNAME=	gretools
PORTVERSION=	1.2.4
PORTREVISION=	2
CATEGORIES=	games gnome
MASTER_SITES=	http://theory.cs.iitm.ernet.in/~arvindn/gretools/%SUBDIR%/
MASTER_SITE_SUBDIR=	${PORTVERSION:R}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	GNOME vocabulary builder

BROKEN=		Incomplete pkg-plist

USE_X_PREFIX=	yes
USE_GNOME=	gnomehack gnomeprefix gnometarget pygnome2
USE_PYTHON=	yes
INSTALLS_OMF=	yes
USE_REINPLACE=	yes
USE_GMAKE=	yes
GNU_CONFIGURE=	yes

post-patch:
	@${REINPLACE_CMD} -e 's|/usr/bin/python|/usr/bin/env python|g ; \
		 s|@prefix@/share/|@datadir@/|g' ${WRKSRC}/gretools.in

.include <bsd.port.mk>
