1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-09 06:51:44 +00:00
freebsd-ports/sysutils/py-ranger/Makefile
2017-04-21 16:23:17 +00:00

27 lines
692 B
Makefile

# Created by: Jin-Sih Lin <linpct@gmail.com>
# $FreeBSD$
PORTNAME= ranger
PORTVERSION= 1.8.1
PORTREVISION= 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/*.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>