Opened 8 years ago

Closed 8 years ago

#51087 closed submission (fixed)

New port: asciidoctor

Reported by: gkoller (Guido Kollerie) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: asciidoctor

Description

Asciidoctor is a text processor, written in Ruby, that implements the AsciiDoc syntax as originally devised by the similarly named Python project. Contrary to the Python AsciiDoc version, which seems dormant, Asciidoctor is actively being worked one and extended.

Attachments (1)

Portfile (1.7 KB) - added by gkoller (Guido Kollerie) 8 years ago.
Asciidoctor Portfile

Download all attachments as: .zip

Change History (7)

comment:1 Changed 8 years ago by neverpanic (Clemens Lang)

I think you can avoid the post-destroot block if you add

ruby.link_binaries_suffix

i.e. set the suffix to empty somewhere after ruby.setup. Other than that, lg2m.

Please also decide whether you want to mark the port as openmaintainer as explained at https://guide.macports.org/#project.update-policies.nonmaintainer.

comment:2 in reply to:  1 Changed 8 years ago by gkoller (Guido Kollerie)

Replying to cal@…:

I think you can avoid the post-destroot block if you add

ruby.link_binaries_suffix

i.e. set the suffix to empty somewhere after ruby.setup.

Thank you for thinking along with me. I didn't like the post-destroot solution either. However I've just tried your suggestion but then I get the error:

Error: Unable to open port: invalid command name "ruby.link_binaries_suffix"

Reading ruby-1.0.tcl shows "ruby.link_binaries_suffix" not to be an option. Hence doing something like:

ruby.link_binaries_suffix    none

Doesn't work either. Unless you have got another suggestion, I'll leave the post-destroot in there.

Please also decide whether you want to mark the port as openmaintainer as explained at https://guide.macports.org/#project.update-policies.nonmaintainer.

Thank you for pointing that out to me. I've have added openmaintainer to the maintainer option. I'll attach a new version of the Portfile.

comment:3 Changed 8 years ago by mf2k (Frank Schima)

Keywords: textproc removed
Version: 2.3.4

An rmd160 checksum should be added.

comment:4 in reply to:  3 Changed 8 years ago by gkoller (Guido Kollerie)

Replying to mf2k@…:

An rmd160 checksum should be added.

You're right. Documentation even says so. My bad.

Might I suggest an 'at least two checksums' check to 'port lint'?

Updated Portfile will be attached shortly.

Changed 8 years ago by gkoller (Guido Kollerie)

Attachment: Portfile added

Asciidoctor Portfile

comment:5 in reply to:  3 Changed 8 years ago by gkoller (Guido Kollerie)

What's the next stept in getting this port added to the repository?

comment:6 Changed 8 years ago by neverpanic (Clemens Lang)

Resolution: fixed
Status: newclosed

Me. Committed in r147968 with the following change:

  • set ruby.link_binaries_suffix "" instead of the post-destroot phase that reverts the suffix. The rb-rbot port uses the same trick.

Thank you for writing the Portfile.

Note: See TracTickets for help on using tickets.