p5-nkf: worksrcdir should be declared at the top of the block too
--- trunk/dports/perl/p5-nkf/Portfile 2011-01-19 14:35:44 UTC (rev 75272)
+++ trunk/dports/perl/p5-nkf/Portfile 2011-01-19 14:41:53 UTC (rev 75273)
@@ -23,7 +23,12 @@
nkf.git-fbbf52db285384e4938bbe7862cae1df80482960_2.patch
checksums rmd160 06e0dbda6e90502ab4bafe4d44a9d05beed248c5
+worksrcdir ${distname}/NKF.mod
+
patch.pre_args -p1
+pre-patch {
+ worksrcdir ${distname}
+}
post-patch {
worksrcdir ${distname}/NKF.mod
}