Summary: | [NEW PORTS] textproc/lua-ldoc: Lua documentation generator, devel/lua-penlight: lua useful module | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Jonathan Reynolds <jreynolds1729> | ||||||||||||||
Component: | Individual Port(s) | Assignee: | Li-Wen Hsu <lwhsu> | ||||||||||||||
Status: | Open --- | ||||||||||||||||
Severity: | Affects Only Me | CC: | lwhsu | ||||||||||||||
Priority: | --- | Flags: | jreynolds1729:
merge-quarterly?
|
||||||||||||||
Version: | Latest | ||||||||||||||||
Hardware: | Any | ||||||||||||||||
OS: | Any | ||||||||||||||||
URL: | http://github.com/lunarmodules/LDoc/ | ||||||||||||||||
Attachments: |
|
Created attachment 237376 [details]
lua documentation generator
Created shar from $PORTSDIR
Thanks for porting, if possible, please set your name in https://bugs.freebsd.org/bugzilla/userprefs.cgi?tab=account so we can use that in `git commit --author`. (In reply to Li-Wen Hsu from comment #2) Sure. It's done. Created attachment 237526 [details]
modified patch
Thanks, I've modified the patch a little bit to follow the ports standard. One thing I haven't done and not sure if it can be done is: can the two depended modules, Penlight and LuaFileSystem, be split into standalone ports?
Thanks. Yes, they can be split into standalone ports. I don't know what is best, so I decided to pack them into one port. Shall I split them? (In reply to Jonathan Reynolds from comment #5) If it is able to be split, please do so, then they can be reused for other ports. Thanks. Created attachment 237536 [details]
split into standalone ports
Created attachment 237537 [details]
split into standalone ports
Sorry for the mess up.
Successfully built x11-wm/awesome docs
(In reply to Jonathan Reynolds from comment #7) Thanks, just found that we already have devel/luafilesystem (it might need to be rename to devel/lua-luafilesystem) and we can directly use it. After reviewing devel/luafilesystem/Makefile, I've noticed that the keplerproject points to lunarmodules -> https://github.com/keplerproject/luafilesystem I've also noticed that he enables flavors. I choose not to because I wanted the wrapper to be as 'ldoc' and not as 'ldoc{FLAVOR}'. But now penlight is it's own port. Should I make it work with flavors while adding a DOCS option? Created attachment 237829 [details]
Use devel/luafilesystem
devel/lua-penlight:
- add WWW
- use lua:module
- add DOCS option
textproc/lua-ldoc:
- add WWW
- correct RUN_DEPENDS to package lua-penlight>=1.13.1
- moved ldoc.in -> do-install
|
Created attachment 237360 [details] lua documentation generator LDoc is a LuaDoc-compatible documentation generator which can also process C extension source. Markdown may be optionally used to render comments, as well as integrated readme documentation and pretty-printed example files.