1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/net/portmon/Makefile
Kirill Ponomarev 19c0eb5f62 - Update to 2.0
2003-08-24 08:15:11 +00:00

48 lines
1.1 KiB
Makefile

# New ports collection makefile for: portmon
# Date created: 18.06.2003
# Whom: Kirill Ponomarew <ponomarew@oberon.net>
#
# $FreeBSD$
#
PORTNAME= portmon
PORTVERSION= 2.0
CATEGORIES= net
MASTER_SITES= http://www.aboleo.net/software/portmon/downloads/
MAINTAINER= krion@FreeBSD.org
COMMENT= Daemon that monitor network services
GNU_CONFIGURE= yes
USE_GETOPT_LONG= yes
USE_REINPLACE= yes
MAN8= portmon.8
post-patch:
@${REINPLACE_CMD} -e \
's|/etc|${PREFIX}/etc|g' \
${WRKSRC}/extras/${PORTNAME}.8
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
@${ECHO} "------------------------------------------------------------"
@${ECHO} "Sample of configuration file placed at"
@${ECHO} "${PREFIX}/etc/portmon.hosts.sample"
@${ECHO} "------------------------------------------------------------
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for i in README
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>