2003-06-20 13:34:36 +02:00
|
|
|
# New ports collection makefile for: portmon
|
|
|
|
# Date created: 18.06.2003
|
|
|
|
# Whom: Kirill Ponomarew <ponomarew@oberon.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= portmon
|
2003-08-24 10:15:11 +02:00
|
|
|
PORTVERSION= 2.0
|
2004-02-23 05:42:13 +01:00
|
|
|
CATEGORIES= net-mgmt
|
2005-10-11 14:53:44 +02:00
|
|
|
MASTER_SITES= http://voodoo.bawue.com/download/ \
|
2005-02-14 19:55:36 +01:00
|
|
|
http://www.aboleo.net/software/portmon/downloads/
|
2003-06-20 13:34:36 +02:00
|
|
|
|
2005-04-21 19:44:08 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-06-20 13:34:36 +02:00
|
|
|
COMMENT= Daemon that monitor network services
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
|
|
|
MAN8= portmon.8
|
|
|
|
|
2004-03-20 19:36:08 +01:00
|
|
|
PORTDOCS= README
|
|
|
|
PLIST_FILES= bin/portmon etc/portmon.hosts.sample
|
|
|
|
|
2003-06-24 16:13:47 +02:00
|
|
|
post-patch:
|
2004-03-20 19:36:08 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|g' \
|
2003-06-24 16:13:47 +02:00
|
|
|
${WRKSRC}/extras/${PORTNAME}.8
|
|
|
|
|
2003-06-20 13:34:36 +02:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} \
|
|
|
|
${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/extras/portmon.8 \
|
|
|
|
${PREFIX}/man/man8
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/extras/portmon.hosts.sample \
|
|
|
|
${PREFIX}/etc
|
2003-06-24 16:13:47 +02:00
|
|
|
@${ECHO} "------------------------------------------------------------"
|
|
|
|
@${ECHO} "Sample of configuration file placed at"
|
|
|
|
@${ECHO} "${PREFIX}/etc/portmon.hosts.sample"
|
|
|
|
@${ECHO} "------------------------------------------------------------
|
2003-06-20 13:34:36 +02:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
.for i in README
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|