--- Portfile.orig	2014-01-24 08:31:06.000000000 -0600
+++ Portfile	2014-01-24 09:08:24.000000000 -0600
@@ -3,7 +3,7 @@
 PortSystem 1.0
 
 name             snort
-version          2.9.1.2
+version          2.9.6.0
 categories       net
 maintainers      markd
 license          GPL-2
@@ -19,11 +19,13 @@
 platforms        darwin freebsd
 master_sites     ${homepage}dl/snort-current/
 
-checksums        rmd160  a28ebd59df80884e1554fb75a4279e97b1dd8b32 \
-                 sha256  eac98be8138f9debdcc8f77061dab1950e88fa40c18311ddbab0a329852375f5
+checksums        rmd160  1043ef6295afd75d6effbd20480116dde41eda20 \
+                 sha256  3cc6c8a9b52f4c863a5736a73b4012aff340b50b5e002771b04d4877f47cd19e
 
 depends_lib      port:daq
 
+configure.compiler macports-gcc-4.8
+
 startupitem.create  yes
 startupitem.start   "${prefix}/share/${name}/snort.sh"
 startupitem.stop    "/bin/kill \$(cat /var/run/snort_*.pid)"
@@ -41,8 +43,8 @@
 
 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}
@@ -56,6 +58,7 @@
     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
 
+	xinstall -d ${destroot}${prefix}/share/${name} 
     xinstall -m 755 ${filespath}/snort.sh \
         ${destroot}${prefix}/share/${name}/snort.sh
     reinplace "s|__PREFIX__|${prefix}|g" \
