New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #12559 (closed submission: fixed)

Opened 7 years ago

Last modified 6 years ago

New port: pandoc (0.42)

Reported by: jgm@… Owned by: ryandesign@…
Priority: Normal Milestone:
Component: ports Version: 1.5.0
Keywords: Cc: jgm@…, ryandesign@…
Port:

Description

I'm attaching a new Portfile for pandoc (http://sophos.berkeley.edu/macfarlane/pandoc/).

Attachments

Portfile (807 bytes) - added by jgm@… 7 years ago.

Change History

Changed 7 years ago by jgm@…

comment:1 Changed 7 years ago by ryandesign@…

  • Cc jgm@…, ryandesign@… added
  • Owner changed from macports-dev@… to ryandesign@…

comment:2 Changed 7 years ago by ryandesign@…

  • Status changed from new to closed
  • Resolution set to fixed

Thanks for your contribution. I've committed it in r28278. Some stylistic notes for future reference:

  • The first line of a Portfile should be exactly: "# $Id$"
  • "configure {}" is better written "use_configure no"
  • Instead of "build.cmd PREFIX=${prefix} make" I suggest "build.args PREFIX=${prefix}" which seems to also work.
  • I think ghc should be declared as a build dependency rather than a library dependency, and that a library dependency on gmp should be added.

I fixed the above before committing. What I didn't fix:

  • Installing in trace mode, I get told there's an undeclared dependency on ncursesw, though I'm not sure why it's saying that.
$ sudo port -t install
--->  Fetching pandoc
--->  Verifying checksum(s) for pandoc
--->  Extracting pandoc
--->  Configuring pandoc
--->  Building pandoc with target all
Warning: Target build has an undeclared dependency on ncursesw
--->  Staging pandoc into destroot
Warning: Target destroot has an undeclared dependency on ncursesw
--->  Installing pandoc 0.42_0
--->  Activating pandoc 0.42_0
--->  Cleaning pandoc

comment:3 Changed 6 years ago by jmr@…

  • Type changed from enhancement to submission

comment:4 Changed 6 years ago by anonymous

  • Milestone Port Submissions deleted

Milestone Port Submissions deleted

Note: See TracTickets for help on using tickets.