aboutsummaryrefslogtreecommitdiffstats
path: root/net/dhcp6/Makefile
blob: 24266c99e58808374092b8ea19794e1ce31c839b (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
# Created by: Munechika SUMIKAWA <sumikawa@FreeBSD.org>
# $FreeBSD$

PORTNAME=   dhcp6
PORTVERSION=    20080615
PORTREVISION=   2
CATEGORIES= net ipv6
MASTER_SITES=   SF/wide-dhcpv6/wide-dhcpv6/wide-dhcpv6-${PORTVERSION}
DISTNAME=   wide-dhcpv6-${PORTVERSION}

MAINTAINER= hrs@FreeBSD.org
COMMENT=    KAME DHCP6 client, server, and relay

LICENSE=    BSD
LICENSE_FILE=   ${WRKSRC}/COPYRIGHT

GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --sysconfdir=${LOCALBASE}/etc --with-localdbdir=/var/db
USE_RC_SUBR=    dhcp6c dhcp6relay dhcp6s
PORTDOCS=   README

OPTIONS_DEFINE= DOCS

MAN5=       dhcp6c.conf.5 dhcp6s.conf.5
MAN8=       dhcp6c.8 dhcp6s.8 dhcp6relay.8 dhcp6ctl.8

.include <bsd.port.options.mk>

post-install:
    cd ${WRKSRC} && ${INSTALL_DATA} \
        dhcp6c.conf.sample dhcp6s.conf.sample \
        ${PREFIX}/etc
.if ${PORT_OPTIONS:MDOCS}
    @${MKDIR} ${DOCSDIR}
    cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif

.include <bsd.port.mk>