i finally had the portfile i submitted accepted and folded into macports itself. see http://trac.macports.org/ticket/23130 for details. the port is called 'p5-pdl' and i've been using it successfully for the most part.
however, i still need to fix the port to get the generated pdldoc stuff included in the packaging. that's a real bear to handle cleanly. the PDL build process is set up with the implicit assumption that where you're installing to is where PDL is going to live. this is NOT the case when building packages like macports, rpms, or dpkgs where you install to a temporary tree and the packaging tool collects everything from there to place somewhere else. my workaround with rpm was to make the doc generation a post-install task. this had the side-effect of leaving a few files around that are not in the rpm database. i dealt with those by having a post-uninstall script delete them manually. i can probably do the same thing for macports, but it would be nice not to have to. also, as i mentioned in the ticket, there are several hard-coded paths that should be generalized. the scripts that refer to perl should probably use #!/usr/bin/env perl, for example. tim -- +-------------------------------------------------------------------+ | T. E. Pickering, Ph.D. | Southern African Large Telescope | | SALT Astronomer | SAAO | | [email protected] (520) 305-9823 | Observatory Road | | [email protected] +27(0)214606284 | 7925 Observatory, South Africa | +-------------------------------------------------------------------+ overflow error in /dev/null _______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
