aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/ipacctd/Makefile
blob: 679bdb13c24f0ed81eb174623d5b4e3ede29e888 (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
# New ports collection makefile for:    ipacctd
# Date created:     22 Aug 2003
# Whom:         Sergey Skvortsov <skv@protey.ru>
#
# $FreeBSD$
#

PORTNAME=   ipacctd
PORTVERSION=    1.46
CATEGORIES= net-mgmt
MASTER_SITES=   ftp://ftp.wuppy.net.ru/pub/FreeBSD/local/ipacctd/ \
        ${MASTER_SITE_LOCAL:S!$!skv/!}

MAINTAINER= skv@FreeBSD.org
COMMENT=    IP accounting using divert socket

STARTUP_SCRIPT= ipacctd.sh.sample
PLIST_SUB=  STARTUP_SCRIPT=${STARTUP_SCRIPT}

WRKSRC=     ${WRKDIR}/${PORTNAME}
MAKE_ENV+=  BINDIR="${PREFIX}/sbin"

MAN8=       ipacctd.8
MANLANG=    "" ru.KOI8-R
MANCOMPRESSED=  yes

post-install:
.ifndef(NOPORTDOCS)
    @${ECHO_MSG} "===>   Installing documentation for ${PKGNAME}"
    @${MKDIR} ${DOCSDIR}/ru
    @${INSTALL_DATA} ${WRKSRC}/README.ipacctd ${DOCSDIR}/ru
.endif
    ${INSTALL_SCRIPT} ${FILESDIR}/${STARTUP_SCRIPT} \
            ${PREFIX}/etc/rc.d/${STARTUP_SCRIPT}

.include <bsd.port.mk>