35 lines
884 B
Makefile
35 lines
884 B
Makefile
# $OpenBSD: Makefile,v 1.6 2015/03/16 18:07:52 naddy Exp $
|
|
|
|
COMMENT= library/tools (incl smilint) to access SMI MIB information
|
|
|
|
SHARED_LIBS += smi 0.0 # 2.27
|
|
|
|
DISTNAME= libsmi-0.4.8
|
|
REVISION= 1
|
|
CATEGORIES= net
|
|
|
|
HOMEPAGE= http://www.ibr.cs.tu-bs.de/projects/libsmi/
|
|
|
|
MAINTAINER= Nigel Taylor <nigel@openbsd.org>
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
WANTLIB += c m
|
|
|
|
MASTER_SITES= ftp://ftp.ibr.cs.tu-bs.de/pub/local/libsmi/
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
S= ${PREFIX}/share/smi
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
|
--with-data-dir=${PREFIX}/share/smi \
|
|
--with-mibdir=${PREFIX}/share/smi/mibs \
|
|
--with-pibdir=${PREFIX}/share/smi/pibs \
|
|
--with-smipath=/usr/share/snmp/mibs:$S/mibs/ietf:$S/mibs/iana:$S/mibs/irtf:$S/mibs/site:$S/mibs/tubs:$S/pibs/ietf:$S/pibs/site:$S/pibs/tubs
|
|
CONFIGURE_ENV= MKDIR_P="/bin/mkdir -p"
|
|
|
|
.include <bsd.port.mk>
|