aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/snmp++/Makefile
blob: effa8f5d195e36a8ed656b2e332ab8c0a480ad39 (plain) (blame)
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
# New ports collection makefile for:   snmp++
# Date created:        2007-05-14
# Whom:                nicolai@catpipe.net
#
# $FreeBSD$
#

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>