#51818: New release of LaTeXML -----------------------------+--------------------------------- Reporter: bruce.miller@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: maintainer haspatch Port: LaTeXML | -----------------------------+--------------------------------- Comment (by mojca@…): Committed in r154083 with some changes: * I added `${destroot}` in front of installation of `${latexml.mactex_texmf}` for installing files * and thus removed the section that tries to delete these files during `post-uninstall`: the files should be gone automatically * note that this might cause an error if you already have the files installed there, but I guess that's acceptable one-time issue that users can take care of by deleting the two files * forgotten `"set"` resulted in {{{ Error: Failed to activate LaTeXML: invalid command name "latexml.found_tex" }}} * I used `xinstall -m 644` instead of "file copy -force". Not sure if that's any better way, but I didn't like the `-force` switch. * I admit that I haven't seen `mktexlsr` being executed during `post-[de]activate`, but maybe that's just me or I wasn't too careful. For the future: `Portfile.4.diff` is in a somewhat weird format (if you used diff, there's a command-line option to get the other format; don't ask me which one). It's probably easiest to do `svn diff` or `git diff`, but then again, but the time you submit the next request we might be using pull requests already :) Despite some people insisting in the diff file I have to agree with you here. Having the original `Portfile` was much more useful that having a convoluted (more or less useless to me) diff. It's usually wise to provide the diff just in case that further changes happen to the files in the meantime, but having the `Portfile` is more important/useful to me in this exceptional case of heavy changes. -- Ticket URL: <https://trac.macports.org/ticket/51818#comment:13> MacPorts <https://www.macports.org/> Ports system for the Mac operating system