1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/net-mgmt/sdig/Makefile

35 lines
892 B
Makefile

# Created by: Russell A. Jackson <rjackson@cserv62.csub.edu>
# $FreeBSD$
PORTNAME= sdig
PORTVERSION= 0.45
PORTREVISION= 1
CATEGORIES= net-mgmt
MASTER_SITES= SF
MAINTAINER= zi@FreeBSD.org
COMMENT= Translate IP/DNS/WINS/MAC address into port description
LIB_DEPENDS= netsnmp.30:${PORTSDIR}/net-mgmt/net-snmp
USE_GMAKE= yes
GNU_CONFIGURE= yes
MAN5= sdig.conf.5
MAN8= sdig.8
PLIST_FILES= bin/sdig etc/sdig.conf etc/mactable
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},' ${WRKSRC}/sdig.conf
@${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},' ${WRKSRC}/sdig.conf.5
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/sdig ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/sdig.conf ${PREFIX}/etc
${INSTALL_DATA} ${WRKSRC}/mactable ${PREFIX}/etc
${INSTALL_MAN} ${WRKSRC}/sdig.8 ${PREFIX}/man/man8
${INSTALL_MAN} ${WRKSRC}/sdig.conf.5 ${PREFIX}/man/man5
.include <bsd.port.mk>