pkgsrc/net/sdig/Makefile
fredb 0cab25b605 In ucd-snmp's shared libraries, the SONAME is the filename, which contains
the version of ucd-snmp. Therefore, adjust the wildcard dependencies in
dependents to match exactly (barring "nb" version changes), and bump the
dependent's "nb" versions to reflect the change in dependencies. Otherwise,
an "ethereal" binary package (for example) built against ucd-snmp-4.2.4
will happily install against ucd-snmp-4.2.3nb1, but will fail at run-time
with, ``shared object "libucdsnmp-0.4.2.3.so" not found.''
2002-04-20 18:46:06 +00:00

33 lines
895 B
Makefile

# $NetBSD: Makefile,v 1.2 2002/04/20 18:46:08 fredb Exp $
DISTNAME= sdig-0.11
PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= http://www.exploits.org/sdig/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} mactable.gz
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.exploits.org/sdig/
COMMENT= Switch Digger finds port assignment for hosts on a switched Ethernet
DEPENDS= ucd-snmp>=4.2.4*:../../net/ucd-snmp
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/
.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