aboutsummaryrefslogtreecommitdiffstats
path: root/shells/ibsh/Makefile
blob: 15b520f23e367f8f27b267f82af3e0d58db15132 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# 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
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>