[Midnightbsd-cvs] mports [22026] trunk/net-mgmt/p5-SNMP_Session/Makefile: fixup build

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sun Oct 30 12:58:14 EDT 2016


Revision: 22026
          http://svnweb.midnightbsd.org/mports/?rev=22026
Author:   laffer1
Date:     2016-10-30 12:58:14 -0400 (Sun, 30 Oct 2016)
Log Message:
-----------
fixup build

Modified Paths:
--------------
    trunk/net-mgmt/p5-SNMP_Session/Makefile

Modified: trunk/net-mgmt/p5-SNMP_Session/Makefile
===================================================================
--- trunk/net-mgmt/p5-SNMP_Session/Makefile	2016-10-30 16:56:29 UTC (rev 22025)
+++ trunk/net-mgmt/p5-SNMP_Session/Makefile	2016-10-30 16:58:14 UTC (rev 22026)
@@ -2,14 +2,15 @@
 
 PORTNAME=	SNMP_Session
 PORTVERSION=	1.13
-PORTREVISION=	1
+PORTREVISION=	3
 CATEGORIES=	net-mgmt perl5
-MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES=	http://pkgs.fedoraproject.org/repo/pkgs/perl-SNMP_Session/SNMP_Session-1.13.tar.gz/055e1065babf55f1f8606329c6bdb947/
 PROJECTHOST=	snmp-session
 PKGNAMEPREFIX=	p5-
 
 MAINTAINER=	ports at MidnightBSD.org
-COMMENT=	A perl5 module providing rudimentary access to SNMPv1 and v2 agents
+COMMENT=	Perl5 module providing rudimentary access to SNMPv1 and v2 agents
+
 LICENSE=	artistic
 
 PERL_CONFIGURE=	yes
@@ -16,6 +17,8 @@
 
 DOCSDIR=	${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
 
+OPTIONS_DEFINE=	DOCS
+
 .include <bsd.mport.options.mk>
 
 post-patch:
@@ -22,11 +25,10 @@
 	${RM} ${WRKSRC}/lib/SNMP_Session.pm.orig
 
 post-install:
-.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
 .for file in README README.SNMP_util index.html
 	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
 .endfor
-.endif
 
+
 .include <bsd.port.mk>



More information about the Midnightbsd-cvs mailing list