blob: 5954236f8094e3861e39ea2be65283c6f7e65d83 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# $NetBSD: Makefile,v 1.12 1999/05/04 03:51:57 tv Exp $
# FreeBSD Id: Makefile,v 1.18 1998/04/06 20:50:31 andreas Exp
#
DISTNAME= ucd-snmp-3.6.1
PKGNAME= ucd-snmp-3.6.1p1
CATEGORIES= net
MASTER_SITES= ftp://ucd-snmp.ucdavis.edu/ \
ftp://sunsite.cnlab-switch.ch/mirror/ucd-snmp/
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.ece.ucdavis.edu/ucd-snmp/
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-defaults --with-libwrap --with-logfile="/var/log/snmpd"
# this might make it easier to use scotty's mibs, and local ones too
CONFIGURE_ARGS+=--with-mibdirs="${PREFIX}/share/snmp/mibs:${PREFIX}/lib/tnm2.1.8/mibs:/usr/local/share/snmp/mibs"
# provide path to libtool's lib directory:
MAKE_ENV= CC_RUNTIME_ARG="-L../snmplib/.libs -L../../snmplib/.libs"
# deal with libwrap bogosity by providing these variables to programs which
# do not supply them:
post-extract:
@${ECHO} 'int allow_severity, deny_severity;' >${WRKSRC}/snmplib/libwrap.c
post-install:
@${MKDIR} ${PREFIX}/share/examples/ucd-snmp
${INSTALL_DATA} ${WRKSRC}/etc/* ${PREFIX}/share/examples/ucd-snmp
${INSTALL_DATA_DIR} ${PREFIX}/lib/snmp/dlmod
.include "../../mk/bsd.pkg.mk"
|