# New ports collection makefile for:	py-ranger
# Date created:		14 July 2012
# Whom:			Jin-Sih Lin <linpct@gmail.com>
#
# $FreeBSD: branches/RELEASE_8_4_0/sysutils/py-ranger/Makefile 302980 2012-08-23 06:48:09Z culot $
#

PORTNAME=	ranger
PORTVERSION=	1.5.5
CATEGORIES=	sysutils python
MASTER_SITES=	http://ranger.nongnu.org/
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	linpct@gmail.com
COMMENT=	Ranger is a file manager with VI key bindings

USE_PYTHON=	yes
USE_PYDISTUTILS=	yes

MAN1=		ranger.1

post-patch:
	@${REINPLACE_CMD} -e 's|setuptools|distutils.core|; s|share/man/man|man/man|' ${WRKSRC}/${PYSETUP}

.include <bsd.port.mk>
