# New ports collection makefile for:   snmp++
# Date created:        2007-05-14
# Whom:                nicolai@catpipe.net
#
# $FreeBSD: ports/net-mgmt/snmp++/Makefile,v 1.3 2007/10/26 18:31:35 tobez Exp $
#

PORTNAME=	snmp++
PORTVERSION=	3.2.22
PORTREVISION=	2
CATEGORIES=	net-mgmt
MASTER_SITES=	http://www.agentpp.com/
DISTNAME=	${PORTNAME}v${PORTVERSION}

MAINTAINER=	nicolai@catpipe.net
COMMENT=	SNMP C++ library with V3 support

MAKEFILE=	Makefile.FreeBSD
WRKSRC=		${WRKDIR}/${PORTNAME}/src

USE_GMAKE=	yes
USE_LDCONFIG=	yes

post-extract:
	${CP} ${FILESDIR}/Makefile.FreeBSD ${WRKSRC}

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 600000
IGNORE=		does not work on FreeBSD < 6 because of absence of gethostbyname_r
.endif

.include <bsd.port.post.mk>
