mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-13 03:03:15 +00:00
5435e51604
access files outside the home directory. It is written in C for Linux. No libraries used. It is small, fast, secure. Two ascii configuration files for more control. PR: ports/88351 Submitted by: Vaida Bogdan <vaidab@phenix.rootshell.be>
42 lines
906 B
Makefile
42 lines
906 B
Makefile
# New ports collection makefile for: ibsh
|
|
# Date created: 1 Oct 2005
|
|
# Whom: Vaida Bogdan
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= ibsh
|
|
PORTVERSION= 0.3e
|
|
CATEGORIES= shells
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= vaida.bogdan@gmail.com
|
|
COMMENT= Restricted unix shell
|
|
|
|
USE_GMAKE= yes
|
|
ALL_TARGET= ibsh
|
|
INSTALL_TARGET= ibsh_install
|
|
|
|
SUB_FILES= pkg-message
|
|
USE_REINPLACE= yes
|
|
PORTDOCS= AUTHORS BUGS CONTRIBUTORS COPYING COPYRIGHT ChangeLog \
|
|
INSTALL README TODO VERSION
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|PATH_MAX|PATH_MAXb|g' ${WRKSRC}/delbadfiles.c ${WRKSRC}/ibsh.h
|
|
@${REINPLACE_CMD} -e 's|/etc/ibsh|${PREFIX}/etc/ibsh|g' ${WRKSRC}/ibsh.h
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
|
|
.endif
|
|
@${ECHO}
|
|
@${CAT} ${PKGMESSAGE}
|
|
@${ECHO}
|
|
|
|
.include <bsd.port.post.mk>
|