freebsd-ports/sysutils/py-ranger/Makefile
Steve Wills 92810818b4 - Patch ext/img_display.py with correct lib path [1]
- Convert to staging

PR:		ports/186469 [1]
Submitted by:	Jin-Sih Lin <linpct@gmail.com> (maintainer) [1]
2014-02-05 15:55:17 +00:00

21 lines
585 B
Makefile

# 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>