Thu Jan 23 17:34:26 2014 UTC ()
Remove REPLACE_* section for non-existing file.
Mark as not for python-3.x.


(wiz)
diff -r1.12 -r1.13 pkgsrc/shells/lshell/Makefile

cvs diff -r1.12 -r1.13 pkgsrc/shells/lshell/Makefile (expand / switch to unified diff)

--- pkgsrc/shells/lshell/Makefile 2013/10/21 19:38:15 1.12
+++ pkgsrc/shells/lshell/Makefile 2014/01/23 17:34:26 1.13
@@ -1,40 +1,36 @@ @@ -1,40 +1,36 @@
1# $NetBSD: Makefile,v 1.12 2013/10/21 19:38:15 gls Exp $ 1# $NetBSD: Makefile,v 1.13 2014/01/23 17:34:26 wiz Exp $
2 2
3DISTNAME= lshell-0.9.16 3DISTNAME= lshell-0.9.16
4CATEGORIES= shells python 4CATEGORIES= shells python
5MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=lshell/} 5MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=lshell/}
6 6
7MAINTAINER= imil@gcu.info 7MAINTAINER= imil@gcu.info
8HOMEPAGE= http://ghantoos.org/limited-shell-lshell/ 8HOMEPAGE= http://ghantoos.org/limited-shell-lshell/
9COMMENT= Lshell restricts user's environment to specified commands 9COMMENT= Lshell restricts user's environment to specified commands
10LICENSE= gnu-gpl-v3 10LICENSE= gnu-gpl-v3
11 11
12DEPENDS+= ${PYPKGPREFIX}-readline>=0nb2:../../devel/py-readline 12DEPENDS+= ${PYPKGPREFIX}-readline>=0nb2:../../devel/py-readline
13 13
14PKG_GROUPS= lshellg 14PKG_GROUPS= lshellg
15PKG_SHELL= bin/lshell 15PKG_SHELL= bin/lshell
16 16
17USE_LANGUAGES= # none 17USE_LANGUAGES= # none
18 18
19PYDISTUTILSPKG= yes 19PYDISTUTILSPKG= yes
 20PYTHON_VERSIONS_INCOMPATIBLE= 33 # not yet ported as of 0.9.16
20 21
21EGDIR= share/examples/lshell 22EGDIR= share/examples/lshell
22 23
23REPLACE_INTERPRETER+= python 
24REPLACE.python.old= /usr/bin/env python 
25REPLACE.python.new= ${PYTHONBIN} 
26REPLACE_FILES.python= lshellmodule/lshell.py 
27 
28SUBST_CLASSES+= setup 24SUBST_CLASSES+= setup
29SUBST_STAGE.setup= post-patch 25SUBST_STAGE.setup= post-patch
30SUBST_FILES.setup= setup.py 26SUBST_FILES.setup= setup.py
31SUBST_SED.setup= -e 's,/etc,${EGDIR},' 27SUBST_SED.setup= -e 's,/etc,${EGDIR},'
32SUBST_SED.setup+= -e 's,share/man,${PKGMANDIR},' 28SUBST_SED.setup+= -e 's,share/man,${PKGMANDIR},'
33 29
34INSTALLATION_DIRS+= ${EGDIR} ${EGDIR}/logrotate.d ${PKGMANDIR}/man1 30INSTALLATION_DIRS+= ${EGDIR} ${EGDIR}/logrotate.d ${PKGMANDIR}/man1
35 31
36CONF_FILES= ${PREFIX}/${EGDIR}/lshell.conf \ 32CONF_FILES= ${PREFIX}/${EGDIR}/lshell.conf \
37 ${PKG_SYSCONFDIR}/lshell.conf 33 ${PKG_SYSCONFDIR}/lshell.conf
38 34
39.include "../../lang/python/application.mk" 35.include "../../lang/python/application.mk"
40.include "../../lang/python/extension.mk" 36.include "../../lang/python/extension.mk"