2013-06-25 20:20:39 +02:00
|
|
|
# Created by: Jin-Sih Lin <linpct@gmail.com>
|
2012-08-14 12:09:49 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= ranger
|
2013-09-23 20:17:04 +02:00
|
|
|
PORTVERSION= 1.6.1
|
2014-02-05 16:55:17 +01:00
|
|
|
PORTREVISION= 2
|
2012-08-14 12:09:49 +02:00
|
|
|
CATEGORIES= sysutils python
|
2012-08-23 08:48:09 +02:00
|
|
|
MASTER_SITES= http://ranger.nongnu.org/
|
2012-08-14 12:09:49 +02:00
|
|
|
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:
|
2013-09-23 20:17:04 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|setuptools|distutils.core|; s|share/man/man|man/man|;s|share/doc|doc|' ${WRKSRC}/${PYSETUP}
|
2014-02-05 16:55:17 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/ranger/ext/img_display.py
|
2012-08-14 12:09:49 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|