Opened 11 years ago

Last modified 11 years ago

#43577 new submission

[NEW] jsunpack-n

Reported by: jul_bsd@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: jsunpack-n

Description

A generic JavaScript unpacker

Attachments (1)

Portfile (4.4 KB) - added by jul_bsd@… 10 years ago.
r76

Download all attachments as: .zip

Change History (2)

comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

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).

Changed 10 years ago by jul_bsd@…

Attachment: Portfile added

r76

Note: See TracTickets for help on using tickets.