[42269] trunk/dports/net/netmrg/Portfile

markd at macports.org markd at macports.org
Mon Nov 17 14:04:07 PST 2008


Revision: 42269
          http://trac.macports.org/changeset/42269
Author:   markd at macports.org
Date:     2008-11-17 14:04:06 -0800 (Mon, 17 Nov 2008)
Log Message:
-----------
Update to 0.20.

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

Modified: trunk/dports/net/netmrg/Portfile
===================================================================
--- trunk/dports/net/netmrg/Portfile	2008-11-17 22:02:43 UTC (rev 42268)
+++ trunk/dports/net/netmrg/Portfile	2008-11-17 22:04:06 UTC (rev 42269)
@@ -3,7 +3,7 @@
 PortSystem      1.0
 
 name                    netmrg
-version                 0.19
+version                 0.20
 categories              net
 maintainers             markd
 description             An RRDtool frontend for network monitoring, reporting, and graphing \
@@ -11,15 +11,14 @@
 long_description        ${description}
 homepage                http://www.netmrg.net/
 platforms               darwin
-master_sites            http://www.netmrg.net/download/devel/
-checksums               md5 a380390425f8f97cadaee3809042ca51
+master_sites            http://www.netmrg.net/download/release/
+checksums               md5 47bec3b8a4d3a5c06c70925ee8d280be
 
 depends_lib             port:mysql5 \
 			port:rrdtool \
 			port:libxml2
 
-configure.args		--with-mysql-lib-dir=${prefix}/lib/mysql5/mysql \
-			--with-mysql-include-dir=${prefix}/include/mysql5/ \
+configure.args		--with-mysql_config=${prefix}/lib/mysql5/bin/mysql_config \
 			--with-snmp-lib-dir=/usr/lib \
 			--with-rrdtool=${prefix}/bin
 
@@ -31,8 +30,8 @@
 variant_set server
 
 post-extract {
-	reinplace "s|libnetsnmp.a|libnetsnmp.dylib|g" \
-		${worksrcpath}/configure
+	reinplace "s|mysql/mysql.h|${prefix}/include/mysql5/mysql/mysql.h|g" \
+		${worksrcpath}/src/include/db.h
 
 	reinplace "s|<socket></socket>|<socket>${prefix}/var/run/mysql5/mysqld.sock</socket>|g" \
 		${worksrcpath}/etc/netmrg.xml.in
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081117/c38110f9/attachment.html>


More information about the macports-changes mailing list