aboutsummaryrefslogtreecommitdiffstats
path: root/security/cfs/Makefile
blob: 38d2e4f8d641e7edf3e0f952c754fdc79b99c751 (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
# New ports collection makefile for:    cfs
# Date created:     30 Jul 1997
# Whom:         John Polstra <jdp@polstra.com>
#
# $FreeBSD$
#

PORTNAME=   cfs
PORTVERSION=    1.4.1
PORTREVISION=   1
CATEGORIES= security
MASTER_SITES=   http://www.crypto.com/software/

MAINTAINER= green@FreeBSD.org
COMMENT=    A cryptographic file system implemented as a user-space NFS server

USE_REINPLACE=  yes
ALL_TARGET= cfs
MAN1=       cattach.1 cdetach.1 cmkdir.1 cpasswd.1 cfssh.1
MAN8=       ccat.8 cfsd.8 cname.8

post-patch:
    ${REINPLACE_CMD} 's/^\.TH SSH/.TH CFSSH/' ${WRKSRC}/cfssh.1

do-install:
    @cd ${WRKSRC}; \
        ${INSTALL_PROGRAM} ccat cfsd cname ${PREFIX}/sbin; \
        ${INSTALL_PROGRAM} cattach cdetach cmkdir cpasswd ${PREFIX}/bin; \
        ${INSTALL_SCRIPT} cfssh ${PREFIX}/bin/cfssh; \
        ${INSTALL_MAN} ${MAN1} ${PREFIX}/man/man1; \
        ${INSTALL_MAN} ${MAN8} ${PREFIX}/man/man8; \
        ${MKDIR} ${PREFIX}/share/doc/cfs; \
        ${INSTALL_DATA} README.install notes.ms ${PREFIX}/share/doc/cfs
    @if [ ! -f ${PREFIX}/etc/rc.d/cfsd.sh ]; then \
        ${INSTALL_SCRIPT} -m 751 ${FILESDIR}/cfsd.sh ${PREFIX}/etc/rc.d/cfsd.sh; \
    fi

.include <bsd.port.mk>