Files
ports/sysutils/py-ranger/Makefile
Dmitry Marakasov b4f127b156 - Update to 1.7.1
- Switch to autoplist
- Add NO_ARCH, LICENSE and fix shebangs

PR:		201034
Submitted by:	linpct@gmail.com (maintainer)
2015-08-13 11:02:49 +00:00

26 lines
704 B
Makefile

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