[MacPorts] #18513: sketch-0.2.141 : new port in category 'tex'
#18513: sketch-0.2.141 : new port in category 'tex' -------------------------------+-------------------------------------------- Reporter: godboutn@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.7.0 Keywords: | Port: sketch -------------------------------+-------------------------------------------- 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. -- Ticket URL: <http://trac.macports.org/ticket/18513> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18513: sketch-0.2.141 : new port in category 'tex' -------------------------------+-------------------------------------------- Reporter: godboutn@… | Owner: snc@… Type: enhancement | Status: assigned Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.7.0 Keywords: | Port: sketch -------------------------------+-------------------------------------------- Changes (by snc@…): * owner: macports-tickets@… => snc@… * status: new => assigned Comment: 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. -- Ticket URL: <http://trac.macports.org/ticket/18513#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18513: sketch-0.2.141 : new port in category 'tex' -------------------------------+-------------------------------------------- Reporter: godboutn@… | Owner: snc@… Type: enhancement | Status: assigned Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.7.0 Keywords: | Port: sketch -------------------------------+-------------------------------------------- Comment(by godboutn@…): Replying to [comment:1 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 [comment:1 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. -- Ticket URL: <http://trac.macports.org/ticket/18513#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18513: sketch-0.2.141 : new port in category 'tex' -------------------------------+-------------------------------------------- Reporter: godboutn@… | Owner: snc@… Type: enhancement | Status: assigned Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.7.0 Keywords: | Port: sketch -------------------------------+-------------------------------------------- Comment(by snc@…): Yes, creating a variant for {{{pgf}}} is the way to go. By the way, {{{depends_run bin:latex:texlive}}} works for me. -- Ticket URL: <http://trac.macports.org/ticket/18513#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18513: sketch-0.2.141 : new port in category 'tex' -------------------------------+-------------------------------------------- Reporter: godboutn@… | Owner: snc@… Type: enhancement | Status: assigned Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.7.0 Keywords: | Port: sketch -------------------------------+-------------------------------------------- Comment(by snc@…): Have you had a chance to create the pdf variant and check into the depends_run again? -- Ticket URL: <http://trac.macports.org/ticket/18513#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18513: sketch-0.2.141 : new port in category 'tex' --------------------------------+------------------------------------------- Reporter: godboutn@… | Owner: snc@… Type: enhancement | Status: closed Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.7.0 Resolution: fixed | Keywords: Port: sketch | --------------------------------+------------------------------------------- Changes (by snc@…): * status: assigned => closed * resolution: => fixed Comment: Committed in r47928. -- Ticket URL: <http://trac.macports.org/ticket/18513#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts