diff options
author | wjv <wjv@FreeBSD.org> | 2002-01-17 12:21:08 +0000 |
---|---|---|
committer | wjv <wjv@FreeBSD.org> | 2002-01-17 12:21:08 +0000 |
commit | 4e83896d89dd1c7a70ae23795c0cb25b7e40b441 (patch) | |
tree | 625345f73aa4adb75832ab10fec0ae8ddf0d5a8d /sysutils/lfm | |
parent | d6828575f030739114bc3d15d367a3f821149833 (diff) | |
download | FreeBSD-ports-4e83896d89dd1c7a70ae23795c0cb25b7e40b441.zip FreeBSD-ports-4e83896d89dd1c7a70ae23795c0cb25b7e40b441.tar.gz |
- Update to version 0.7
- Make PREFIX-compliant
- Added a PKGREQ script to check for Python version >= 2.0
Diffstat (limited to 'sysutils/lfm')
-rw-r--r-- | sysutils/lfm/Makefile | 7 | ||||
-rw-r--r-- | sysutils/lfm/distinfo | 2 | ||||
-rw-r--r-- | sysutils/lfm/pkg-comment | 2 | ||||
-rw-r--r-- | sysutils/lfm/pkg-descr | 9 | ||||
-rw-r--r-- | sysutils/lfm/pkg-plist | 18 | ||||
-rw-r--r-- | sysutils/lfm/pkg-req | 17 |
6 files changed, 47 insertions, 8 deletions
diff --git a/sysutils/lfm/Makefile b/sysutils/lfm/Makefile index 6b8a50e..7ed9edd 100644 --- a/sysutils/lfm/Makefile +++ b/sysutils/lfm/Makefile @@ -7,7 +7,7 @@ # PORTNAME= lfm -PORTVERSION= 0.4 +PORTVERSION= 0.7 CATEGORIES= sysutils MASTER_SITES= http://www.terra.es/personal7/inigoserna/lfm/ @@ -19,7 +19,10 @@ SETUP_CMD= cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py do-build: @${SETUP_CMD} build +pre-install: + @${SH} ${PKGREQ} INSTALL + do-install: - @${SETUP_CMD} install + @${SETUP_CMD} install -c -O1 --prefix=${PREFIX} .include <bsd.port.mk> diff --git a/sysutils/lfm/distinfo b/sysutils/lfm/distinfo index 852a168..acf8557 100644 --- a/sysutils/lfm/distinfo +++ b/sysutils/lfm/distinfo @@ -1 +1 @@ -MD5 (lfm-0.4.tar.gz) = 2afd6f1c276b1d36c62780d15aafc8e9 +MD5 (lfm-0.7.tar.gz) = e2d3cdcfbfdaa64f8039c643faffb48e diff --git a/sysutils/lfm/pkg-comment b/sysutils/lfm/pkg-comment index 23afde5..e40800c 100644 --- a/sysutils/lfm/pkg-comment +++ b/sysutils/lfm/pkg-comment @@ -1 +1 @@ -Last File Manager +Last File Manager, a simple 'commander'-type file manager diff --git a/sysutils/lfm/pkg-descr b/sysutils/lfm/pkg-descr index 5f9a7d8..17ef697 100644 --- a/sysutils/lfm/pkg-descr +++ b/sysutils/lfm/pkg-descr @@ -1,5 +1,6 @@ -Last File Manager is (tries to be) a simple 'midnight commander'-type -application for UNIX console. -It is written in python and uses curses module. +Last File Manager - lfm - is a simple 'midnight commander'-type file manager. +It includes a simple file viewer, pyview. Lfm is a curses-based application +for the UNIX console. -WWW: http://www.terra.es/personal7/inigoserna/lfm/ +Author: Iņigo Serna <inigoserna@terra.es> +WWW: http://www.terra.es/personal7/inigoserna/lfm/ diff --git a/sysutils/lfm/pkg-plist b/sysutils/lfm/pkg-plist index 6acd756..88ed9584 100644 --- a/sysutils/lfm/pkg-plist +++ b/sysutils/lfm/pkg-plist @@ -1,10 +1,28 @@ 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 diff --git a/sysutils/lfm/pkg-req b/sysutils/lfm/pkg-req new file mode 100644 index 0000000..58b7b29 --- /dev/null +++ b/sysutils/lfm/pkg-req @@ -0,0 +1,17 @@ +#!/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"'` + 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 |