Opened 14 years ago
Closed 14 years ago
#25749 closed submission (fixed)
mdocml port submission
Reported by: | alex_a_bordeaux@… | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.1 |
Keywords: | Cc: | kristaps@… | |
Port: | mdocml |
Description
I currently use mldocml (the groff replacement currently used at OpenBSD, NetBSD, etc.) to generate man pages for some project and would love to see it added to macports.
some remarks wrt. the joined files
make install
would normally include man pages forroff
at it is really agroff
-Replacement, but here I only want to installmdocml
in addition to the installed GNUroff
- I am not sure whether
$(PREFIX)/share/examples/mandoc
is the right place for the example css file - I set the
PREFIX
hard in the Makefile by the diff joined to this post; maybe it would be better to use an environment variable
Attachments (3)
Change History (10)
comment:1 follow-up: 4 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
comment:2 follow-up: 3 Changed 14 years ago by kristaps@…
Hi, a friend pushed me to look at this... First, 1.9.x is really old: please use the newest version unless you want bugs (another is coming out in a few days) (NB, I'm mandoc's author). Second, please ask around on the discuss@ list if you have questions, as all the other downstream maintainers and porters (OpenBSD, NetBSD, FreeBSD, etc.) hang out there. Ideally, I like to accomodate as much as I can for downstream people, so please notify us of any changes...
Thanks!
Changed 14 years ago by alex_a_bordeaux@…
Attachment: | Makefile.diff added |
---|
(quick and a little bit dirty makefile hack)
Changed 14 years ago by alex_a_bordeaux@…
Attachment: | Portfile.2 added |
---|
Changed 14 years ago by alex_a_bordeaux@…
comment:3 Changed 14 years ago by alex_a_bordeaux@…
Replying to kristaps@…:
[...] First, 1.9.x is really old: please use the newest version unless you want bugs [...] ask around on the discuss@ list if you have questions, as all the other downstream maintainers and porters (OpenBSD, NetBSD, FreeBSD, etc.) hang out there.
1.9.x is the version of MacPorts not mldoc ;-) the new Portfile uses version 1.10.5 of mldoc...
thanks for your offer, i will certainly take a look at the solution of the other downstream maintainers asap.
comment:4 Changed 14 years ago by alex_a_bordeaux@…
Replying to ryandesign@…:
You should set the prefix to "@PREFIX@" in the patch, [...]
thanks, changed in the new version of the files.
comment:6 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | changed from macports-tickets@… to ryandesign@… |
---|---|
Status: | new → assigned |
Summary: | mdocml port suggestion → mdocml port submission |
comment:7 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Thanks, added in r71227 with these changes:
- reformatted and added modeline
- "use_configure no" instead of "configure {}"
- reused ${homepage} variable in master_sites definition
- renamed patchfile
- ensured we're UsingTheRightCompiler
- added support for universal and non-default-build_arch builds
You should set the prefix to "@PREFIX@" in the patch, then in the post-patch phase, use reinplace to replace that with the current value of the ${prefix} variable. (The user might have MacPorts installed in a different place than /opt/local.)