diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2009-10-04 10:16:29 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2009-10-04 10:16:29 +0000 |
commit | f2a1a5bb009e6593ed1d2716106c5afdd4a3a0d1 (patch) | |
tree | fb04189649ed19c7bc9f50a56c0100a1d548b4a7 /shells/lshell | |
parent | 116a1b24582d9fb7e675c8b7f39d9b91fef2b6f0 (diff) |
- Update to 0.9.6
PR: 139249
Submitted by: Sylvio Cesar <scjamorim@bsd.com.br> (maintianer)
Notes
Notes:
svn path=/head/; revision=242448
Diffstat (limited to 'shells/lshell')
-rw-r--r-- | shells/lshell/Makefile | 17 | ||||
-rw-r--r-- | shells/lshell/distinfo | 6 | ||||
-rw-r--r-- | shells/lshell/files/patch-setup.py | 14 | ||||
-rw-r--r-- | shells/lshell/pkg-plist | 4 |
4 files changed, 12 insertions, 29 deletions
diff --git a/shells/lshell/Makefile b/shells/lshell/Makefile index 3b0cadc7aef2..bc5160b63635 100644 --- a/shells/lshell/Makefile +++ b/shells/lshell/Makefile @@ -6,17 +6,13 @@ # PORTNAME= lshell -PORTVERSION= 0.9.5 -PORTREVISION= 1 +PORTVERSION= 0.9.6 CATEGORIES= shells MASTER_SITES= SF MAINTAINER= scjamorim@bsd.com.br COMMENT= Shell environment to limited sets of commands to user's -RUN_DEPENDS= python:${PORTSDIR}/lang/python -BUILD_DEPENDS= ${RUN_DEPENDS} - USE_PYDISTUTILS= yes USE_PYTHON= yes @@ -24,12 +20,17 @@ SHELLS= /etc/shells MAN1= lshell.1 +PORTDOCS= CHANGES COPYING README + +post-patch: + @${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|g; \ + s|share/man|${LOCALBASE}/man|g; 44d' ${WRKSRC}/setup.py post-install: .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/ - ${INSTALL_DATA} ${WRKSRC}/COPYING ${DOCSDIR}/ - ${INSTALL_DATA} ${WRKSRC}/CHANGES ${DOCSDIR}/ +.for docs in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/${docs} ${DOCSDIR} +.endfor .endif @${INSTALL_DATA} ${WRKSRC}/etc/${PORTNAME}.conf ${PREFIX}/etc/${PORTNAME}.conf.sample @if [ ! -f ${PREFIX}/etc/${PORTNAME}.conf ]; then \ diff --git a/shells/lshell/distinfo b/shells/lshell/distinfo index 94230dcce371..2c1d2d1665d5 100644 --- a/shells/lshell/distinfo +++ b/shells/lshell/distinfo @@ -1,3 +1,3 @@ -MD5 (lshell-0.9.5.tar.gz) = 89f0a93725f762f31e3b0c5ac2599df2 -SHA256 (lshell-0.9.5.tar.gz) = 9261ceb5b076cdde576c946bc0b1dc8f1c6e8a23dca7629f61479f7c6d9f59da -SIZE (lshell-0.9.5.tar.gz) = 30524 +MD5 (lshell-0.9.6.tar.gz) = 5084856f0172f180bee4dddc64c62209 +SHA256 (lshell-0.9.6.tar.gz) = f01f8868380574e3c9036079b009793a3dec627271076c49a5daed21cde1d397 +SIZE (lshell-0.9.6.tar.gz) = 31150 diff --git a/shells/lshell/files/patch-setup.py b/shells/lshell/files/patch-setup.py deleted file mode 100644 index 29a29b6f69ab..000000000000 --- a/shells/lshell/files/patch-setup.py +++ /dev/null @@ -1,14 +0,0 @@ ---- setup.py 2009-07-28 15:20:50.000000000 -0300 -+++ patch-setup.py 2009-08-05 08:41:06.000000000 -0300 -@@ -40,9 +40,8 @@ - scripts = ['bin/lshell'], - package_dir = {'':'lshellmodule'}, - packages = [''], -- data_files = [('/etc', ['etc/lshell.conf']), -- ('share/doc/lshell',['README', 'COPYING', 'CHANGES']), -- ('share/man/man1/', ['man/lshell.1']) ], -+ data_files = [('etc', ['etc/lshell.conf']), -+ ('man/man1/', ['man/lshell.1']) ], - classifiers=[ - 'Development Status :: 4 - Beta', - 'Environment :: Console' diff --git a/shells/lshell/pkg-plist b/shells/lshell/pkg-plist index 20b04008c6bf..bb202601122a 100644 --- a/shells/lshell/pkg-plist +++ b/shells/lshell/pkg-plist @@ -7,9 +7,5 @@ etc/lshell.conf.sample %%PYTHON_SITELIBDIR%%/lshell.py %%PYTHON_SITELIBDIR%%/lshell.pyc %%PYTHON_SITELIBDIR%%/lshell.pyo -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%%%DOCSDIR%%/COPYING -%%PORTDOCS%%%%DOCSDIR%%/CHANGES @dirrmtry %%DATADIR%% @dirrmtry %%LOGDIR%% -%%PORTDOCS%%@dirrm %%DOCSDIR%% |