diff options
Diffstat (limited to 'shells/lshell/Makefile')
-rw-r--r-- | shells/lshell/Makefile | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/shells/lshell/Makefile b/shells/lshell/Makefile new file mode 100644 index 00000000000..dcd7ec6a88b --- /dev/null +++ b/shells/lshell/Makefile @@ -0,0 +1,37 @@ +# $NetBSD: Makefile,v 1.1.1.1 2009/03/04 09:25:36 imil Exp $ +# + +DISTNAME= lshell-0.2.6 +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 + +PKG_GROUPS= lshellg +PKG_SHELL= bin/lshell + +PKG_DESTDIR_SUPPORT= user-destdir + +USE_LANGUAGES= # none + +PYDISTUTILSPKG= yes + +EGDIR= share/examples/lshell + +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},' + +INSTALLATION_DIRS+= ${EGDIR} ${PKGMANDIR}/man1 + +CONF_FILES= ${PREFIX}/${EGDIR}/lshell.conf \ + ${PKG_SYSCONFDIR}/lshell.conf + +.include "../../lang/python/application.mk" +.include "../../lang/python/extension.mk" +.include "../../devel/py-readline/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" |