1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00
freebsd-ports/sysutils/py-ranger/Makefile
Kirill Ponomarev 90e8e2b8ce Update sysutils/py-ranger 1.8.1
PR:		217245
Submitted by:	maintainer
Approved by:	mat (mentor)
Differential Revision:	https://reviews.freebsd.org/D9684
2017-02-21 14:35:32 +00:00

26 lines
704 B
Makefile

# Created by: Jin-Sih Lin <linpct@gmail.com>
# $FreeBSD$
PORTNAME= ranger
PORTVERSION= 1.8.1
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
LICENSE= GPLv3
USES= python shebangfix
SHEBANG_FILES= doc/tools/convert_papermode_to_metadata.py
python_OLD_CMD= /bin/python
USE_PYTHON= autoplist distutils
NO_ARCH= 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>