diff options
Diffstat (limited to 'sysutils/lfm')
-rw-r--r-- | sysutils/lfm/Makefile | 17 | ||||
-rw-r--r-- | sysutils/lfm/distinfo | 4 | ||||
-rw-r--r-- | sysutils/lfm/pkg-plist | 60 | ||||
-rw-r--r-- | sysutils/lfm/pkg-req | 17 |
4 files changed, 49 insertions, 49 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> diff --git a/sysutils/lfm/distinfo b/sysutils/lfm/distinfo index 8c62dbd724f0..486848e6e689 100644 --- a/sysutils/lfm/distinfo +++ b/sysutils/lfm/distinfo @@ -1,2 +1,2 @@ -MD5 (lfm-0.9.tar.gz) = f7c1c6badacf2409242d9657aba4ff5c -SIZE (lfm-0.9.tar.gz) = 63066 +MD5 (lfm-0.91.tar.gz) = d2221a76dfe803739c2d255efe6fe46a +SIZE (lfm-0.91.tar.gz) = 68409 diff --git a/sysutils/lfm/pkg-plist b/sysutils/lfm/pkg-plist index 88ed95849504..fbebfb2eb796 100644 --- a/sysutils/lfm/pkg-plist +++ b/sysutils/lfm/pkg-plist @@ -1,28 +1,36 @@ bin/lfm bin/pyview -lib/%%PYTHON_VERSION%%/site-packages/lfm/__init__.py -lib/%%PYTHON_VERSION%%/site-packages/lfm/__init__.pyc -lib/%%PYTHON_VERSION%%/site-packages/lfm/__init__.pyo -lib/%%PYTHON_VERSION%%/site-packages/lfm/files.py -lib/%%PYTHON_VERSION%%/site-packages/lfm/files.pyc -lib/%%PYTHON_VERSION%%/site-packages/lfm/files.pyo -lib/%%PYTHON_VERSION%%/site-packages/lfm/lfm.py -lib/%%PYTHON_VERSION%%/site-packages/lfm/lfm.pyc -lib/%%PYTHON_VERSION%%/site-packages/lfm/lfm.pyo -lib/%%PYTHON_VERSION%%/site-packages/lfm/messages.py -lib/%%PYTHON_VERSION%%/site-packages/lfm/messages.pyc -lib/%%PYTHON_VERSION%%/site-packages/lfm/messages.pyo -lib/%%PYTHON_VERSION%%/site-packages/lfm/preferences.py -lib/%%PYTHON_VERSION%%/site-packages/lfm/preferences.pyc -lib/%%PYTHON_VERSION%%/site-packages/lfm/preferences.pyo -lib/%%PYTHON_VERSION%%/site-packages/lfm/pyview.py -lib/%%PYTHON_VERSION%%/site-packages/lfm/pyview.pyc -lib/%%PYTHON_VERSION%%/site-packages/lfm/pyview.pyo -share/doc/lfm/COPYING -share/doc/lfm/ChangeLog -share/doc/lfm/NEWS -share/doc/lfm/README -share/doc/lfm/README.pyview -share/doc/lfm/TODO -@dirrm share/doc/lfm -@dirrm lib/%%PYTHON_VERSION%%/site-packages/lfm +%%PYTHON_SITELIBDIR%%/lfm/__init__.py +%%PYTHON_SITELIBDIR%%/lfm/__init__.pyc +%%PYTHON_SITELIBDIR%%/lfm/__init__.pyo +%%PYTHON_SITELIBDIR%%/lfm/actions.py +%%PYTHON_SITELIBDIR%%/lfm/actions.pyc +%%PYTHON_SITELIBDIR%%/lfm/actions.pyo +%%PYTHON_SITELIBDIR%%/lfm/files.py +%%PYTHON_SITELIBDIR%%/lfm/files.pyc +%%PYTHON_SITELIBDIR%%/lfm/files.pyo +%%PYTHON_SITELIBDIR%%/lfm/lfm.py +%%PYTHON_SITELIBDIR%%/lfm/lfm.pyc +%%PYTHON_SITELIBDIR%%/lfm/lfm.pyo +%%PYTHON_SITELIBDIR%%/lfm/messages.py +%%PYTHON_SITELIBDIR%%/lfm/messages.pyc +%%PYTHON_SITELIBDIR%%/lfm/messages.pyo +%%PYTHON_SITELIBDIR%%/lfm/preferences.py +%%PYTHON_SITELIBDIR%%/lfm/preferences.pyc +%%PYTHON_SITELIBDIR%%/lfm/preferences.pyo +%%PYTHON_SITELIBDIR%%/lfm/pyview.py +%%PYTHON_SITELIBDIR%%/lfm/pyview.pyc +%%PYTHON_SITELIBDIR%%/lfm/pyview.pyo +%%PYTHON_SITELIBDIR%%/lfm/utils.py +%%PYTHON_SITELIBDIR%%/lfm/utils.pyc +%%PYTHON_SITELIBDIR%%/lfm/utils.pyo +%%PYTHON_SITELIBDIR%%/lfm/vfs.py +%%PYTHON_SITELIBDIR%%/lfm/vfs.pyc +%%PYTHON_SITELIBDIR%%/lfm/vfs.pyo +%%PORTDOCS%%%%DOCSDIR%%/ChangeLog +%%PORTDOCS%%%%DOCSDIR%%/NEWS +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/README.pyview +%%PORTDOCS%%%%DOCSDIR%%/TODO +%%PORTDOCS%%@dirrm %%DOCSDIR%% +@dirrm %%PYTHON_SITELIBDIR%%/lfm diff --git a/sysutils/lfm/pkg-req b/sysutils/lfm/pkg-req deleted file mode 100644 index 0f9ac0ea4d0e..000000000000 --- a/sysutils/lfm/pkg-req +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh - -PATH=$PATH:/usr/local/bin - -if [ "x$1" = "xINSTALL" -o "x$2" = "xINSTALL" ]; then - PYTHON_GT=`python -c 'import string, sys; \ - print string.split(sys.version)[0] >= "2.0" and 1'` - if [ "x${PYTHON_GT}" = "x1" ]; then - exit 0 - else - echo "-----------------------------------------------------------" - echo "lfm requires Python version 2.0 or greater -" - echo " please update your Python installation before proceeding." - echo "-----------------------------------------------------------" - exit 1 - fi -fi |