summaryrefslogtreecommitdiff
path: root/net-mgmt/p5-SNMP_Session/Makefile
diff options
context:
space:
mode:
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}