mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-30 05:40:06 +00:00
41 lines
1.0 KiB
Makefile
41 lines
1.0 KiB
Makefile
# Created by: Kirill Ponomarew <ponomarew@oberon.net>
|
|
|
|
PORTNAME= portmon
|
|
PORTVERSION= 2.0
|
|
PORTREVISION= 1
|
|
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
|
|
|
|
LICENSE= GPLv2+
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
PLIST_FILES= bin/portmon etc/portmon.hosts.sample share/man/man8/portmon.8.gz
|
|
PORTDOCS= README
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-build:
|
|
@${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}${MAN8PREFIX}/share/man/man8
|
|
${INSTALL_DATA} ${WRKSRC}/extras/portmon.hosts.sample \
|
|
${STAGEDIR}${PREFIX}/etc
|
|
|
|
do-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|