Index: Portfile
===================================================================
--- Portfile	(revision 30772)
+++ Portfile	(working copy)
@@ -68,12 +68,10 @@
 build.target	{ }
 
 post-destroot	{ file mkdir ${destroot}/${prefix}/share/${name}
-                  cd         ${destroot}/${prefix}/share/${name}
 
-                  system "${extract.cmd} ${extract.pre_args} ${distpath}/${name}-600dpi-fonts${extract.suffix} ${extract.post_args}"
+                  system "cd ${destroot}/${prefix}/share/${name} && ${extract.cmd} ${extract.pre_args} ${distpath}/${name}-600dpi-fonts${extract.suffix} ${extract.post_args}"
 
-                  cd         ${destroot}/${prefix}/share/
-                  system "chown -R root:admin ${name}"
+                  system "chown -R root:admin ${destroot}/${prefix}/share/${name}"
 
 		  file rename ${destroot}${prefix}/share/${name}/plugins/cadabra \
 			      ${destroot}${prefix}/share/${name}/plugins/cadabra.texmacs

