Revision
75273
Author
takanori@macports.org
Date
2011-01-19 06:41:53 -0800 (Wed, 19 Jan 2011)

Log Message

p5-nkf: worksrcdir should be declared at the top of the block too

Modified Paths

Diff

Modified: trunk/dports/perl/p5-nkf/Portfile (75272 => 75273)


--- 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
 }