summaryrefslogtreecommitdiff
path: root/net-mgmt/p5-SNMP_Session/Makefile
diff options
context:
space:
mode:
authorChris Rees <crees@FreeBSD.org>2013-07-14 15:14:19 +0000
committerChris Rees <crees@FreeBSD.org>2013-07-14 15:14:19 +0000
commitbf415be74fa3c18d4c519b14419601d2c95d1636 (patch)
tree62d48a7761baca8760c0af441f97c21c253929f0 /net-mgmt/p5-SNMP_Session/Makefile
parent- Update to checkin eeb5502 (diff)
Fix some warnings when using mrtg_daemon.
PR: ports/166777 Submitted by: Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp> Approved by: demon (maintainer)
Notes
Notes: svn path=/head/; revision=322986
Diffstat (limited to 'net-mgmt/p5-SNMP_Session/Makefile')
-rw-r--r--net-mgmt/p5-SNMP_Session/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/net-mgmt/p5-SNMP_Session/Makefile b/net-mgmt/p5-SNMP_Session/Makefile
index 848283366e49..2b1cea51df62 100644
--- a/net-mgmt/p5-SNMP_Session/Makefile
+++ b/net-mgmt/p5-SNMP_Session/Makefile
@@ -1,12 +1,9 @@
-# New ports collection makefile for: p5-SNMP_Session
-# Date created: 13 June 1999
-# Whom: Stephen J. Roznowski <sjr@home.net>
-#
+# Created by: Stephen J. Roznowski <sjr@home.net>
# $FreeBSD$
-#
PORTNAME= SNMP_Session
PORTVERSION= 1.13
+PORTREVISION= 1
CATEGORIES= net-mgmt perl5
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
PROJECTHOST= snmp-session
@@ -19,11 +16,13 @@ PERL_CONFIGURE= yes
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
+.include <bsd.port.options.mk>
+
post-patch:
${RM} ${WRKSRC}/lib/SNMP_Session.pm.orig
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
.for file in README README.SNMP_util index.html
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}