aboutsummaryrefslogtreecommitdiffstats
path: root/net/pipsecd/Makefile
blob: 27a45fac0a64db144ec4cbdc902a96c735b3eeb7 (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:    pipsecd
# Date created:         16 Aug 1999
# Whom:             Patrick Bihan-Faou <patrick@mindstep.com>
#
# $FreeBSD$
#

PORTNAME=   pipsecd
PORTVERSION=    19991014
PORTREVISION=   1
CATEGORIES= net security
MASTER_SITES=   http://www.enst.fr/~beyssac/pipsec/ \
        http://www.mindstep.com/pipsec/
DISTNAME=   pipsec-19991014

MAINTAINER= cy@FreeBSD.org

USE_OPENSSL=    YES

ALL_TARGET= pipsecd

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/pipsecd ${PREFIX}/sbin
    ${INSTALL_DATA} ${WRKSRC}/pipsecd.sh ${PREFIX}/etc/rc.d
    ${CHMOD} 755 ${PREFIX}/etc/rc.d/pipsecd.sh;
    ${MKDIR} ${PREFIX}/etc/ipsec
    ${INSTALL_DATA} ${WRKSRC}/pipsecd.conf.sample ${PREFIX}/etc/ipsec
.if !defined(NOPORTDOCS)
    ${MKDIR} ${PREFIX}/share/doc/pipsecd
    ${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/pipsecd
    ${INSTALL_MAN} ${WRKSRC}/COPYRIGHT ${PREFIX}/share/doc/pipsecd
    ${INSTALL_MAN} ${WRKSRC}/README.port ${PREFIX}/share/doc/pipsecd
.endif

post-install:
    strip ${PREFIX}/sbin/pipsecd

.include <bsd.port.mk>