--- Portfile.orig	2008-03-29 04:21:34.000000000 -0600
+++ Portfile	2008-03-30 00:48:44.000000000 -0600
@@ -91,6 +91,16 @@
         --without-perl
     configure.args-append \
         --with-perl=${prefix}/bin/perl
+    post-destroot {
+        foreach packlist [exec find ${destroot} -name .packlist] {
+            ui_info "Fixing packlist ${packlist}"
+            reinplace "s|${destroot}||" ${packlist}
+        }
+        foreach badfile [exec find ${destroot} -name perllocal.pod] {
+            ui_info "Removing ${badfile}"
+            file delete ${badfile}
+        }
+    }
 }
 
 variant gs description {Include Ghostscript library support} {

