aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/ipv6mon/Makefile
blob: 70db43487f71defcc22fc0be8c470636b7f8fb28 (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
# $FreeBSD$

PORTNAME=   ipv6mon
PORTVERSION=    1.0
PORTREVISION=   3
CATEGORIES= net-mgmt ipv6
MASTER_SITES=   http://www.si6networks.com/tools/ipv6mon/
DISTNAME=   ${PORTNAME}-v${PORTVERSION}

MAINTAINER= hrs@FreeBSD.org
COMMENT=    Tool for monitoring IPv6 address usage

LICENSE=    GPLv3

USES=       uidfix
CFLAGS+=    -DIPV6MON_CONF=\\\"${PREFIX}/etc/ipv6mon.conf\\\"
USERS=      ${PORTNAME}
GROUPS=     ${PORTNAME}
USE_RC_SUBR=    ${PORTNAME}

PORTDOCS=   README.TXT \
        ipv6mon-installation-notes.odt \
        ipv6mon-installation-notes.pdf \
        ipv6mon-manual.odt \
        ipv6mon-manual.pdf

OPTIONS_DEFINE= DOCS

post-extract:
    ${INSTALL_DATA} ${FILESDIR}/Makefile ${WRKSRC}
    ${INSTALL_DATA} ${WRKSRC}/manuals/* ${WRKSRC}

post-install:
    ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/etc/rc.d
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    cd ${WRKSRC} && \
        ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>