In the version reinplace, use ${version} instead of hard-coding.
--- trunk/dports/graphics/qwtplot3d/Portfile 2010-06-29 07:11:59 UTC (rev 69266)
+++ trunk/dports/graphics/qwtplot3d/Portfile 2010-06-29 07:12:56 UTC (rev 69267)
@@ -57,7 +57,7 @@
}
patch {
- reinplace "s|0.2.6|0.2.7|g" ${worksrcpath}/qwtplot3d.pro
+ reinplace "s|0.2.6|${version}|g" ${worksrcpath}/qwtplot3d.pro
}
destroot {