aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/lfm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/lfm/Makefile')
-rw-r--r--sysutils/lfm/Makefile17
1 files changed, 13 insertions, 4 deletions
diff --git a/sysutils/lfm/Makefile b/sysutils/lfm/Makefile
index 83e64a542eb7..cc295068b1b0 100644
--- a/sysutils/lfm/Makefile
+++ b/sysutils/lfm/Makefile
@@ -7,17 +7,26 @@
#
PORTNAME= lfm
-PORTVERSION= 0.9
+PORTVERSION= 0.91
CATEGORIES= sysutils
MASTER_SITES= http://www.terra.es/personal7/inigoserna/lfm/
MAINTAINER= ports@FreeBSD.org
COMMENT= Last File Manager, a simple 'commander'-type file manager
-USE_PYTHON= yes
+USE_PYTHON= 2.0+
USE_PYDISTUTILS= yes
+USE_REINPLACE= yes
-pre-install:
- @${SH} ${PKGREQ} INSTALL
+post-patch:
+ @${REINPLACE_CMD} -e '/DOC_FILES/d' ${WRKSRC}/setup.py
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for file in ChangeLog NEWS README README.pyview TODO
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+.endfor
+.endif
.include <bsd.port.mk>