#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)
Change History (9)
Changed 16 years ago by godboutn@…
comment:1 follow-up: 2 Changed 16 years ago by nerdling (Jeremy Lavergne)
Owner: | changed from macports-tickets@… to snc@… |
---|---|
Status: | new → assigned |
comment:2 Changed 16 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 16 years ago by godboutn@…
Attachment: | patch-Portfile.diff added |
---|
Removes two extraneous xinstall -d ...
comment:3 Changed 16 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 16 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 16 years ago by nerdling (Jeremy Lavergne)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Committed in r47928.
comment:6 Changed 16 years ago by jmroot (Joshua Root)
Type: | enhancement → submission |
---|
comment:7 Changed 16 years ago by (none)
Milestone: | Port Submissions |
---|
Milestone Port Submissions deleted
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.