aboutsummaryrefslogtreecommitdiffstats
path: root/net/apinger/Makefile
blob: 2ccd890be955b615d9206f49517bb20c1479674b (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
# Created by: Michael L. Hostbaek (mich@freebsdcluster.org)
# $FreeBSD$

PORTNAME=   apinger
PORTVERSION=    0.6.1
PORTREVISION=   2
CATEGORIES= net ipv6
MASTER_SITES=   http://freebsdcluster.org/~mich/software/ \
        http://www.bnet.pl/~jajcus/apinger/

MAINTAINER= mich@FreeBSD.org
COMMENT=    An IP device monitoring tool

GNU_CONFIGURE=  yes
USE_RC_SUBR=    apinger
SUB_FILES=  pkg-message

OPTIONS_DEFINE= IPV6

.include <bsd.port.options.mk>

.if !${PORT_OPTIONS:MIPV6}
CONFIGURE_ARGS+=    --disable-ipv6
.endif

post-install:
    ${INSTALL_DATA} ${WRKSRC}/src/apinger.conf ${STAGEDIR}${PREFIX}/etc/apinger.conf.sample
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/README
    ${INSTALL_DATA} ${WRKSRC}/NEWS ${STAGEDIR}${DOCSDIR}/NEWS
    ${INSTALL_DATA} ${WRKSRC}/AUTHORS ${STAGEDIR}${DOCSDIR}/AUTHORS

.include <bsd.port.mk>