Opened 17 years ago

Closed 17 years ago

Last modified 15 years ago

#12559 closed submission (fixed)

New port: pandoc (0.42)

Reported by: jgm@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.5.0
Keywords: Cc: jgm@…, ryandesign (Ryan Carsten Schmidt)
Port:

Description

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

Attachments (1)

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

Download all attachments as: .zip

Change History (5)

Changed 17 years ago by jgm@…

Attachment: Portfile added

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

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

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

Resolution: fixed
Status: newclosed

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 15 years ago by jmroot (Joshua Root)

Type: enhancementsubmission

comment:4 Changed 15 years ago by (none)

Milestone: Port Submissions

Milestone Port Submissions deleted

Note: See TracTickets for help on using tickets.