aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/p5-SNMP_Session/Makefile
blob: 9fc169b8e1daee3f61ec51c56bb7841d8f88222d (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
# Created by: Stephen J. Roznowski <sjr@home.net>
# $FreeBSD$

PORTNAME=   SNMP_Session
PORTVERSION=    1.13
PORTREVISION=   3
CATEGORIES= net-mgmt perl5
MASTER_SITES=   http://pkgs.fedoraproject.org/repo/pkgs/perl-SNMP_Session/SNMP_Session-1.13.tar.gz/055e1065babf55f1f8606329c6bdb947/
PKGNAMEPREFIX=  p5-

MAINTAINER= demon@FreeBSD.org
COMMENT=    Perl5 module providing rudimentary access to SNMPv1 and v2 agents

USES=       perl5
USE_PERL5=  configure

DOCSDIR=    ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}

OPTIONS_DEFINE= DOCS

post-patch:
    ${RM} ${WRKSRC}/lib/SNMP_Session.pm.orig

post-install:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for file in README README.SNMP_util index.html
    ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
.endfor

.include <bsd.port.mk>