2017-01-01 15:43:22 +01:00
|
|
|
# $NetBSD: Makefile,v 1.17 2017/01/01 14:43:56 wiz Exp $
|
2009-03-04 10:25:36 +01:00
|
|
|
|
2013-10-21 21:38:15 +02:00
|
|
|
DISTNAME= lshell-0.9.16
|
2009-03-04 10:25:36 +01:00
|
|
|
CATEGORIES= shells python
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=lshell/}
|
|
|
|
|
|
|
|
MAINTAINER= imil@gcu.info
|
|
|
|
HOMEPAGE= http://ghantoos.org/limited-shell-lshell/
|
|
|
|
COMMENT= Lshell restricts user's environment to specified commands
|
2010-06-01 23:12:17 +02:00
|
|
|
LICENSE= gnu-gpl-v3
|
2009-03-04 10:25:36 +01:00
|
|
|
|
2013-06-04 09:35:14 +02:00
|
|
|
DEPENDS+= ${PYPKGPREFIX}-readline>=0nb2:../../devel/py-readline
|
|
|
|
|
2009-03-04 10:25:36 +01:00
|
|
|
PKG_GROUPS= lshellg
|
|
|
|
PKG_SHELL= bin/lshell
|
|
|
|
|
2010-04-11 16:37:25 +02:00
|
|
|
USE_LANGUAGES= # none
|
2009-03-04 10:25:36 +01:00
|
|
|
|
2010-04-11 16:37:25 +02:00
|
|
|
PYDISTUTILSPKG= yes
|
2017-01-01 15:43:22 +01:00
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 34 35 36 # not yet ported as of 0.9.16
|
2009-03-04 10:25:36 +01:00
|
|
|
|
2010-04-11 16:37:25 +02:00
|
|
|
EGDIR= share/examples/lshell
|
2009-03-04 10:25:36 +01:00
|
|
|
|
2010-04-11 16:37:25 +02:00
|
|
|
SUBST_CLASSES+= setup
|
|
|
|
SUBST_STAGE.setup= post-patch
|
|
|
|
SUBST_FILES.setup= setup.py
|
|
|
|
SUBST_SED.setup= -e 's,/etc,${EGDIR},'
|
|
|
|
SUBST_SED.setup+= -e 's,share/man,${PKGMANDIR},'
|
2009-03-04 10:25:36 +01:00
|
|
|
|
2010-04-11 16:37:25 +02:00
|
|
|
INSTALLATION_DIRS+= ${EGDIR} ${EGDIR}/logrotate.d ${PKGMANDIR}/man1
|
2009-03-04 10:25:36 +01:00
|
|
|
|
2010-04-11 16:37:25 +02:00
|
|
|
CONF_FILES= ${PREFIX}/${EGDIR}/lshell.conf \
|
|
|
|
${PKG_SYSCONFDIR}/lshell.conf
|
2009-03-04 10:25:36 +01:00
|
|
|
|
|
|
|
.include "../../lang/python/application.mk"
|
|
|
|
.include "../../lang/python/extension.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|