summaryrefslogtreecommitdiff
path: root/devel/libsmi/Makefile
diff options
context:
space:
mode:
authorsakamoto <sakamoto@pkgsrc.org>1999-09-08 07:59:18 +0000
committersakamoto <sakamoto@pkgsrc.org>1999-09-08 07:59:18 +0000
commit7990ca98a2101919604d4dc20a3394ae769aa26c (patch)
treee9e940c0b15c3ed7eb5de885d87e94c6beddaa8a /devel/libsmi/Makefile
parent07caf7910170580a3c5856018663f9c13ed3753f (diff)
downloadpkgsrc-7990ca98a2101919604d4dc20a3394ae769aa26c.tar.gz
Initial import of libsmi-0.1.6.
libsmi - A library to access SMI MIB information
Diffstat (limited to 'devel/libsmi/Makefile')
-rw-r--r--devel/libsmi/Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/devel/libsmi/Makefile b/devel/libsmi/Makefile
new file mode 100644
index 00000000000..63ea3a56bad
--- /dev/null
+++ b/devel/libsmi/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/09/08 07:59:18 sakamoto 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
+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"
+
+post-configure:
+ @(cd ${WRKSRC}; ${RM} -f libtool; ${LN} -s ${LIBTOOL} libtool)
+
+.include "../../mk/bsd.pkg.mk"