pkgsrc/net/sdig/Makefile
jlam 9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00

35 lines
1,011 B
Makefile

# $NetBSD: Makefile,v 1.10 2006/03/04 21:30:24 jlam Exp $
DISTNAME= sdig-0.30
PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= http://www.exploits.org/sdig/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} mactable.gz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.exploits.org/sdig/
COMMENT= Switch Digger finds port assignment for hosts on a switched Ethernet
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
.include "../../mk/bsd.prefs.mk"
post-extract:
${GZCAT} < ${DISTDIR}/mactable.gz > ${WRKDIR}/mactable
post-build: my-post-build
post-install:
${INSTALL_DATA} ${WRKDIR}/sdig.conf ${PREFIX}/share/examples/
${INSTALL_DATA} ${WRKDIR}/mactable ${PREFIX}/share/misc/
${INSTALL_DATA} ${WRKSRC}/sdig.8 ${PREFIX}/man/man8/
${INSTALL_DATA} ${WRKSRC}/sdig.conf.5 ${PREFIX}/man/man5/
.include "../../net/net-snmp/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
# Note: this depends on having a MESSAGE file, which we do.
#
my-post-build:
${SED} ${MESSAGE_SUBST_SED} < ${WRKSRC}/sdig.conf > ${WRKDIR}/sdig.conf