aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/py-ranger/Makefile
blob: db116f3174ff98a40f373c5e54a3d5375094154a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Created by: Jin-Sih Lin <linpct@gmail.com>
# $FreeBSD$

PORTNAME=   ranger
PORTVERSION=    1.6.1
PORTREVISION=   2
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

post-patch:
    @${REINPLACE_CMD} -e 's|setuptools|distutils.core|; s|share/man/man|man/man|;s|share/doc|doc|' ${WRKSRC}/${PYSETUP}
    @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/ranger/ext/img_display.py

.include <bsd.port.mk>