aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/send/Makefile
blob: 918f6c4aec565f8829750997bb061ff48bfc3ce1 (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
41
42
43
44
45
46
# Created by: Janos Mohacsi <mohacsi@niif.hu>
# $FreeBSD$

PORTNAME=   send
PORTVERSION=    0.3
PORTREVISION=   2
CATEGORIES= net-mgmt ipv6
MASTER_SITES=   LOCAL/hrs
DISTNAME=   ${PORTNAME}_${PORTVERSION}

MAINTAINER= hrs@FreeBSD.org
COMMENT=    Secure Neighbor Discovery implementation for IPv6

LICENSE=    BSD3CLAUSE
LICENSE_FILE=   ${WRKSRC}/LICENSE

LIB_DEPENDS=    libdnet.so:net/libdnet

USES=       gmake readline ssl
USE_RC_SUBR=    sendd
SUB_FILES=  pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message
PORTDOCS=   README UserGuide.pdf
MAKE_JOBS_UNSAFE=yes

OPTIONS_DEFINE= DOCS

post-extract:
    ${INSTALL_DATA} ${WRKSRC}/examples/ipext/ipext_verify.conf \
        ${WRKSRC}/examples/ipext/ca/ipext.conf \
        ${WRKSRC}/examples/
    ${INSTALL_DATA} ${WRKSRC}/docs/UserGuide.pdf \
        ${WRKSRC}/UserGuide.pdf

post-install:
    ${MKDIR} ${STAGEDIR}${PREFIX}/etc/sendd
    for F in sendd.conf params.conf ipext.conf ipext_verify.conf; do \
        ${INSTALL_DATA} ${WRKSRC}/examples/$$F \
            ${STAGEDIR}${PREFIX}/etc/sendd/$${F}-dist; \
    done

post-install-DOCS-on:
    ${MKDIR} ${STAGEDIR}${DOCSDIR}
    cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>