Friday, January 13, 2023

Re: NEW: devel/web

On 2021/10/06 10:14, Kyle Milz wrote:
> Hi,
>
> Being shocked at the magnitude of texlive I have been investigating
> alternatives. I have put together 4 packages that use the Free Pascal
> compiler to give a minimal working TeX system.
>
> This is WEB, a literate programming system for Pascal. All base TeX-ware
> is written in WEB, including WEB itself. We get around this recursive
> dependency by shipping a files/tangleboot.p Pascal source file that,
> when compiled, is capable of creating WEB from its sources.
>
> WEB uses change files (.ch), a primitive diff, to modify .web source
> files to suit the local installation site. Two change files are
> included with this port that let the generated Pascal files compile
> with the Free Pascal compiler.
>
> The literate programming documentation for 'tangle' and 'weave' is
> generated by this port, but we do not have the tools (yet) to create
> the final .dvi files.

Quick comments while I had a few minutes spare -


- We don't use RCS IDs in ports any more:

Makefile: # $OpenBSD: $
pkg/PLIST: @comment $OpenBSD: PLIST,v$


- Either the binaries/manuals need to be renamed, or a conflict registered
in the PLIST (and the reverse conflict in texlive's PLIST):

@conflict texlive_base-*

My preference would be to avoid the conflict by renaming e.g. to web-tangle
so users can compare the two if wanted, and it won't block them from
installing the various software that needs texmf_minimal.


- Needs WANTLIB:

$ make port-lib-depends-check

web-21(lang/web):
Missing: c.96 (/usr/local/bin/weave) (system lib)
WANTLIB += c
*** Error 1 in target 'port-lib-depends-check' (ignored)


- Needs either some kind of test target (if you have some simple command
to run to verify operation it can be added in the port Makefile as
"do-test") or otherwise add NO_TEST=Yes. It would be helpful to add
something if possible as nothing else in ports uses fpc and that would
be a handy sanity check.

No comments:

Post a Comment