[62886] trunk/dports/net/net-snmp/Portfile

ryandesign at macports.org ryandesign at macports.org
Wed Jan 20 21:14:34 PST 2010


Revision: 62886
          http://trac.macports.org/changeset/62886
Author:   ryandesign at macports.org
Date:     2010-01-20 21:14:32 -0800 (Wed, 20 Jan 2010)
Log Message:
-----------
net-snmp: whitespace changes only

Modified Paths:
--------------
    trunk/dports/net/net-snmp/Portfile

Modified: trunk/dports/net/net-snmp/Portfile
===================================================================
--- trunk/dports/net/net-snmp/Portfile	2010-01-21 03:54:31 UTC (rev 62885)
+++ trunk/dports/net/net-snmp/Portfile	2010-01-21 05:14:32 UTC (rev 62886)
@@ -1,84 +1,91 @@
 # $Id$
 
-PortSystem 1.0
+PortSystem              1.0
 
-name			net-snmp
-version			5.4.2.1
-revision		1
-categories		net
-maintainers		nomaintainer
-description		An extendable SNMP implementation
-long_description	This is net-snmp, a derivative of CMU's SNMP \
-					package. Various tools relating to the Simple \
-					Network Management Protocol including: an extensible \
-					agent, an SNMP library, tools to request or set \
-					information from SNMP agents, tools to generate and \
-					handle SNMP traps, a version of the unix 'netstat' \
-					command using SNMP, a Tk/perl MIB browser.
-homepage		http://net-snmp.sourceforge.net/
-platforms		darwin
-master_sites		sourceforge
-checksums		md5 984932520143f0c8bf7b7ce1fc9e1da1 \
-			sha1 4f2df9ea62344fe840f493d0e08abe5de3697862 \
-			rmd160 2148c42d486ed88f9cfc3ca1d50c68abcd7e3d63
+name                    net-snmp
+version                 5.4.2.1
+revision                1
+categories              net
+platforms               darwin
+maintainers             nomaintainer
+homepage                http://net-snmp.sourceforge.net/
+master_sites            sourceforge
 
-patchfiles		patch-Makefile.in.diff patch-configure.diff
+description             An extendable SNMP implementation
 
-depends_lib		port:openssl \
-			port:zlib \
-			path:bin/perl:perl5
-use_parallel_build	no
-configure.env-append	PERLPROG=${prefix}/bin/perl
-configure.args		--with-defaults \
-				--disable-agent \
-				--with-sys-contact=nobody at no.where \
-				--with-persistent-directory=${prefix}/var/net-snmp \
-				--mandir=${prefix}/share/man \
-				--infodir=${prefix}/share/info \
-				--with-logfile=${prefix}/var/log \
-				--with-openssl=${prefix} --with-zlib=${prefix} \
-				--with-install-prefix=${destroot} \
-				--without-kmem-usage \
-				--enable-ipv6 \
-				--with-out-mib-modules=mibII/ipv6
+long_description        This is net-snmp, a derivative of CMU's SNMP \
+                        package. Various tools relating to the Simple \
+                        Network Management Protocol including: an extensible \
+                        agent, an SNMP library, tools to request or set \
+                        information from SNMP agents, tools to generate and \
+                        handle SNMP traps, a version of the unix 'netstat' \
+                        command using SNMP, a Tk/perl MIB browser.
 
-variant no_ssl description { Without libssl support } {
-	configure.args-delete --with-openssl=${prefix}
-	configure.args-append --without-openssl
+checksums               md5 984932520143f0c8bf7b7ce1fc9e1da1 \
+                        sha1 4f2df9ea62344fe840f493d0e08abe5de3697862 \
+                        rmd160 2148c42d486ed88f9cfc3ca1d50c68abcd7e3d63
+
+patchfiles              patch-Makefile.in.diff \
+                        patch-configure.diff
+
+depends_lib             port:openssl \
+                        port:zlib \
+                        path:bin/perl:perl5
+
+use_parallel_build      no
+
+configure.env-append    PERLPROG=${prefix}/bin/perl
+
+configure.args          --with-defaults \
+                        --disable-agent \
+                        --with-sys-contact=nobody at no.where \
+                        --with-persistent-directory=${prefix}/var/net-snmp \
+                        --mandir=${prefix}/share/man \
+                        --infodir=${prefix}/share/info \
+                        --with-logfile=${prefix}/var/log \
+                        --with-openssl=${prefix} --with-zlib=${prefix} \
+                        --with-install-prefix=${destroot} \
+                        --without-kmem-usage \
+                        --enable-ipv6 \
+                        --with-out-mib-modules=mibII/ipv6
+
+variant no_ssl description {Without libssl support} {
+    configure.args-delete --with-openssl=${prefix}
+    configure.args-append --without-openssl
 }
 
-variant no_zlib description { Without libz support } {
-	configure.args-delete --with-zlib=${prefix}
-	configure.args-append --without-zlib
+variant no_zlib description {Without libz support} {
+    configure.args-delete --with-zlib=${prefix}
+    configure.args-append --without-zlib
 }
 
-variant bzip2 description { Uses libbz2 } {
-	configure.args-append --with-bzip2=${prefix}
+variant bzip2 description {Uses libbz2} {
+    configure.args-append --with-bzip2=${prefix}
 }
 
-variant server description { Build snmpd } {
-	configure.args-delete	--disable-agent
+variant server description {Build snmpd} {
+    configure.args-delete --disable-agent
+    
+    startupitem.create  yes
+    startupitem.name    NetSNMP
+    startupitem.start   "echo \"NOT starting (net-)snmpd, no real startup item yet\""
+    startupitem.stop    "echo \"NOT stopping (net-)snmpd, no real startup item yet\""
+}
 
-	startupitem.create              yes
-	startupitem.name                NetSNMP
-	startupitem.start \
-		"echo \"NOT starting (net-)snmpd, no real startup item yet\""
-	startupitem.stop \
-		"echo \"NOT stopping (net-)snmpd, no real startup item yet\""
+variant ksm description {support for kerberos based SNMP security} {
+    configure.args-append --with-security-modules="usm ksm"
 }
 
-variant ksm description { support for kerberos based SNMP security } { configure.args-append --with-security-modules="usm ksm" }
-
-post-destroot	{
-	destroot.keepdirs ${destroot}${prefix}/var/net-snmp
-	foreach packlist [exec find ${destroot} -name .packlist] {
-		ui_info "Fixing packlist ${packlist}"
-		reinplace "s|${destroot}||" ${packlist}
-	}
-	foreach badfile [exec find ${destroot} -name perllocal.pod] {
-		ui_info "Removing ${badfile}"
-		file delete ${badfile}
-	}
+post-destroot {
+    destroot.keepdirs ${destroot}${prefix}/var/net-snmp
+    foreach packlist [exec find ${destroot} -name .packlist] {
+        ui_info "Fixing packlist ${packlist}"
+        reinplace "s|${destroot}||" ${packlist}
+    }
+    foreach badfile [exec find ${destroot} -name perllocal.pod] {
+        ui_info "Removing ${badfile}"
+        file delete ${badfile}
+    }
 }
 
 livecheck.type          sourceforge
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100120/a1816cbf/attachment.html>


More information about the macports-changes mailing list