mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
38 lines
960 B
Makefile
38 lines
960 B
Makefile
# Created by: Kirill Ponomarew <ponomarew@oberon.net>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= portmon
|
|
PORTVERSION= 2.0
|
|
CATEGORIES= net-mgmt
|
|
MASTER_SITES= http://voodoo.bawue.com/download/ \
|
|
http://www.aboleo.net/software/portmon/downloads/ \
|
|
http://www.bayofrum.net/dist/${PORTNAME}/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Daemon that monitor network services
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
PORTDOCS= README
|
|
PLIST_FILES= bin/portmon etc/portmon.hosts.sample man/man8/portmon.8.gz
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|g' \
|
|
${WRKSRC}/extras/${PORTNAME}.8
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} \
|
|
${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/extras/portmon.8 \
|
|
${STAGEDIR}${PREFIX}/man/man8
|
|
${INSTALL_DATA} ${WRKSRC}/extras/portmon.hosts.sample \
|
|
${STAGEDIR}${PREFIX}/etc
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
.for i in README
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|