# New ports collection makefile for:	metromap
# Date created:		2005-07-01
# Whom:			Vsevolod Stakhov <vsevolod@highsecure.ru>
#
# $FreeBSD$
#

PORTNAME=	metromap
PORTVERSION=	0.1.1
CATEGORIES=	misc
MASTER_SITES=	http://metromap.antex.ru/ \
		http://www.amdmi3.ru/distfiles/

MAINTAINER=	amdmi3@amdmi3.ru
COMMENT=	A simple application for finding paths in different subways maps

USE_PYTHON=	yes
USE_GNOME=	pygtk2
USE_BZIP2=	yes
NO_BUILD=	yes

post-patch:
	@${REINPLACE_CMD} -e 's,/usr,${PREFIX},' ${WRKSRC}/Makefile
	@${REINPLACE_CMD} -e 's,/usr/bin/python,${SETENV} python,' ${WRKSRC}/metromap.py

.include <bsd.port.mk>