pkgsrc/devel/libsmi/Makefile
2000-08-14 17:45:20 +00:00

23 lines
731 B
Makefile

# $NetBSD: Makefile,v 1.3 2000/08/14 17:51:20 wiz Exp $
#
DISTNAME= libsmi-0.1.6
CATEGORIES= devel net
MASTER_SITES= ftp://ftp.ibr.cs.tu-bs.de/pub/local/libsmi/
MAINTAINER= sakamoto@netbsd.org
HOMEPAGE= http://www.ibr.cs.tu-bs.de/projects/libsmi/
MIBDIR= ${PREFIX}/share/libsmi/mibs
USE_LIBTOOL= YES
LTCONFIG_OVERRIDE=${WRKSRC}/ltconfig
GNU_CONFIGURE= YES
CPPFLAGS+= -Dstrtoll=strtoq -Dstrtoull=strtouq
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}"
CONFIGURE_ARGS+=--with-mibdir="${MIBDIR}"
# this might make it easier to use scotty's and ucd-snmp's mibs,
# and local ones too
CONFIGURE_ARGS+=--with-smipath="${MIBDIR}:${PREFIX}/share/snmp/mibs:${PREFIX}/lib/tnm2.1.8/mibs:/usr/local/share/snmp/mibs"
.include "../../mk/bsd.pkg.mk"