blob: 1364e8ee8187e021ba774eae140b8b3a6a22464a (
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
|
# ex:ts=8
# Ports collection makefile for: apinger
# Date created: Tue Jul 17, 2002
# Whom: Michael L. Hostbaek (mich@freebsdcluster.org)
#
# $FreeBSD$
#
PORTNAME= apinger
PORTVERSION= 0.6.1
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://www.bnet.pl/~jajcus/apinger/
MAINTAINER= mich@FreeBSD.org
COMMENT= An IP device monitoring tool
USE_REINPLACE= yes
GNU_CONFIGURE= yes
post-extract:
@${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX},g" ${FILESDIR}/apinger.sh
post-install:
${INSTALL_DATA} ${WRKSRC}/src/apinger.conf ${PREFIX}/etc/apinger.conf.sample
${INSTALL_SCRIPT} ${FILESDIR}/apinger.sh \
${PREFIX}/etc/rc.d/apinger.sh.sample
.if !defined(BATCH)
@${ECHO_MSG} ""
@${ECHO_MSG} "###############################################################################"
@${ECHO_MSG} "# Please edit ${PREFIX}/etc/apinger.conf to your needs. #"
@${ECHO_MSG} "# A sample shell script has been installed in ${PREFIX}/etc/rc.d/ #"
@${ECHO_MSG} "# rename it to automatically start apinger at boot. #"
@${ECHO_MSG} "###############################################################################"
.endif
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/README
${INSTALL_DATA} ${WRKSRC}/NEWS ${DOCSDIR}/NEWS
${INSTALL_DATA} ${WRKSRC}/AUTHORS ${DOCSDIR}/AUTHORS
.endif
.include <bsd.port.mk>
|