#43577: [NEW] jsunpack-n -------------------------+-------------------------------- Reporter: jul_bsd@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: jsunpack-n | -------------------------+-------------------------------- Comment (by ryandesign@…): Thanks. Some observations: * You cannot declare dependencies on stub ports, like any port whose name begins with "py-"; instead, declare a dependency on the specific python version of that port that you're going to use, for example "py27-...". You may wish to provide variants to allow the user to choose the version of python. Be sure that any executable scripts are patched to use that specific version of python, and not for example "`/usr/bin/env python`" which might be a different version. * The destroot phase could be simplified by consolidating multiple installations with the same destination directory by using the `xinstall` command with the `-W` argument (instead of using the `copy` command). If you use `xinstall` here, you probably want to set the mode to 0644 too (by using `-m 0644` since these files don't look like they're supposed to be executable (which `xinstall` would assume if you don't specify the mode). -- Ticket URL: <https://trac.macports.org/ticket/43577#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X