[79034] trunk/dports/net/snort/Portfile

jann at macports.org jann at macports.org
Mon May 30 16:45:52 PDT 2011


Revision: 79034
          http://trac.macports.org/changeset/79034
Author:   jann at macports.org
Date:     2011-05-30 16:45:51 -0700 (Mon, 30 May 2011)
Log Message:
-----------
Whitespace

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

Modified: trunk/dports/net/snort/Portfile
===================================================================
--- trunk/dports/net/snort/Portfile	2011-05-30 23:45:03 UTC (rev 79033)
+++ trunk/dports/net/snort/Portfile	2011-05-30 23:45:51 UTC (rev 79034)
@@ -21,14 +21,14 @@
 depends_lib      port:daq
 
 variant mysql5 description {mysql 5 support} {
-	depends_lib-append    path:bin/mysql_config5:mysql5
-	configure.args-append --with-mysql=${prefix}
-	patchfiles-append	patch-configure
+    depends_lib-append    path:bin/mysql_config5:mysql5
+    configure.args-append --with-mysql=${prefix}
+    patchfiles-append   patch-configure
 }
 
 variant mysql4 description {mysql 4 support} {
-	depends_lib-append    port:mysql4
-	configure.args-append --with-mysql=${prefix}
+    depends_lib-append    port:mysql4
+    configure.args-append --with-mysql=${prefix}
 }
 
 variant server description {startupitem} {
@@ -39,28 +39,28 @@
 
 post-destroot {
 # Copy the Snort database schemas
-	xinstall -d -m 755 ${destroot}${prefix}/share/${name}/schemas
-	eval xinstall -m 755 [glob ${worksrcpath}/schemas/create*] ${destroot}${prefix}/share/${name}/schemas
+    xinstall -d -m 755 ${destroot}${prefix}/share/${name}/schemas
+    eval xinstall -m 755 [glob ${worksrcpath}/schemas/create*] ${destroot}${prefix}/share/${name}/schemas
 
 # Copy Snort's etc/ files
-	xinstall -d -m 755 ${destroot}${prefix}/etc/${name}
-	eval xinstall [glob ${worksrcpath}/etc/*.map] ${destroot}${prefix}/etc/${name}
-	eval xinstall [glob ${worksrcpath}/etc/*.conf*] ${destroot}${prefix}/etc/${name}
-	file rename ${destroot}${prefix}/etc/${name}/snort.conf ${destroot}${prefix}/etc/${name}/snort.conf.dist
+    xinstall -d -m 755 ${destroot}${prefix}/etc/${name}
+    eval xinstall [glob ${worksrcpath}/etc/*.map] ${destroot}${prefix}/etc/${name}
+    eval xinstall [glob ${worksrcpath}/etc/*.conf*] ${destroot}${prefix}/etc/${name}
+    file rename ${destroot}${prefix}/etc/${name}/snort.conf ${destroot}${prefix}/etc/${name}/snort.conf.dist
 
 # fix snort.conf.dist
-	reinplace "s|dynamicpreprocessor directory /usr/local/lib/snort_dynamicpreprocessor/|dynamicpreprocessor directory ${prefix}/lib/snort_dynamicpreprocessor/|g" ${destroot}${prefix}/etc/${name}/snort.conf.dist
-	reinplace "s|dynamicengine /usr/local/lib/snort_dynamicengine/libsf_engine.so|dynamicengine ${prefix}/lib/snort_dynamicengine/libsf_engine.dylib|g" ${destroot}${prefix}/etc/${name}/snort.conf.dist
-	reinplace "s|dynamicdetection directory /usr/local/lib/snort_dynamicrule/|dynamicdetection directory ${prefix}/lib/snort_dynamicrule/|g" ${destroot}${prefix}/etc/${name}/snort.conf.dist
-	reinplace "s|dynamicdetection file /usr/local/lib/snort_dynamicrule/libdynamicexamplerule.so|dynamicdetection file ${prefix}/lib/snort_dynamicrule/libdynamicexamplerule.dylib|g" ${destroot}${prefix}/etc/${name}/snort.conf.dist
+    reinplace "s|dynamicpreprocessor directory /usr/local/lib/snort_dynamicpreprocessor/|dynamicpreprocessor directory ${prefix}/lib/snort_dynamicpreprocessor/|g" ${destroot}${prefix}/etc/${name}/snort.conf.dist
+    reinplace "s|dynamicengine /usr/local/lib/snort_dynamicengine/libsf_engine.so|dynamicengine ${prefix}/lib/snort_dynamicengine/libsf_engine.dylib|g" ${destroot}${prefix}/etc/${name}/snort.conf.dist
+    reinplace "s|dynamicdetection directory /usr/local/lib/snort_dynamicrule/|dynamicdetection directory ${prefix}/lib/snort_dynamicrule/|g" ${destroot}${prefix}/etc/${name}/snort.conf.dist
+    reinplace "s|dynamicdetection file /usr/local/lib/snort_dynamicrule/libdynamicexamplerule.so|dynamicdetection file ${prefix}/lib/snort_dynamicrule/libdynamicexamplerule.dylib|g" ${destroot}${prefix}/etc/${name}/snort.conf.dist
 
 
         if { [variant_isset server] } {
-           	xinstall -m 755 ${portpath}/${filesdir}/snort.sh \
-			${destroot}${prefix}/share/${name}/snort.sh
-    		reinplace "s|__PREFIX__|${prefix}|g" \
-		${destroot}${prefix}/share/${name}/snort.sh
-	}
+            xinstall -m 755 ${portpath}/${filesdir}/snort.sh \
+            ${destroot}${prefix}/share/${name}/snort.sh
+            reinplace "s|__PREFIX__|${prefix}|g" \
+        ${destroot}${prefix}/share/${name}/snort.sh
+    }
 }
 
 notes "\n
@@ -69,7 +69,7 @@
 The Snort database schemas -> ${prefix}/share/${name}/schemas
 The snort.conf sample file -> ${prefix}/etc/${name}/snort.conf.dist (copy to snort.conf)
 
-NOTE:	If you installed Snort using the +server variant, make sure you do not
-	change the location of the snort.conf file or the startup scripts
-	will not be able to find it.
+NOTE:   If you installed Snort using the +server variant, make sure you do not
+    change the location of the snort.conf file or the startup scripts
+    will not be able to find it.
 \n"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110530/9bc00625/attachment-0001.html>


More information about the macports-changes mailing list