2013-09-21 00:24:43 +02:00
|
|
|
# Created by: Russell A. Jackson <rjackson@cserv62.csub.edu>
|
2004-03-28 15:33:06 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= sdig
|
2011-06-14 00:41:54 +02:00
|
|
|
PORTVERSION= 0.45
|
2011-07-28 14:43:22 +02:00
|
|
|
PORTREVISION= 1
|
2004-03-28 15:33:06 +02:00
|
|
|
CATEGORIES= net-mgmt
|
2009-08-22 02:32:25 +02:00
|
|
|
MASTER_SITES= SF
|
2004-03-28 15:33:06 +02:00
|
|
|
|
2011-07-15 23:15:29 +02:00
|
|
|
MAINTAINER= zi@FreeBSD.org
|
2004-11-27 12:38:47 +01:00
|
|
|
COMMENT= Translate IP/DNS/WINS/MAC address into port description
|
2004-03-28 15:33:06 +02:00
|
|
|
|
2011-07-28 14:43:22 +02:00
|
|
|
LIB_DEPENDS= netsnmp.30:${PORTSDIR}/net-mgmt/net-snmp
|
2004-03-28 15:33:06 +02:00
|
|
|
|
|
|
|
USE_GMAKE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
|
|
|
MAN5= sdig.conf.5
|
|
|
|
MAN8= sdig.8
|
2011-06-14 00:41:54 +02:00
|
|
|
PLIST_FILES= bin/sdig etc/sdig.conf etc/mactable
|
|
|
|
|
2013-09-21 00:24:43 +02:00
|
|
|
NO_STAGE= yes
|
2011-06-14 00:41:54 +02:00
|
|
|
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
|
2004-03-28 15:33:06 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|