Opened 13 years ago

Closed 13 years ago

#32422 closed submission (fixed)

angelscript port

Reported by: rudloff@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc:
Port: angelscript

Description

Here is a port for AngelScript.

Attachments (2)

Portfile (1.2 KB) - added by rudloff@… 13 years ago.
patch-makefile.diff (667 bytes) - added by rudloff@… 13 years ago.

Download all attachments as: .zip

Change History (4)

Changed 13 years ago by rudloff@…

Attachment: Portfile added

Changed 13 years ago by rudloff@…

Attachment: patch-makefile.diff added

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

Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned

Thanks.

comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

Committed in r87787 with these changes:

  • Converted Portfile from CR to LF line endings
  • Tabs to spaces, and other reformatting
  • Removed line "PortGroup cmake 1.0"; this port does not use cmake
  • Added rmd160 checksum
  • Set "use_configure no", and therefore added all the code needed to support UsingTheRightCompiler and build_arch and universal builds (the makefile is otherwise hardcoded to i386 and x86_64)
  • Used "reinplace" to convert makefile from CRLF to LF line endings so patching is easier
  • Simplified patch by removing first hunk and just setting "LOCAL=${prefix}" in build.args
  • Made the port actually destroot correctly by setting "LOCAL=${destroot}${prefix}" in destroot.destdir (the makefile does not support DESTDIR)
  • In the remaining hunk of the patch, replaced "cp -a" not with "cp" (which is not equivalent in that it wouldn't work for directories, in case a future version of angelscript ever wants to copy directories) but with "cp -Rp" (which should be equivalent -- note to others, "cp -a" is not available on Tiger but is on Leopard and up)
  • Added a new hunk to the patchfile which properly sets the library's install_name (todo: also set the library's current_version and compatibility_version (but to what?))
  • Installed documentation files
  • Fixed livecheck

There is one additional precarious problem that requires some explanation, and it will be simpler to handle that in its own ticket, for which I filed #32426.

Note: See TracTickets for help on using tickets.