Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#18513 closed submission (fixed)

sketch-0.2.141 : new port in category 'tex'

Reported by: godboutn@… Owned by: nerdling (Jeremy Lavergne)
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc:
Port: sketch

Description

Please find below a new Portfile. I stumbled on this little utility that takes generic commands and generates LaTeX commands in several formats (PSTricks, PGF, etc.) that themselves generate figures.

I believe it should be in category 'tex', since it won't really be useful without a working LaTeX system.

Enjoy!

ng.

Attachments (2)

Portfile (1.5 KB) - added by godboutn@… 15 years ago.
patch-Portfile.diff (529 bytes) - added by godboutn@… 15 years ago.
Removes two extraneous xinstall -d ...

Download all attachments as: .zip

Change History (9)

Changed 15 years ago by godboutn@…

Attachment: Portfile added

comment:1 Changed 15 years ago by nerdling (Jeremy Lavergne)

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

Does this require pstricks to be installed? A (la)tex binary? What is the preferred port to install if tex cannot be found? texlive_base?

Also, I think that some of the xinstall lines are done by default (e.g., creating ${prefix}/bin).

Please come reply on the pstricks and tex questions.

comment:2 in reply to:  1 Changed 15 years ago by godboutn@…

Replying to snc@…:

Does this require pstricks to be installed? A (la)tex binary? What is the preferred port to install if tex cannot be found? texlive_base?

From what I know, the package texlive_base is not sufficient to use sketch. port info texlive_base reports that only binaries are installed by that package. I would suggest the port texlive as a dependency, which most certainly contains the PSTricks package. I'm just 99% sure because I use a texlive system installed outside the MacPorts tree. That's why I didn't include texlive unconditionally as a dependency.

While testing the Portfile, I tried

depends_run       bin:latex:texlive

to test for any existing latex distribution. I was not able to make it work properly. I need help for that. Ending up with two huge latex distributions just for installing sketch through MacPorts is not my idea of a good deal.

A MacPorts user can optionally install the package pgf for using some functionalities of sketch. I'm not sure about the MacPorts policy about that. Make it into a variant?

Replying to snc@…:

Also, I think that some of the xinstall lines are done by default (e.g., creating ${prefix}/bin).

Absolutely right. Both ${prefix}/bin and ${prefix}/share/info are already created. Here is a patch file removing two lines from the first Portfile.

Changed 15 years ago by godboutn@…

Attachment: patch-Portfile.diff added

Removes two extraneous xinstall -d ...

comment:3 Changed 15 years ago by nerdling (Jeremy Lavergne)

Yes, creating a variant for pgf is the way to go.

By the way, depends_run bin:latex:texlive works for me.

comment:4 Changed 15 years ago by nerdling (Jeremy Lavergne)

Have you had a chance to create the pdf variant and check into the depends_run again?

comment:5 Changed 15 years ago by nerdling (Jeremy Lavergne)

Resolution: fixed
Status: assignedclosed

Committed in r47928.

comment:6 Changed 15 years ago by jmroot (Joshua Root)

Type: enhancementsubmission

comment:7 Changed 15 years ago by (none)

Milestone: Port Submissions

Milestone Port Submissions deleted

Note: See TracTickets for help on using tickets.